public class CPDFListboxAttr extends CPDFWidgetAttr implements IAttributeCallback
The attribute was used when creating ListBox.
Constructor and Description |
---|
CPDFListboxAttr(java.lang.String moduleName) |
Modifier and Type | Method and Description |
---|---|
int |
getFontColor()
Gets the font color of widget, color range 0x00000000-0xFFFFFFFF
|
java.lang.String |
getFontName()
Gets the font of widget, more:
CPDFTextAttribute.FontNameHelper |
float |
getFontSize()
Gets font size.
|
void |
onload()
Loads the attribute of ListBox.
|
void |
onstore()
Saves the attribute of ListBox.
|
void |
setFontColor(int fontColor)
Sets the font color of widget, color range 0x00000000-0xFFFFFFFF
|
void |
setFontName(java.lang.String fontName)
Sets the font of widget,more:
CPDFTextAttribute.FontNameHelper |
void |
setFontSize(float fontSize)
Sets font size.
|
getBorderColor, getBorderWidth, getFieldName, getFillColor, setAttributeDataFetcher, setBorderColor, setBorderWidth, setFillColor, setiAttributeUpdateCallback
public java.lang.String getFontName()
CPDFWidgetAttr
CPDFTextAttribute.FontNameHelper
public void setFontName(java.lang.String fontName)
CPDFWidgetAttr
CPDFTextAttribute.FontNameHelper
fontName
- Font name, more: CPDFTextAttribute.FontNameHelper
public float getFontSize()
CPDFWidgetAttr
public void setFontSize(float fontSize)
CPDFWidgetAttr
fontSize
- Font size.public int getFontColor()
CPDFWidgetAttr
public void setFontColor(int fontColor)
CPDFWidgetAttr
fontColor
- Font colorpublic void onload()
onload
in interface IAttributeCallback
public void onstore()
onstore
in interface IAttributeCallback