|
JDatePicker v4.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.plaf.ComponentUI
com.standbysoft.component.date.swing.plaf.DateUI
com.standbysoft.component.date.swing.plaf.basic.AbstractDatePickerUI
com.standbysoft.component.date.swing.plaf.basic.BasicDatePickerUI
Implements only what is strictly necessary for a
JDatePicker UI delegate. A
modified combo box is used to select/edit the date.
If you want to create a custom UI delegate for JDatePicker, then
the best solution is to extend this class.
| Field Summary |
| Fields inherited from class com.standbysoft.component.date.swing.plaf.basic.AbstractDatePickerUI |
comboBox, datePicker, monthView |
| Constructor Summary | |
BasicDatePickerUI()
|
|
| Method Summary | |
protected JComboBoxExt |
createComboBox()
Creates the combo box that is used by the date picker to select a date. |
protected java.awt.LayoutManager |
createLayout()
Creates a LayoutManager that manages the combo box
used to select/edit the date. |
protected JMonthView |
createMonthView()
Creates a JMonthView with no UI delegate. |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
|
protected void |
installListeners()
Creates and installs the listeners for the date picker. |
protected void |
uninstallComponents()
|
protected void |
uninstallListeners()
Uninstalls the listeners from the date field. |
protected void |
updateBackground()
Updates the background color for the supporting combo box. |
protected void |
updateDateFormat()
|
protected void |
updateDateSelectionModel()
Updates the selection model for the components of the date picker |
protected void |
updateEditable()
Updates the editable state of the date picker components. |
protected void |
updateEnabled()
Updates the enabled state of the children Components based on the enabled state of the JDatePicker. |
protected void |
updateFont()
Updates the font for the date picker components. |
protected void |
updateForeground()
Updates the foreground color for the supporting combo box. |
protected void |
updateLocale()
Updates the locale for the date picker components. |
protected void |
updateTimeZone()
Updates the time zone of the date picker component. |
protected void |
updateToolTipText()
Updates the tooltip text for the date picker component. |
| Methods inherited from class com.standbysoft.component.date.swing.plaf.basic.AbstractDatePickerUI |
createDefaults, createPropertyChangeListener, initializeDefaults, installComponents, installDefaults, installKeyboardActions, installUI, isPopupVisible, registerDateComboBoxUI, setPopupVisible, uninstallDefaults, uninstallKeyboardActions, uninstallUI, unregisterDateComboBoxUI |
| Methods inherited from class javax.swing.plaf.ComponentUI |
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, paint, update |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BasicDatePickerUI()
| Method Detail |
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
protected java.awt.LayoutManager createLayout()
AbstractDatePickerUILayoutManager that manages the combo box
used to select/edit the date.
createLayout in class AbstractDatePickerUIprotected JMonthView createMonthView()
JMonthView with no UI delegate. The UI delegate
is associated with the JMonthView when the user opens the
popup for the first time.
This trick makes the creation time for a JDatePicker shorter
and is useful especially in forms that have many (tens) of date pickers.
createMonthView in class AbstractDatePickerUIprotected JComboBoxExt createComboBox()
AbstractDatePickerUI
createComboBox in class AbstractDatePickerUIprotected void uninstallComponents()
uninstallComponents in class AbstractDatePickerUIprotected void installListeners()
AbstractDatePickerUI
installListeners in class AbstractDatePickerUIprotected void uninstallListeners()
AbstractDatePickerUI
uninstallListeners in class AbstractDatePickerUIprotected void updateEnabled()
AbstractDatePickerUIJDatePicker.
updateEnabled in class AbstractDatePickerUIprotected void updateFont()
AbstractDatePickerUI
updateFont in class AbstractDatePickerUIprotected void updateDateSelectionModel()
AbstractDatePickerUI
updateDateSelectionModel in class AbstractDatePickerUIprotected void updateLocale()
AbstractDatePickerUI
updateLocale in class AbstractDatePickerUIprotected void updateEditable()
AbstractDatePickerUI
updateEditable in class AbstractDatePickerUIprotected void updateToolTipText()
AbstractDatePickerUI
updateToolTipText in class AbstractDatePickerUIprotected void updateForeground()
AbstractDatePickerUI
updateForeground in class AbstractDatePickerUIprotected void updateBackground()
AbstractDatePickerUI
updateBackground in class AbstractDatePickerUIprotected void updateTimeZone()
AbstractDatePickerUI
updateTimeZone in class AbstractDatePickerUIprotected void updateDateFormat()
updateDateFormat in class AbstractDatePickerUI
|
JDatePicker v4.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Visit www.jdatepicker.com for further information or send us your suggestions.
Copyright © 2003-2007 Stand By Soft Ltd. All Rights Reserved.