|
aXSL API 0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface should be used by classes who wish to present themselves to the line-breaking system as containing text.
Method Summary | |
java.lang.String |
inlineCountry()
Tells the line-breaking system which country to use for purposes of hyphenation and other line-breaking decisions. |
int |
inlineFauxSmallCapsFontSize()
Tells the line-breaking system what font-size should be used on faux small-caps text. |
int |
inlineFontSize()
Tells the line-breaking system the size of the Font that should be used in the character size computations. |
boolean |
inlineHyphenate()
Tells the line-breaking system whether the text can be hyphenated or not. |
int |
inlineHyphenationCharacter()
Tells the line-breaking system what character to use as the hyphen for purposes of hyphenation. |
int |
inlineHyphenationPushCount()
Tells the line-breaking system the minimum number of characters in a hyphenated word after the hyphenation character. |
int |
inlineHyphenationRemainCount()
Tells the line-breaking system the minimum number of characters in a hyphenated word before the hyphenation character. |
boolean |
inlineIsFauxSmallCaps()
Tells the line-breaking system whether faux small-caps should be applied to this text. |
java.lang.String |
inlineLanguage()
Tells the line-breaking system which language to use for purposes of hyphenation and other line-breaking decisions. |
int |
inlineLetterSpacingOptimum()
Tells the line-breaking system the optimum amount of letter-spacing that should be used the line-breaking computations. |
FontUse |
inlinePrimaryFont()
Tells the line-breaking sytem which FontUse instance should be
considered the primary font to use in the text size computations. |
FontUse |
inlineSecondaryFont(char c)
Provides a way to obtain a secondary FontUse instance for
characters that cannot be encoded by the primary font. |
char[] |
inlineText()
Tells the line-breaking system what char array to use as the text for which the line-breaks should be computed. |
boolean |
inlineWrapOption()
Tells the line-breaking system whether the text should wrap to a new line, or whether it should be overflowed. |
LineText |
nextContiguousLineText()
Gives the line-breaking system the next contiguous LineText instance, if any. |
LineText |
previousContiguousLineText()
Gives the line-breaking system the preceding contiguous LineText instance, if any. |
Methods inherited from interface org.axsl.text.line.LineContent |
isLastItemInBlock |
Method Detail |
public char[] inlineText()
public FontUse inlinePrimaryFont()
FontUse
instance should be
considered the primary font to use in the text size computations.
FontUse
instance that should be used in
character size computations for this text.public FontUse inlineSecondaryFont(char c)
FontUse
instance for
characters that cannot be encoded by the primary font.
Note that this method should only be used if the FontUse
returned
by inlinePrimaryFont()
is incapable of encoding c.
c
- The character for which a secondary font is desired.
FontUse
instance possible for c, which can be
used in character size computations for this text.public int inlineFontSize()
public int inlineLetterSpacingOptimum()
public boolean inlineWrapOption()
public boolean inlineHyphenate()
public java.lang.String inlineLanguage()
public java.lang.String inlineCountry()
public int inlineHyphenationRemainCount()
public int inlineHyphenationPushCount()
public int inlineHyphenationCharacter()
public boolean inlineIsFauxSmallCaps()
public int inlineFauxSmallCapsFontSize()
public LineText nextContiguousLineText()
public LineText previousContiguousLineText()
|
aXSL API 0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This documentation was created September 6 2006 by The aXSL Group and may be freely copied. See license for details.