|
||||||||||
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
org.jdesktop.swingx.plaf.basic.BasicDatePickerUI
public class BasicDatePickerUI
The basic implementation of a DatePickerUI
.
Nested Class Summary | |
---|---|
class |
BasicDatePickerUI.EditorCancelAction
The wrapper for the editor cancel action. |
class |
BasicDatePickerUI.PopupRemover
|
Constructor Summary | |
---|---|
BasicDatePickerUI()
|
Method Summary | |
---|---|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
|
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. |
java.awt.Dimension |
getMinimumSize(javax.swing.JComponent c)
|
java.awt.Dimension |
getPreferredSize(javax.swing.JComponent c)
|
java.util.Date |
getSelectableDate(java.util.Date date)
Checks the given date for validity for selection. |
void |
hidePopup()
PENDING: widened access for debugging - need api to control popup visibility? |
void |
installUI(javax.swing.JComponent c)
|
boolean |
isPopupVisible()
|
void |
toggleShowPopup()
Toggles the popups visibility after preparing internal state. |
void |
uninstallUI(javax.swing.JComponent c)
|
Methods inherited from class javax.swing.plaf.ComponentUI |
---|
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, paint, update |
Methods inherited from class java.lang.Object |
---|
equals, 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)
public void installUI(javax.swing.JComponent c)
installUI
in class javax.swing.plaf.ComponentUI
public void uninstallUI(javax.swing.JComponent c)
uninstallUI
in class javax.swing.plaf.ComponentUI
public java.awt.Dimension getMinimumSize(javax.swing.JComponent c)
getMinimumSize
in class javax.swing.plaf.ComponentUI
public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
getPreferredSize
in class javax.swing.plaf.ComponentUI
public int getBaseline(int width, int height)
DatePickerUI
getBaseline
in class DatePickerUI
width
- Width of the component to determine baseline for.height
- Height of the component to determine baseline for.
public java.util.Date getSelectableDate(java.util.Date date) throws java.beans.PropertyVetoException
getSelectableDate
in class DatePickerUI
date
- date to check
java.beans.PropertyVetoException
- if the given date is not valid for
selectionpublic void hidePopup()
public boolean isPopupVisible()
public void toggleShowPopup()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |