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, setiAttributeUpdateCallback
public 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()
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