public class CPDFWidgetAttr
extends java.lang.Object
Constructor and Description |
---|
CPDFWidgetAttr(java.lang.String moduleName,
java.lang.String type) |
Modifier and Type | Method and Description |
---|---|
int |
getBorderColor()
Gets the border color of widget, color range 0x00000000-0xFFFFFFFF
|
float |
getBorderWidth()
Gets the border width of widget
|
java.lang.String |
getFieldName()
Get field name of widget.
|
int |
getFillColor()
Gets the background color of widget, color range 0x00000000-0xFFFFFFFF
|
void |
setAttributeDataFetcher(IAttributeDataFether attributeDataFetcher)
Sets the helper of getting attribute, this method does not need to be called by user, instead it is set by
CPDFReaderAttribute.setAttributeDataFetcher(IAttributeDataFether) . |
void |
setBorderColor(int borderColor)
Sets the border color of widget, color range 0x00000000-0xFFFFFFFF
|
void |
setBorderWidth(float borderWidth)
Sets the border width of widget
|
void |
setFillColor(int fillColor)
Sets the background color of widget, color range 0x00000000-0xFFFFFFFF
|
void |
setiAttributeUpdateCallback(IAttributeUpdateCallback iAttributeUpdateCallback)
Set callback of attribute update.
|
public CPDFWidgetAttr(java.lang.String moduleName, java.lang.String type)
public void setAttributeDataFetcher(IAttributeDataFether attributeDataFetcher)
CPDFReaderAttribute.setAttributeDataFetcher(IAttributeDataFether)
.attributeDataFetcher
- Helper of getting attribute.public int getFillColor()
public void setFillColor(int fillColor)
fillColor
- Background colorpublic int getBorderColor()
public void setBorderColor(int borderColor)
borderColor
- Border colorpublic float getBorderWidth()
public void setBorderWidth(float borderWidth)
borderWidth
- Border widthpublic java.lang.String getFieldName()
public void setiAttributeUpdateCallback(IAttributeUpdateCallback iAttributeUpdateCallback)
iAttributeUpdateCallback
- Callback.