| com.sun.perseus.model.TextNode
All known Subclasses: com.sun.perseus.model.StructureNode,
TextNode | public interface TextNode extends DecoratedNode,TextProperties(Code) | | TextNode is the interface that all ModelNode
(see
com.sun.perseus.model.ModelNode ModelNode ) which support the
definition of text properties (such as text-anchor or font-size) implement.
IMPORTANT NOTE: setting a property automatically sets the inherited flag
to false.
See Also: ModelNode version: $Id: TextNode.java,v 1.3 2006/04/21 06:39:12 st125089 Exp $ |
DEFAULT_INHERITANCE | int DEFAULT_INHERITANCE(Code) | | Default inheritance settings (from right to left) (Y=Yes, N=No):
- Y font-family
- Y font-size
- Y font-style
- Y font-weight
- Y text-anchor
The value is shifted by 2 bytes to the left so that it
can be combined with GraphicsNode.DEFAULT_INHERITANCE
|
FONT_WEIGHT_BOLDER | int FONT_WEIGHT_BOLDER(Code) | | See the CSS 2 specification of a definition of bolder
|
FONT_WEIGHT_LIGHTER | int FONT_WEIGHT_LIGHTER(Code) | | See the CSS 2 specification for a definition of lighter
|
NUMBER_OF_PROPERTIES | int NUMBER_OF_PROPERTIES(Code) | | Number of properties in a TextNode
|
PROPERTY_FONT_FAMILY | int PROPERTY_FONT_FAMILY(Code) | | Controls the font's family
|
PROPERTY_FONT_SIZE | int PROPERTY_FONT_SIZE(Code) | | Controls the font's height
|
PROPERTY_FONT_STYLE | int PROPERTY_FONT_STYLE(Code) | | Controls the font's slant style, oblique or plain
|
PROPERTY_FONT_WEIGHT | int PROPERTY_FONT_WEIGHT(Code) | | Controls the font's boldness
|
PROPERTY_TEXT_ANCHOR | int PROPERTY_TEXT_ANCHOR(Code) | | Controls how text is laid out about the anchor point
|
|
|