SourceForge.net Logo
aXSL API 0.2

org.axsl.galley
Interface GeneralInlineArea

All Superinterfaces:
Area, AreaNode, java.lang.Iterable<AreaNode>, javax.swing.tree.TreeNode
All Known Subinterfaces:
ExternalGraphicArea, ForeignObjectArea, InlineArea, LeaderArea, TextArea

public interface GeneralInlineArea
extends Area

Super-interface for all inline areas.


Method Summary
 int baselineX()
          The absolute X position of the alignment point at which the cursor should be positioned before writing this item in the output.
 int baselineY()
          The absolute Y position of the alignment point at which the cursor should be positioned before writing this item in the output.
 LineArea getLineArea()
          Return the parent LineArea instance.
 java.awt.Color traitColor()
          Returns the color of this node.
 boolean traitOverlineScore()
          The "overline-score" trait.
 java.awt.Color traitOverlineScoreColor()
          The "overline-score-color" trait.
 boolean traitThroughScore()
          The "through-score" trait.
 java.awt.Color traitThroughScoreColor()
          The "through-score-color" trait.
 boolean traitUnderlineScore()
          The "underline-score" trait.
 java.awt.Color traitUnderlineScoreColor()
          The "underline-score-color" trait.
 
Methods inherited from interface org.axsl.galley.Area
brBpd, brIpd, brOriginX, brOriginY, crBpd, crIpd, crOriginX, crOriginY, destinationName, generatedByExists, generatedByName, isLinkRoot, linkDestination, linkType, traitId
 
Methods inherited from interface org.axsl.galley.AreaNode
getAreaName, getChildAt, getGalley, render
 
Methods inherited from interface javax.swing.tree.TreeNode
children, getAllowsChildren, getChildCount, getIndex, getParent, isLeaf
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

baselineX

int baselineX()
The absolute X position of the alignment point at which the cursor should be positioned before writing this item in the output. Specifically, the alignment points for all text glyphs and other areas should lie on a line which 1) passes through the alignment point, and 2) is parallel to the before edge of the area being written.

Returns:
The absolute X position for the cursor.

baselineY

int baselineY()
The absolute Y position of the alignment point at which the cursor should be positioned before writing this item in the output. Specifically, the alignment points for all text glyphs and other areas should lie on a line which 1) passes through the alignment point, and 2) is parallel to the before edge of the area being written.

Returns:
The absolute X position for the cursor.

traitUnderlineScore

boolean traitUnderlineScore()
The "underline-score" trait.

Returns:
True iff this item should be underlined.

traitOverlineScore

boolean traitOverlineScore()
The "overline-score" trait.

Returns:
True iff this item should be overlined.

traitThroughScore

boolean traitThroughScore()
The "through-score" trait.

Returns:
True iff this item should be through-scored (strikeout).

traitUnderlineScoreColor

java.awt.Color traitUnderlineScoreColor()
The "underline-score-color" trait.

Returns:
The color of the underline-score.

traitOverlineScoreColor

java.awt.Color traitOverlineScoreColor()
The "overline-score-color" trait.

Returns:
The color of the overline-score.

traitThroughScoreColor

java.awt.Color traitThroughScoreColor()
The "through-score-color" trait.

Returns:
The color of the through-score.

getLineArea

LineArea getLineArea()
Return the parent LineArea instance.

Returns:
The LineArea.

traitColor

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

Returns:
The color of this node.

SourceForge.net Logo
aXSL API 0.2

This documentation was created August 8 2007 by The aXSL Group and may be freely copied. See license for details.