FileDocCategorySizeDatePackage
DecoratedNode.javaAPI DocphoneME MR2 API (J2ME)3087Wed May 02 18:00:36 BST 2007com.sun.perseus.model

DecoratedNode

public interface DecoratedNode
DecoratedNode is the base interface for handling properties with inheritance. For example, the TextNode interface is an extension that defines text decoration properties such as fontFamily, fontSize or fontWeight. By the same token, the GraphicsNode extension defines graphical properties such as the fillColor, the strokeWidth or the strokeColor.
see
com.sun.perseus.model.TextNode
see
com.sun.perseus.model.GraphicsNode
version
$Id: DecoratedNode.java,v 1.4 2006/04/21 06:36:45 st125089 Exp $

Fields Summary
Constructors Summary
Methods Summary
public intgetNumberOfProperties()

return
the number of properties on this node

public booleanisInherited(int propertyIndex)
Check if the property is inherited.

param
propertyIndex the index of the property whose inherit status is checked.
return
true if the input property is inherited. False otherwise

public voidsetFloatInherited(int propertyIndex, boolean inherit)
Sets the input float property's inheritance status

param
propertyIndex the index of the property whose inherit status is set
param
inherit the new inherit status for the property at index propertyIndex.

public voidsetInherited(int propertyIndex, boolean inherit)
Sets the input property's inheritance status

param
propertyIndex the index of the property whose inherit status is set
param
inherit the new inherit status for the property at index propertyIndex.

public voidsetPackedInherited(int propertyIndex, boolean inherit)
Sets the input packed property's inheritance status

param
propertyIndex the index of the property whose inherit status is set
param
inherit the new inherit status for the property at index propertyIndex.