|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFontStyle
The interface for text portions with font style properties.
Method Summary | |
---|---|
int |
getAnsiFontIndex()
Returns the index of a font used for ANSI text in a Fonts collection. |
int |
getAsianOrComplexFontIndex()
Returns the index of a 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 the index of a color in a color scheme or (-1) for a scheme-independent color. |
short |
getFontHeight()
Returns the font height. |
int |
getFontIndex()
Returns the index of a font in a Fonts collection. |
int |
getSymbolFontIndex()
Returns the index of a 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 |
setAnsiFontIndex(int value)
Sets the index of a font used for ANSI text in a Fonts collection. |
void |
setAsianOrComplexFontIndex(int value)
Sets the index of a 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 the index of a color in a color scheme or (-1) for a scheme-independent 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 a 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 a 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
- new index of a color in a color scheme.int getFontIndex()
void setFontIndex(int value)
value
- index of a new font.int getSymbolFontIndex()
void setSymbolFontIndex(int value)
value
- index of a new font.int getAsianOrComplexFontIndex()
void setAsianOrComplexFontIndex(int value)
value
- index of a new font.int getAnsiFontIndex()
void setAnsiFontIndex(int value)
value
- index of a 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 |