|
aXSL API 0.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TextArea
An Area containing text.
| Method Summary | |
|---|---|
FontUse |
getPrimaryFont()
The primary font for this Area. |
FontUse |
getSecondaryFont(int codePoint)
The secondary font for this Area. |
char[] |
getText()
Returns the text that should actually be used in the output document. |
boolean |
kern()
Indicates whether any text in this area should be kerned or not. |
int |
letterSpacing()
The letter-spacing for this Area. |
int |
traitFontSize()
The font-size for this Area. |
int |
wordSpacing()
The word-spacing for this text area, that is, the extra size that should be added to the width of the space character. |
| Methods inherited from interface org.axsl.galley.GeneralInlineArea |
|---|
baselineX, baselineY, getLineArea, traitColor, traitOverlineScore, traitOverlineScoreColor, traitThroughScore, traitThroughScoreColor, traitUnderlineScore, traitUnderlineScoreColor |
| 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 |
|---|
char[] getText()
Returns the text that should actually be used in the output document. The text returned has the following changes made to it, if appopriate:
FontUse getPrimaryFont()
FontUse getSecondaryFont(int codePoint)
codePoint - The Unicode code point which should be used to obtain a
secondary font.
This should ordinarily be the next character to be rendered that the
primary font cannot render.
int letterSpacing()
int wordSpacing()
boolean kern()
int traitFontSize()
|
aXSL API 0.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This documentation was created August 8 2007 by The aXSL Group and may be freely copied. See license for details.