public class CPDFPushButtonAttr extends CPDFWidgetAttr implements IAttributeCallback
| Constructor and Description |
|---|
CPDFPushButtonAttr(java.lang.String moduleName) |
| Modifier and Type | Method and Description |
|---|---|
CPDFWidget.BorderStyle |
getBorderStyle()
Gets the border style of PushButton.
|
java.lang.String |
getButtonTitle()
Gets the content of PushButton form
|
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 PushButton.
|
void |
onstore()
Saves the attribute of PushButton.
|
void |
setBorderStyle(CPDFWidget.BorderStyle borderStyle)
Sets the border style of PushButton.
|
void |
setButtonTitle(java.lang.String buttonTitle)
Sets the content of PushButton form
|
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 CPDFWidget.BorderStyle getBorderStyle()
public void setBorderStyle(CPDFWidget.BorderStyle borderStyle)
borderStyle - Border stylepublic java.lang.String getButtonTitle()
public void setButtonTitle(java.lang.String buttonTitle)
buttonTitle - Content of PushButton form.public 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