public class TextBoxField extends Field
Class representing text box field.
_FileSelect, _Password
_disableUpdateAppearance
Constructor and Description |
---|
TextBoxField()
Create instance of TextBoxField.
|
TextBoxField(Page page,
Rectangle rect)
Constructor of TextBox field.
|
Modifier and Type | Method and Description |
---|---|
void |
addBarcode(String code)
Adds barcode 128 into the field.
|
void |
addImage(BufferedImage image)
Adds image into the field resources an draws it.
|
boolean |
getForceCombs()
Gets flag which indicates is field divided into spaced positions.
|
int |
getMaxLen()
Gets maximum length of text in the field.
|
boolean |
getMultiline()
Gets multiline flag of the field.
|
boolean |
getScrollable()
Gets scrollable flag of field.
|
boolean |
getSpellCheck()
Gets spellcheck flag for field.
|
String |
getValue()
Gets value of the field.
|
void |
setForceCombs(boolean value)
Sets flag which indicates is field divided into spaced positions.
|
void |
setJustification(boolean value) |
void |
setMaxLen(int value)
Sets maximum length of text in the field.
|
void |
setMultiline(boolean value)
Sets multiline flag of the field.
|
void |
setScrollable(boolean value)
Sets scrollable flag of field.
|
void |
setSpellCheck(boolean value)
Sets spellcheck flag for field.
|
void |
setValue(String value)
Sets value of the field.
|
copyTo, flatten, get_Item, get_Item, getAlternateName, getAnnotationIndex, getFitIntoRectangle, getMappingName, getPageIndex, getPartialName, getRect, getSyncRoot, isGroup, isSharedField, isSynchronized, iterator, recalculate, setAlternateName, setAnnotationIndex, setFieldImage, setFitIntoRectangle, setMappingName, setPartialName, setPosition, setRect, setSharedField, size, updateAppearances
accept, getActions, getDefaultAppearance, getExportable, getHighlighting, getOnActivated, getParent, getReadOnly, getRequired, setDefaultAppearance, setExportable, setHighlighting, setOnActivated, setReadOnly, setRequired
getActiveState, getAlignment, getAppearance, getBorder, getCharacteristics, getColor, getContents, getEngineDict, getEngineObj, getFlags, getFullName, getHeight, getHorizontalAlignment_Annotation_New, getModified, getModifiedInternal, getName, getNormalAppearance, getPage, getPageIndex, getStates, getUseFontSubset, getWidth, initialize, setActiveState, setAlignment, setBorder, setColor_Rename_Namesake, setColor, setContents, setFlags, setHeight, setHorizontalAlignment_Annotation_New, setModified, setModifiedInternal, setName, setUseFontSubset, setWidth
getHorizontalAlignment, getMargin, isInNewPage, isKeptWithNext, setHorizontalAlignment, setInNewPage, setKeptWithNext, setMargin, setVerticalAlignment
public boolean getMultiline()
Gets multiline flag of the field. If Multiline is true field can contain multiple lines of text.
public void setMultiline(boolean value)
Sets multiline flag of the field. If Multiline is true field can contain multiple lines of text.
public boolean getSpellCheck()
Gets spellcheck flag for field. If true field shall be spell checked.
public void setSpellCheck(boolean value)
Sets spellcheck flag for field. If true field shall be spell checked.
public boolean getScrollable()
Gets scrollable flag of field. If true field can be scrolled.
public void setScrollable(boolean value)
Sets scrollable flag of field. If true field can be scrolled.
public boolean getForceCombs()
Gets flag which indicates is field divided into spaced positions.
public void setForceCombs(boolean value)
Sets flag which indicates is field divided into spaced positions.
public int getMaxLen()
Gets maximum length of text in the field.
public void setMaxLen(int value)
Sets maximum length of text in the field.
public void setValue(String value)
Sets value of the field.
public void addImage(BufferedImage image)
Adds image into the field resources an draws it.
image
- Image to add into text field.public void addBarcode(String code)
Adds barcode 128 into the field. Field value will be changed onto the code and field become read only.
code
- The text to generate barcode 128.public void setJustification(boolean value)
Copyright © 2014 Aspose. All Rights Reserved.