Field Summary |
public static
| classInfo: Object |
| A static class information object
|
|
public
| disableAcceptButton: Boolean |
| Disables the global accept button whilst this control has focus
|
|
public
| disableCancelButton: Boolean |
| Disables the global cancel button whilst this control has focus
|
|
public
| initialMsg: String |
| //initial msg or unselected msg
|
|
public
| initialSelectedState: Boolean |
| Controls whether the date is initialy selected or not
|
|
public
| styleClass: String |
| The name of the style class this instance will use.
|
|
public
| tabStop: Boolean |
| All input controls are TabStops by default
|
|
|
|
| Fields inherited from class xp.system.UIControl__layout, allowDrop, autoLayout, bindingDefaultValue, bindingFormatter, bindingPath, bindingSource, bindingType, bindingValidator, border, causesValidation, classInfo, clickOnENTER, clickOnSPACE, container, context, data, disableAcceptButton, disableCancelButton, enableBGMouseEvents, enableDblClickEvent, enableKeyDownEvents, enableKeyEvents, enableKeyUpEvents, enableMouseWheelEvents, formatterOptions, horizontalAlignment, index, isBinding, itemId, logEnabled, parent, parentContainer, parentForm, percentageHeight, percentageWidth, styleClass, tabIndex, tabStop, tooltip, tree, verticalAlignment |
|
Property Summary |
public
| displayDateFormat: String (read, write) |
| format string for displaying dates in the item box
|
|
public
| displayedDay: Number (read, write) |
| The day number of the currently selcted date
|
|
public
| displayedMonth: Number (read, write) |
| The month number of the currently selcted date
|
|
public
| displayedYear: Number (read, write) |
| The year number of the currently selcted date
|
|
public
| firstDayOfWeek: Number (read, write) |
| The first day of a week. Can be eiether 0(Sunday) or 1(Monday)
|
|
public
| isSelectionRequired: Boolean (read, write) |
| Is a selctoin required
|
|
public
| selectedDate: Date (read, write) |
| The the currently selected date
|
|
public
| selectedDateFormat: String (read, write) |
| Format string for the selected date
|
|
public
| selectOnKeyScroll: Boolean (read, write) |
| Controls whether dates are selected as you scroll
|
|
public
| showToday: Boolean (read, write) |
| Open the calender initially with todays date selected
|
|
|
| Properties inherited from class xp.controls.TextBasefont, fontBold, fontColor, fontEmbed, fontFamily, fontItalic, fontName, fontSize, fontStyle, fontUnderline, fontWeight, text, textAlign, textDecoration, textWrap |
|
| Properties inherited from class xp.system.UIControlalpha, autosize, background, backgroundVisible, bindings, borderBrush, borderRadius, borderShadow, borderStyle, borderThickness, bottom, dataSource, enableMouseEvents, focusManager, height, id, isEnabled, isFocused, isMouseOver, isPressed, isSelected, isValid, layout, left, margin, maxHeight, maxWidth, measuredHeight, measuredMinHeight, measuredMinWidth, measuredWidth, minHeight, minWidth, padding, readOnly, resources, right, styleName, top, triggers, visible, width, x, y |
|
Constructor |
public
| DateField (
)
|
| Constructor - This should not be called directly.
|
|
Method Summary |
public
| __onKeyDown (
code, repeat
): Void |
| Handler key down events
|
|
public
| __onKeyUp (
code
): Void |
| Relay all key strokes to the calendar
|
|
public
| close (
refocus: Boolean
): Void |
| Closes the calendar
|
|
public
| drawComponent (
): Void |
| Layout the control
|
|
public
| getClass (
): Function |
| Returns a reference to the components static class
|
|
public static
| newInstance (
owner, instanceId, depth, initObj
) |
| Creates a new Instance of this class
|
|
public
| onEnabledChanged (
state: Boolean
): Void |
| Override to sync the button enabled state
|
|
public
| open (
): Void |
| Open the calendar
|
|
public
| toggleList (
): Void |
| Toggles the display of the calendar
|
|
|
|
| Methods inherited from class xp.system.UIControladdBinding, addBindings, addEventListener, addPropertyTrigger, applyStyle, beginDeferUpdate, canUpdate, centerContent, checkState, containsFocus, destroy, destroyObject, drawFocus, endDeferUpdate, findFocusFromObject, findFocusInChildren, getBinding, getBounds, getCenter, getClass, getFocus, getFocusManager, getFocusRect, getLocation, getPropertyValue, getSize, getStateName, getTrigger, globalToLocalPoint, invalidate, invalidateLayout, invalidateSize, invalidateSizeAndLayout, invalidChild, isChild, isMouseDirectlyOver, isParent, localToGlobalPoint, localToLocalPoint, measure, mouseWheel, move, onChildFocus, onKillFocus, onSetFocus, processEnterKey, processEscapeKey, processTabKey, redraw, refresh, removeEventListener, routeEvent, setBounds, setFocus, setLocation, setPropertyValue, setSize, setValueChanged, update, validate |
|
|