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, setiAttributeUpdateCallbackpublic java.lang.String getFontName()
CPDFWidgetAttrCPDFTextAttribute.FontNameHelperpublic void setFontName(java.lang.String fontName)
CPDFWidgetAttrCPDFTextAttribute.FontNameHelperfontName - Font name, more: CPDFTextAttribute.FontNameHelperpublic float getFontSize()
CPDFWidgetAttrpublic void setFontSize(float fontSize)
CPDFWidgetAttrfontSize - Font size.public int getFontColor()
CPDFWidgetAttrpublic void setFontColor(int fontColor)
CPDFWidgetAttrfontColor - Font colorpublic void onload()
onload in interface IAttributeCallbackpublic void onstore()
onstore in interface IAttributeCallback