|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFontStyle
Represents font style properties for a portion of text.
Method Summary | |
---|---|
int |
getAsianOrComplexFontIndex()
Returns the index of the font used for east asian and complex text in a Fonts collection. |
short |
getEscapement()
Returns superscript or subscript text. |
java.awt.Color |
getFontColor()
Returns the color of a portion. |
short |
getFontColorIndex()
Returns index of color in color scheme or (-1) for scheme-independed color. |
short |
getFontHeight()
Returns the font height of a portion. |
int |
getFontIndex()
Returns the index of the used font in a Fonts collection. |
int |
getSymbolFontIndex()
Returns the index of the font used for special symbols in a Fonts collection. |
boolean |
isFontBold()
Determines whether the font is bold. |
boolean |
isFontEmbossed()
Determines whether the font is embossed. |
boolean |
isFontItalic()
Determines whether the font is italic |
boolean |
isFontShadow()
Determines whether the font has shadow. |
boolean |
isFontUnderline()
Determines whether the font is underlined. |
void |
setAsianOrComplexFontIndex(int value)
Sets the index of the font used for east asian and complex text in a Fonts collection. |
void |
setEscapement(short value)
Sets superscript or subscript text. |
void |
setFontBold(boolean value)
Sets whether the font is bold. |
void |
setFontColor(java.awt.Color value)
Sets the color of a portion. |
void |
setFontColorIndex(short value)
Sets index of color in color scheme or (-1) for scheme-independed color. |
void |
setFontEmbossed(boolean value)
Sets whether the font is embossed. |
void |
setFontHeight(short value)
Sets the font height of a portion. |
void |
setFontIndex(int value)
Sets the index of the used font in a Fonts collection. |
void |
setFontItalic(boolean value)
Sets whether the font is italic. |
void |
setFontShadow(boolean value)
Sets whether the font has shadow. |
void |
setFontUnderline(boolean value)
Sets whether the font is underlined. |
void |
setSymbolFontIndex(int value)
Sets the index of the font used for special symbols in a Fonts collection. |
Method Detail |
---|
boolean isFontBold()
void setFontBold(boolean value)
value
- true to make bold font.boolean isFontItalic()
void setFontItalic(boolean value)
value
- true to make italic font.boolean isFontUnderline()
void setFontUnderline(boolean value)
value
- true to make underlined font.boolean isFontShadow()
void setFontShadow(boolean value)
value
- true to make font with shadow.boolean isFontEmbossed()
void setFontEmbossed(boolean value)
value
- true to make embossed font.short getFontHeight()
void setFontHeight(short value)
value
- new font height.java.awt.Color getFontColor()
void setFontColor(java.awt.Color value)
value
- new color for a portion.short getFontColorIndex()
void setFontColorIndex(short value)
value
- Sets index of color in color scheme.int getFontIndex()
void setFontIndex(int value)
value
- index of the new font.int getSymbolFontIndex()
void setSymbolFontIndex(int value)
value
- index of the new font.int getAsianOrComplexFontIndex()
void setAsianOrComplexFontIndex(int value)
value
- index of the new font.short getEscapement()
void setEscapement(short value)
value
- from (-100%) - subscript to (100%) - superscript.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |