|
FoxitPDFSDKforWeb v11.0.4
Foxit PDF SDK for Web
|
An abstract class for implementing a date and time picker component. . More...
Public Member Functions | |
| abstract void | close () |
| Closes the date and time picker. More... | |
| constructor (pdfViewer, format) | |
| abstract boolean | containsElement (element) |
| Checks if a given HTML element is part of the date and time picker component. More... | |
| abstract void | destroy () |
| Destroys the date and time picker component, releasing any resources. More... | |
| abstract boolean | isOpen () |
| Checks whether the date and time picker is currently open. More... | |
| abstract | onChange (callback) |
| Registers a callback function to be called when the date and time picker value changes. More... | |
| abstract void | open (option) |
| Opens the date and time picker with the specified options. More... | |
Protected Attributes | |
| boolean | showDate |
| Indicates whether the date field is visible. | |
| boolean | showHour |
| Indicates whether the hour field is visible. | |
| boolean | showMinute |
| Indicates whether the minute field is visible. | |
| boolean | showMonth |
| Indicates whether the month field is visible. | |
| boolean | showSeconds |
| Indicates whether the seconds field is visible. | |
| boolean | showTimePeriod |
| Indicates whether the time period (AM/PM) field is visible. | |
| boolean | showYear |
| Indicates whether the year field is visible. | |
| boolean | time24Hour |
| Indicates whether the time format is 24-hour. | |
An abstract class for implementing a date and time picker component. .
|
pure virtual |
Closes the date and time picker.
| IDateTimePicker::constructor | ( | pdfViewer | , |
| format | |||
| ) |
|
pure virtual |
Checks if a given HTML element is part of the date and time picker component.
| element | HTMLElement - The element to check. |
|
pure virtual |
Destroys the date and time picker component, releasing any resources.
|
pure virtual |
Checks whether the date and time picker is currently open.
|
pure virtual |
|
pure virtual |
Opens the date and time picker with the specified options.
| option | OpenDateTimePickerOption - The options for opening the picker, such as container, position, and initial date. |