public class DateField extends TextBoxField
Date field with calendar view.
DateField dateField = new DateField(page, rect); doc.getForm().add(dateField); dateField.init(page);
TextBoxField_FileSelect, _Password| Constructor and Description |
|---|
DateField()
Initializes a new instance of the
DateField |
DateField(Document doc)
Constructor which should be used with Generator.
|
DateField(Document doc,
Rectangle rect)
Initializes a new instance of the
DateField |
DateField(Page page,
Rectangle rect)
Initializes a new instance of the
DateField |
| Modifier and Type | Method and Description |
|---|---|
void |
addImage_DateField_New(BufferedImage image)
Image adding denied for this field.
|
String |
getDateFormat()
Gets or sets the date format.
|
Date |
getValue_DateField_New()
Gets or sets Date.
|
void |
init(Page page)
Initializes the JS Action.
|
void |
setDateFormat(String value)
Gets or sets the date format.
|
void |
setValue_DateField_New(Date value)
Gets or sets Date.
|
addBarcode, addImage, getForceCombs, getMaxLen, getMultiline, getScrollable, getSpellCheck, getTextVerticalAlignment, getValue, setForceCombs, setJustification, setMaxLen, setMultiline, setScrollable, setSpellCheck, setTextVerticalAlignment, setValueadd, 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, updateAppearancesaccept, getAnnotationActions, getAnnotationType, getCheckedStateName, getDefaultAppearance, getExportable, getHighlighting, getOnActivated, getParent, getReadOnly, getRequired, setDefaultAppearance, setExportable, setHighlighting, setOnActivated, setReadOnly, setRequiredchangeAfterResize, 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, setWidthdeepClone, getHorizontalAlignment, getHyperlink, getMargin, getVerticalAlignment, getZIndex, isFirstParagraphInColumn, isInLineParagraph, isInNewPage, isKeptWithNext, setFirstParagraphInColumn, setHorizontalAlignment, setHyperlink, setInLineParagraph, setInNewPage, setKeptWithNext, setMargin, setVerticalAlignment, setZIndexequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic DateField()
Initializes a new instance of the DateField
public DateField(Document doc)
Constructor which should be used with Generator.
doc - Document where field will be created.public DateField(Page page, Rectangle rect)
Initializes a new instance of the DateField
page - Page needed for create.rect - Rectangle where the text field will be placed on the page.public final Date getValue_DateField_New()
Gets or sets Date.
public final void setValue_DateField_New(Date value)
Gets or sets Date.
value - java.util.Date instancepublic final String getDateFormat()
Gets or sets the date format.
Value: The date format. Default dd/MM/yyyypublic final void setDateFormat(String value)
Gets or sets the date format.
Value: The date format. Default dd/MM/yyyyvalue - String valuepublic final void init(Page page)
Initializes the JS Action.
page - The page.public final void addImage_DateField_New(BufferedImage image) throws com.aspose.ms.System.InvalidOperationException
Image adding denied for this field.
image - The image.com.aspose.ms.System.InvalidOperationException - not implemented yetCopyright © 2025 Aspose. All Rights Reserved.