|
swingx Version 2009-07-31 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.plaf.ComponentUI
org.jdesktop.swingx.plaf.DatePickerUI
public abstract class DatePickerUI
The ComponentUI for a JXDatePicker.
Responsible for keeping the date property of all participants synchronized at all "stable" points in their life-cycle. That is the following invariant is guaranteed:
Date selected = datePicker.getMonthView().getSelectedDate();
assertEquals(selected, datePicker.getDate());
assertEquals(selected, datePicker.getEditor().getValue());
Constructor Summary | |
---|---|
DatePickerUI()
|
Method Summary | |
---|---|
int |
getBaseline(int width,
int height)
Get the baseline for the specified component, or a value less than 0 if the baseline can not be determined. |
abstract Date |
getSelectableDate(Date date)
Checks the given date for validity for selection. |
Methods inherited from class javax.swing.plaf.ComponentUI |
---|
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DatePickerUI()
Method Detail |
---|
public int getBaseline(int width, int height)
width
- Width of the component to determine baseline for.height
- Height of the component to determine baseline for.
public abstract Date getSelectableDate(Date date) throws PropertyVetoException
date
- date to check
PropertyVetoException
- if the given date is not valid for
selection
|
swingx Version 2009-07-31 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |