|
PDF Clown 0.0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object it.stefanochizzolini.clown.objects.PdfObjectWrapper<PdfDictionary> it.stefanochizzolini.clown.documents.interaction.forms.Field it.stefanochizzolini.clown.documents.interaction.forms.TextField
public class TextField
Text field [PDF:1.6:8.6.3].
Nested Class Summary |
---|
Nested classes/interfaces inherited from class it.stefanochizzolini.clown.documents.interaction.forms.Field |
---|
Field.FlagsEnum |
Constructor Summary | |
---|---|
TextField(PdfDirectObject baseObject)
|
|
TextField(String name,
Widget widget,
String value)
Creates a new text field within the given document context. |
Method Summary | |
---|---|
TextField |
clone(Document context)
Gets a clone of the object, registered inside the given document context. |
int |
getMaxLength()
Gets the maximum length of the field's text, in characters. |
boolean |
isMultiline()
Gets whether the field can contain multiple lines of text. |
boolean |
isPassword()
Gets whether the field is intended for entering a secure password. |
boolean |
isSpellChecked()
Gets whether text entered in the field is spell-checked. |
void |
setMaxLength(int value)
|
void |
setMultiline(boolean value)
|
void |
setPassword(boolean value)
|
void |
setSpellChecked(boolean value)
|
void |
setValue(Object value)
|
Methods inherited from class it.stefanochizzolini.clown.documents.interaction.forms.Field |
---|
getActions, getDefaultValue, getFlags, getFullName, getInheritableAttribute, getName, getValue, getWidget, getWidgets, isExportable, isReadOnly, isRequired, setActions, setExportable, setFlags, setName, setReadOnly, setRequired, wrap |
Methods inherited from class it.stefanochizzolini.clown.objects.PdfObjectWrapper |
---|
delete, getBaseDataObject, getBaseObject, getContainer, getDocument, getFile, setBaseObject, setContainer, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextField(String name, Widget widget, String value)
public TextField(PdfDirectObject baseObject)
Method Detail |
---|
public TextField clone(Document context)
PdfObjectWrapper
clone
in class Field
context
- Which document the clone has to be registered in.public int getMaxLength()
public boolean isMultiline()
public boolean isPassword()
public boolean isSpellChecked()
public void setMaxLength(int value)
getMaxLength()
public void setMultiline(boolean value)
isMultiline()
public void setPassword(boolean value)
isPassword()
public void setSpellChecked(boolean value)
isSpellChecked()
public void setValue(Object value)
setValue
in class Field
Field.getValue()
|
PDF Clown 0.0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |