public class NumberField extends TextBoxField
Text Field with specified valid chars
TextBoxField
_FileSelect, _Password
Constructor and Description |
---|
NumberField()
Initializes a new instance of the
NumberField class. |
NumberField(Document doc,
Rectangle rect)
Initializes a new instance of the
NumberField class. |
NumberField(Page page,
Rectangle rect)
Initializes a new instance of the
NumberField class. |
Modifier and Type | Method and Description |
---|---|
String |
getAllowedChars()
Gets or sets the allowed chars.
|
void |
setAllowedChars(String value)
Gets or sets the allowed chars.
|
addBarcode, addImage, getForceCombs, getMaxLen, getMultiline, getScrollable, getSpellCheck, getTextVerticalAlignment, getValue, setForceCombs, setJustification, setMaxLen, setMultiline, setScrollable, setSpellCheck, setTextVerticalAlignment, setValue
add, clear, contains, copyTo_Rename_Namesake, copyTo, copyTo, executeFieldJavaScript, flatten, get_Item, get_Item, getAlternateName, getAnnotationIndex, getMappingName, getMaxFontSize, getMinFontSize, getPageIndex, getPartialName, getRect, getSyncRoot, getTabOrder, isFitIntoRectangle, isGroup, isReadOnly, isSharedField, isSynchronized, iterator, recalculate, remove, setAlternateName, setAnnotationIndex, setFitIntoRectangle, setMappingName, setMaxFontSize, setMinFontSize, setPartialName, setPosition, setRect, setSharedField, setTabOrder, size, updateAppearances
accept, getAnnotationActions, getAnnotationType, getCheckedStateName, getDefaultAppearance, getExportable, getHighlighting, getOnActivated, getParent, getReadOnly, getRequired, setDefaultAppearance, setExportable, setHighlighting, setOnActivated, setReadOnly, setRequired
changeAfterResize, createAnnotation, getActiveState, getAlignment, getAppearance, getBorder, getCharacteristics, getColor, getContents, getEngineDict, getEngineObj, getFlags, getFullName, getHeight, getHorizontalAlignment_Annotation_New, getModified, getModifiedInternal, getName, getNormalAppearance, getPage, getPageIndex, getPdfActions, getRectangle, getStates, getTextHorizontalAlignment, getWidth, initialize, isUpdateAppearanceOnConvert, isUseFontSubset, setActiveState, setAlignment, setBorder, setColor, setContents, setFlags, setHeight, setHorizontalAlignment_Annotation_New, setModified, setModifiedInternal, setName, setTextHorizontalAlignment, setUpdateAppearanceOnConvert, setUseFontSubset, setWidth
deepClone, getHorizontalAlignment, getHyperlink, getMargin, getVerticalAlignment, getZIndex, isFirstParagraphInColumn, isInLineParagraph, isInNewPage, isKeptWithNext, setFirstParagraphInColumn, setHorizontalAlignment, setHyperlink, setInLineParagraph, setInNewPage, setKeptWithNext, setMargin, setVerticalAlignment, setZIndex
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public NumberField()
Initializes a new instance of the NumberField
class.
public NumberField(Page page, Rectangle rect)
Initializes a new instance of the NumberField
class.
page
- Page where text field is placed.rect
- Rectangle where the field will be placed on the page.public final String getAllowedChars()
Gets or sets the allowed chars.
Value: The allowed chars string. 0123456789 by defaultpublic final void setAllowedChars(String value)
Gets or sets the allowed chars.
Value: The allowed chars string. 0123456789 by defaultvalue
- String valueCopyright © 2024 Aspose. All Rights Reserved.