public class FontDetail extends BaseManager
RecordField.getFont()
,
RecordField.getFont()
BaseManager.PackEntryChangeListener, BaseManager.RegistryEntry
Modifier and Type | Field and Description |
---|---|
static int |
FONT_STYLE_OPTION_BOLD |
static int |
FONT_STYLE_OPTION_ITALIC |
static int |
FONT_STYLE_OPTION_NORMAL |
static int |
FONT_STYLE_OPTION_UNDERLINE |
TYPE_EJP, TYPE_NATIVE
Modifier and Type | Method and Description |
---|---|
int |
getColor()
Returns the RGB value representing the font color in the default sRGB
ColorModel . |
java.lang.String |
getName()
Returns the name of the font.
|
int |
getSize()
Returns the font size.
|
int |
getStyle()
Returns the style information for the font.
|
void |
setColor(int color)
Sets the font color as RGB value representing the color.
|
void |
setName(java.lang.String value)
Sets the name of the font.
|
void |
setSize(int value)
Sets the font size.
|
void |
setStyle(int value)
Sets the style information for the font.
|
addChangeListener, addChangeListener, addGlobalChangeListener, addPackListener, forgetPush, getPack, isShared, popPack, pushPack, removeChangeListener, removeChangeListener, removeGlobalChangeListener, removePackListener, save, save, toString, writeAsXML
public static final int FONT_STYLE_OPTION_NORMAL
public static final int FONT_STYLE_OPTION_BOLD
public static final int FONT_STYLE_OPTION_ITALIC
public static final int FONT_STYLE_OPTION_UNDERLINE
public java.lang.String getName()
public void setName(java.lang.String value)
value
- font namepublic int getSize()
public void setSize(int value)
value
- new font sizepublic int getStyle()
public void setStyle(int value)
value
- font stylepublic int getColor()
ColorModel
. (Bits 24-31 are alpha, 16-23 are red, 8-15 are
green, 0-7 are blue).ColorModel
.public void setColor(int color)
color
- the combined RGB componentswww.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.