|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectqx.core.Object
qx.core.Target
qx.ui.core.Widget
qx.ui.core.Parent
qx.ui.layout.BoxLayout
qx.ui.basic.Atom
qx.ui.form.Button
qx.ui.component.DateChooserButton
public class DateChooserButton
A date chooser button widget which can be associated to a widget where the date value is synchronized whith the selected date.
Field Summary |
---|
Fields inherited from class qx.ui.core.Widget |
---|
AUTO |
Constructor Summary | |
---|---|
DateChooserButton()
|
|
DateChooserButton(Widget vTargetWidget)
|
|
DateChooserButton(Widget vTargetWidget,
java.lang.String vChooserTitle)
|
|
DateChooserButton(Widget vTargetWidget,
java.lang.String vChooserTitle,
java.lang.String vButtonLabel)
|
|
DateChooserButton(Widget vTargetWidget,
java.lang.String vChooserTitle,
java.lang.String vButtonLabel,
java.lang.String vIcon)
|
|
DateChooserButton(Widget vTargetWidget,
java.lang.String vChooserTitle,
java.lang.String vButtonLabel,
java.lang.String vIcon,
java.lang.String vIconWidth)
|
|
DateChooserButton(Widget vTargetWidget,
java.lang.String vChooserTitle,
java.lang.String vButtonLabel,
java.lang.String vIcon,
java.lang.String vIconWidth,
java.lang.String vIconHeight)
|
|
DateChooserButton(Widget vTargetWidget,
java.lang.String vChooserTitle,
java.lang.String vButtonLabel,
java.lang.String vIcon,
java.lang.String vIconWidth,
java.lang.String vIconHeight,
java.lang.String vFlash)
|
Method Summary | |
---|---|
boolean |
_applyDateFormatSize(java.lang.Object value,
java.lang.Object old)
Modifier for property dateFormatSize. |
boolean |
_applyTargetWidget(java.lang.Object value,
java.lang.Object old)
Modifier for property targetWidget. |
void |
_changeLocale(java.lang.String dateFormatSize)
Change the date format to the current locale with the given size |
void |
_changeLocaleHandler(Event e)
Handle locale changes. |
void |
_chooserSelectHandler(Event e)
Event handler for the date chooser select event. |
void |
_chooserWindowAppearHandler(Event e)
Event handler for chooser window appear event. |
void |
_chooserWindowKeydownHandler(Event e)
Event handler for keydown events of the chooser window. |
void |
_createChooser()
Create the date chooser |
void |
_createChooserWindow()
Create the popup window with for the date chooser and add the date chooser to it. |
void |
_executeHandler(Event e)
Event hanlder for the execute event of the date chooser button. |
java.lang.Object |
getChooserTitle()
Returns the (computed) value of the property chooserTitle . |
java.lang.Object |
getDateFormatSize()
Returns the (computed) value of the property dateFormatSize . |
Widget |
getTargetWidget()
Returns the (computed) value of the property targetWidget . |
void |
initChooserTitle(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property chooserTitle
with the default value defined by the class developer. |
void |
initDateFormatSize(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property dateFormatSize
with the default value defined by the class developer. |
void |
initTargetWidget(Widget arg)
Calls the apply method and dispatches the change event of the property targetWidget
with the default value defined by the class developer. |
void |
resetChooserTitle()
Resets the user value of the property chooserTitle . |
void |
resetDateFormatSize()
Resets the user value of the property dateFormatSize . |
void |
resetTargetWidget()
Resets the user value of the property targetWidget . |
void |
setChooserTitle(java.lang.Object arg)
Sets the user value of the property chooserTitle . |
void |
setDateFormatSize(java.lang.Object arg)
Sets the user value of the property dateFormatSize . |
void |
setTargetWidget(Widget arg)
Sets the user value of the property targetWidget . |
Methods inherited from class qx.ui.form.Button |
---|
_onkeydown, _onkeyup, _onmousedown, _onmouseout, _onmouseover, _onmouseup |
Methods inherited from class qx.core.Target |
---|
_dispatchEvent, addChangeSelectionListener, addChangeValueListener, addEventListener, addExecuteListener, addJavaEventListener, createDispatchChangeEvent, createDispatchDataEvent, createDispatchEvent, dispatchEvent, hasEventListeners, removeEventListener |
Methods inherited from class qx.core.Object |
---|
_disposeFields, _disposeObjectDeep, _disposeObjects, base, dispose, get, getDisposed, isDisposed, reset, self, set, toHashCode, toString_ |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DateChooserButton()
public DateChooserButton(Widget vTargetWidget)
public DateChooserButton(Widget vTargetWidget, java.lang.String vChooserTitle)
public DateChooserButton(Widget vTargetWidget, java.lang.String vChooserTitle, java.lang.String vButtonLabel)
public DateChooserButton(Widget vTargetWidget, java.lang.String vChooserTitle, java.lang.String vButtonLabel, java.lang.String vIcon)
public DateChooserButton(Widget vTargetWidget, java.lang.String vChooserTitle, java.lang.String vButtonLabel, java.lang.String vIcon, java.lang.String vIconWidth)
public DateChooserButton(Widget vTargetWidget, java.lang.String vChooserTitle, java.lang.String vButtonLabel, java.lang.String vIcon, java.lang.String vIconWidth, java.lang.String vIconHeight)
public DateChooserButton(Widget vTargetWidget, java.lang.String vChooserTitle, java.lang.String vButtonLabel, java.lang.String vIcon, java.lang.String vIconWidth, java.lang.String vIconHeight, java.lang.String vFlash)
Method Detail |
---|
public boolean _applyDateFormatSize(java.lang.Object value, java.lang.Object old)
Modifier for property dateFormatSize.
public boolean _applyTargetWidget(java.lang.Object value, java.lang.Object old)
Modifier for property targetWidget.
public void _changeLocale(java.lang.String dateFormatSize)
Change the date format to the current locale with the given size
public void _changeLocaleHandler(Event e)
Handle locale changes. Update the date format of the target widget.
public void _chooserSelectHandler(Event e)
Event handler for the date chooser select event. Formats the selected date as string and sets the target widgets value.
public void _chooserWindowAppearHandler(Event e)
Event handler for chooser window appear event. Positions the window above the target widget.
public void _chooserWindowKeydownHandler(Event e)
Event handler for keydown events of the chooser window. Closes the window on hitting the ‘Escape’ key.
public void _createChooser()
Create the date chooser
public void _createChooserWindow()
Create the popup window with for the date chooser and add the date chooser to it.
public void _executeHandler(Event e)
Event hanlder for the execute event of the date chooser button.
public java.lang.Object getChooserTitle()
Returns the (computed) value of the property chooserTitle
.
For further details take a look at the property definition: chooserTitle
.
public java.lang.Object getDateFormatSize()
Returns the (computed) value of the property dateFormatSize
.
For further details take a look at the property definition: dateFormatSize
.
public Widget getTargetWidget()
Returns the (computed) value of the property targetWidget
.
For further details take a look at the property definition: targetWidget
.
public void initChooserTitle(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property chooserTitle
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: chooserTitle
.
public void initDateFormatSize(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property dateFormatSize
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: dateFormatSize
.
public void initTargetWidget(Widget arg)
Calls the apply method and dispatches the change event of the property targetWidget
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: targetWidget
.
public void resetChooserTitle()
Resets the user value of the property chooserTitle
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: chooserTitle
.
public void resetDateFormatSize()
Resets the user value of the property dateFormatSize
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: dateFormatSize
.
public void resetTargetWidget()
Resets the user value of the property targetWidget
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: targetWidget
.
public void setChooserTitle(java.lang.Object arg)
Sets the user value of the property chooserTitle
.
For further details take a look at the property definition: chooserTitle
.
public void setDateFormatSize(java.lang.Object arg)
Sets the user value of the property dateFormatSize
.
For further details take a look at the property definition: dateFormatSize
.
public void setTargetWidget(Widget arg)
Sets the user value of the property targetWidget
.
For further details take a look at the property definition: targetWidget
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |