public interface FormField
FormField
is the abstract class that is being extended by all fields such as CheckBoxField
, ChoiceField
, ComboField
,
PushButtonField
, RadioButtonGroupField
, SignatureField
and TextField
.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAltFieldName()
Returns the alternate field name for this field.
|
java.lang.String |
getFieldName()
Returns the name of this field.
|
java.lang.String |
getFieldTypeDesc()
Returns a description of the field type.
|
java.lang.String |
getFullFieldName()
Returns the full name of the fields.
|
java.util.Vector |
getKids()
Gets a list of fields from the kids array.
|
java.lang.String |
getMapFieldName()
Returns this field's mapping name.
|
TriggerActions |
getTriggerActions()
Gets the TriggerActions associated with the field.
|
java.lang.String |
getUserName()
Gets this field's user name.
|
java.util.Vector |
getWidgets()
Gets a list of any widgets associated with this field.
|
boolean |
isEmpty()
Returns true if the field is not filled.
|
boolean |
isNoExport()
Returns the value of the 'No Export' flag.
|
boolean |
isReadOnly()
Returns the value of the 'Read Only' flag.
|
boolean |
isRequired()
Returns the value of the 'Required' flag.
|
void |
reset()
Resets the field to its default value.
|
void |
setAltFieldName(java.lang.String altFieldName)
Sets the alternate field name.
|
void |
setFieldFlags(int fieldFlags)
Sets the field flags.
|
void |
setFieldName(java.lang.String fieldName)
Sets the field name.
|
void |
setHidden(boolean hidden)
Sets the HIDDEN flag.
|
void |
setMapFieldName(java.lang.String mapName)
Sets this field's mapping name.
|
void |
setNoExport(boolean noExport)
Sets the 'No Export' flag.
|
void |
setPrintable(boolean printable)
Sets the PRINTABLE flag for this field.
|
void |
setReadOnly(boolean readOnly)
Sets the value of the 'Read Only' flag.
|
void |
setRequired(boolean required)
Sets the value of the 'Required' flag.
|
void |
setTriggerActions(TriggerActions triggerActions)
Sets the TriggerActions for this field.
|
void |
setUserName(java.lang.String userName)
Sets this field's user name.
|
java.lang.String getAltFieldName()
java.lang.String getFieldName()
java.lang.String getFieldTypeDesc()
CheckBoxField
"ComboBox" for ComboBoxField
"List" for ListField
"PushButton" for PushButtonField
"RadioButtonGroup" for RadioButtonGroupField
"Signature" for SignatureField
"TextField" for TextField
java.lang.String getFullFieldName()
java.lang.String getMapFieldName()
java.lang.String getUserName()
boolean isNoExport()
boolean isReadOnly()
boolean isRequired()
void reset() throws PDFException
PDFException
void setAltFieldName(java.lang.String altFieldName)
altFieldName
- The new alternate field name.void setFieldFlags(int fieldFlags)
fieldFlags
- The new value for the flags.void setFieldName(java.lang.String fieldName)
fieldName
- The new field name.void setMapFieldName(java.lang.String mapName)
mapName
- The new mapping name.void setNoExport(boolean noExport)
noExport
- The new value of the 'No Export' flag.void setReadOnly(boolean readOnly)
readOnly
- The new value of the 'Read Only' flag.void setRequired(boolean required)
required
- The new value of the 'Required' flag.void setUserName(java.lang.String userName)
userName
- The new user name.void setPrintable(boolean printable)
printable
- the new invisible setting.void setHidden(boolean hidden)
hidden
- the new hidden setting. True to hide, false to show the field.java.util.Vector getWidgets()
boolean isEmpty()
java.util.Vector getKids()
TriggerActions getTriggerActions()
void setTriggerActions(TriggerActions triggerActions)