SourceForge.net Logo
aXSL API 0.1

org.axsl.areaR
Interface AreaNode

All Known Subinterfaces:
Area, AreaTree, BackgroundArea, BasicLinkArea, BeforeFloatArea, BlockContainerArea, BookmarkArea, BookmarkTitleArea, BookmarkTreeArea, ExternalGraphicArea, FootnoteArea, ForeignObjectArea, GeneralInlineArea, GraphicArea, InlineArea, LeaderArea, LineArea, ListBlockArea, MainReferenceArea, NormalBlockArea, NormalFlowArea, PageArea, PageCollection, PageNumberArea, PageNumberCitationArea, RegionArea, RegionBodyArea, SpanArea, SVGArea, TableArea, TableCellArea, TextArea

public interface AreaNode

Super-interface for all nodes in the Area Tree.


Method Summary
 LineArea ancestorLineAreaOut()
          Returns the ancestor LineArea, if any.
 java.lang.String getAreaName()
          Provides a name suitable for display purposes, but specifically intended to be match the axsl-area-tree DTD.
 java.util.List getChildren()
          Returns the children of this node.
 FontConsumer getFontConsumer()
          Returns the FontConsumer instance for this AreaTree.
 AreaNode getParentOut()
          Returns the parent node.
 void render(RenderVisitor visitor)
          Uses the Visitor pattern to allow a Renderer to render this node with proper casting.
 java.awt.Color traitColor()
          Returns the color of this node.
 short traitFontStyle()
          Returns the font style for this node.
 short traitFontWeight()
          Numerical value indicating the relative boldness of the font-family typeface that should be used.
 java.lang.String traitId()
          Returns the id of this node.
 java.lang.String traitInternalDestination()
          Returns the internal-destination, if any, that is attached to this node.
 

Method Detail

getParentOut

public AreaNode getParentOut()
Returns the parent node.

Returns:
The parent node.

getChildren

public java.util.List getChildren()
Returns the children of this node.

Returns:
The children of this node.

getFontConsumer

public FontConsumer getFontConsumer()
Returns the FontConsumer instance for this AreaTree.

Returns:
The FontConsumer instance.

traitInternalDestination

public java.lang.String traitInternalDestination()
Returns the internal-destination, if any, that is attached to this node.

Returns:
The internal-destination, or null if there is none.

traitId

public java.lang.String traitId()
Returns the id of this node.

Returns:
The id of this node.

traitColor

public java.awt.Color traitColor()
Returns the color of this node.

Returns:
The color of this node.

traitFontWeight

public short traitFontWeight()
Numerical value indicating the relative boldness of the font-family typeface that should be used.

Returns:
One of 100 (lightest), 200, 300, 400 (normal), 500, 600, 700 (bold), 800, or 900 (boldest).

traitFontStyle

public short traitFontStyle()
Returns the font style for this node.

Returns:
The font style, one of Font.FONT_STYLE_NORMAL, Font.FONT_STYLE_ITALIC, Font.FONT_STYLE_OBLIQUE, or Font.FONT_STYLE_BACKSLANT.

getAreaName

public java.lang.String getAreaName()
Provides a name suitable for display purposes, but specifically intended to be match the axsl-area-tree DTD.

Returns:
The name of this node, as it is provided in the axsl-area-tree DTD.

ancestorLineAreaOut

public LineArea ancestorLineAreaOut()
Returns the ancestor LineArea, if any.

Returns:
The ancestor LineArea, or null if there is none.

render

public void render(RenderVisitor visitor)
Uses the Visitor pattern to allow a Renderer to render this node with proper casting.

Parameters:
visitor - The RenderVisitor that is rendering this node.

SourceForge.net Logo
aXSL API 0.1

This documentation was created September 6 2006 by The aXSL Group and may be freely copied. See license for details.