|
Java Date Picker v3.2 | |||||||||
| 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 the calendar component that will be used by JDatePicker
to select a date. |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
|
protected void |
installComponents()
Installs all the components needed by JDatePicker to implement
its behavior. |
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 |
updateCalendarBackground()
Updates the background color of the calendar |
protected void |
updateCalendarDisplayToday()
Specifies whether the calendar displays the today button or not. |
protected void |
updateCalendarForeground()
Updates the foreground color of the calendar |
protected void |
updateCalendarRenderer()
|
protected void |
updateCalendarTitleBackground()
Updates the title background color of the calendar |
protected void |
updateCalendarTitleForeground()
Updates the title foreground color of the calendar |
protected void |
updateCalendarTrailingForeground()
Updates the trailing foreground color of the calendar |
protected void |
updateCalendarVisible()
Specifies whether the drop down calendar should be displayed or not. |
protected void |
updateCalendarWeekNumbersVisible()
Specifies whether the calendar displays the week numbers or not. |
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 |
updateToolTipText()
Updates the tooltip text for the date picker component. |
| Methods inherited from class com.standbysoft.component.date.swing.plaf.basic.AbstractDatePickerUI |
createPropertyChangeListener, installDefaults, installKeyboardActions, installUI, isPopupVisible, registerDateComboBoxUI, setPopupVisible, uninstallDefaults, 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 void installComponents()
AbstractDatePickerUIInstalls all the components needed by JDatePicker to implement
its behavior.
installComponents in class AbstractDatePickerUIAbstractDatePickerUI.createLayout(),
AbstractDatePickerUI.createMonthView(),
AbstractDatePickerUI.createComboBox()protected java.awt.LayoutManager createLayout()
AbstractDatePickerUILayoutManager that manages the combo box
used to select/edit the date.
createLayout in class AbstractDatePickerUIprotected JMonthView createMonthView()
AbstractDatePickerUICreates the calendar component that will be used by JDatePicker
to select a date. If you want to provide your own JMonthView
instance, keep in mind that its instance will be used by this delegate
so all operations should pass through the JDatePicker interface methods.
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 updateCalendarRenderer()
updateCalendarRenderer in class AbstractDatePickerUIprotected void updateCalendarBackground()
AbstractDatePickerUI
updateCalendarBackground in class AbstractDatePickerUIprotected void updateCalendarForeground()
AbstractDatePickerUI
updateCalendarForeground in class AbstractDatePickerUIprotected void updateCalendarTitleBackground()
AbstractDatePickerUI
updateCalendarTitleBackground in class AbstractDatePickerUIprotected void updateCalendarTitleForeground()
AbstractDatePickerUI
updateCalendarTitleForeground in class AbstractDatePickerUIprotected void updateCalendarTrailingForeground()
AbstractDatePickerUI
updateCalendarTrailingForeground in class AbstractDatePickerUIprotected void updateCalendarDisplayToday()
AbstractDatePickerUI
updateCalendarDisplayToday in class AbstractDatePickerUIprotected void updateCalendarVisible()
AbstractDatePickerUI
updateCalendarVisible in class AbstractDatePickerUIprotected void updateCalendarWeekNumbersVisible()
AbstractDatePickerUI
updateCalendarWeekNumbersVisible 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 updateDateFormat()
updateDateFormat in class AbstractDatePickerUI
|
Java Date Picker v3.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Visit www.javadatepicker.com for further information or send us your suggestions.
Copyright © 2003-2004 Stand By Soft Ltd. All Rights Reserved.