| com.sun.perseus.model.DecoratedNode
DecoratedNode | public interface DecoratedNode (Code) | | 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 Also: com.sun.perseus.model.TextNode See Also: com.sun.perseus.model.GraphicsNode version: $Id: DecoratedNode.java,v 1.4 2006/04/21 06:36:45 st125089 Exp $ |
getNumberOfProperties | int getNumberOfProperties()(Code) | | the number of properties on this node |
isInherited | boolean isInherited(int propertyIndex)(Code) | | Check if the property is inherited.
Parameters: propertyIndex - the index of the property whose inherit status is checked. true if the input property is inherited. Falseotherwise |
setFloatInherited | void setFloatInherited(int propertyIndex, boolean inherit)(Code) | | Sets the input float property's inheritance status
Parameters: propertyIndex - the index of the property whose inheritstatus is set Parameters: inherit - the new inherit status for the property atindex propertyIndex. |
setInherited | void setInherited(int propertyIndex, boolean inherit)(Code) | | Sets the input property's inheritance status
Parameters: propertyIndex - the index of the property whose inheritstatus is set Parameters: inherit - the new inherit status for the property atindex propertyIndex. |
setPackedInherited | void setPackedInherited(int propertyIndex, boolean inherit)(Code) | | Sets the input packed property's inheritance status
Parameters: propertyIndex - the index of the property whose inheritstatus is set Parameters: inherit - the new inherit status for the property atindex propertyIndex. |
|
|