org.jdesktop.swingx.plaf.basic
Class BasicDatePickerUI
java.lang.Object
javax.swing.plaf.ComponentUI
org.jdesktop.swingx.plaf.DatePickerUI
org.jdesktop.swingx.plaf.basic.BasicDatePickerUI
public class BasicDatePickerUI
- extends DatePickerUI
Nested Class Summary |
protected class |
BasicDatePickerUI.BasicDatePickerPopup
Popup component that shows a JXMonthView component along with controlling
buttons to allow traversal of the months. |
Methods inherited from class javax.swing.plaf.ComponentUI |
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, paint, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
datePicker
protected JXDatePicker datePicker
propertyChangeListener
protected java.beans.PropertyChangeListener propertyChangeListener
mouseListener
protected java.awt.event.MouseListener mouseListener
mouseMotionListener
protected java.awt.event.MouseMotionListener mouseMotionListener
BasicDatePickerUI
public BasicDatePickerUI()
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
installUI
public void installUI(javax.swing.JComponent c)
- Overrides:
installUI
in class javax.swing.plaf.ComponentUI
uninstallUI
public void uninstallUI(javax.swing.JComponent c)
- Overrides:
uninstallUI
in class javax.swing.plaf.ComponentUI
installComponents
protected void installComponents()
uninstallComponents
protected void uninstallComponents()
installDefaults
protected void installDefaults()
uninstallDefaults
protected void uninstallDefaults()
installKeyboardActions
protected void installKeyboardActions()
uninstallKeyboardActions
protected void uninstallKeyboardActions()
installListeners
protected void installListeners()
uninstallListeners
protected void uninstallListeners()
createPropertyChangeListener
protected java.beans.PropertyChangeListener createPropertyChangeListener()
createLayoutManager
protected java.awt.LayoutManager createLayoutManager()
createMouseListener
protected java.awt.event.MouseListener createMouseListener()
createMouseMotionListener
protected java.awt.event.MouseMotionListener createMouseMotionListener()
createEditor
protected javax.swing.JFormattedTextField createEditor()
- Creates the editor used to edit the date selection. Subclasses should
override this method if they want to substitute in their own editor.
- Returns:
- an instance of a JFormattedTextField
createPopupButton
protected javax.swing.JButton createPopupButton()
getMinimumSize
public java.awt.Dimension getMinimumSize(javax.swing.JComponent c)
-
- Overrides:
getMinimumSize
in class javax.swing.plaf.ComponentUI
getPreferredSize
public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
-
- Overrides:
getPreferredSize
in class javax.swing.plaf.ComponentUI