org.jdesktop.swingx.plaf.basic
Class BasicDatePickerUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by org.jdesktop.swingx.plaf.DatePickerUI
          extended by 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.
 
Field Summary
protected  JXDatePicker datePicker
           
protected  java.awt.event.MouseListener mouseListener
           
protected  java.awt.event.MouseMotionListener mouseMotionListener
           
protected  java.beans.PropertyChangeListener propertyChangeListener
           
 
Constructor Summary
BasicDatePickerUI()
           
 
Method Summary
protected  javax.swing.JFormattedTextField createEditor()
          Creates the editor used to edit the date selection.
protected  java.awt.LayoutManager createLayoutManager()
           
protected  java.awt.event.MouseListener createMouseListener()
           
protected  java.awt.event.MouseMotionListener createMouseMotionListener()
           
protected  javax.swing.JButton createPopupButton()
           
protected  java.beans.PropertyChangeListener createPropertyChangeListener()
           
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
           
 java.awt.Dimension getMinimumSize(javax.swing.JComponent c)
          
 java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
          
protected  void installComponents()
           
protected  void installDefaults()
           
protected  void installKeyboardActions()
           
protected  void installListeners()
           
 void installUI(javax.swing.JComponent c)
           
protected  void uninstallComponents()
           
protected  void uninstallDefaults()
           
protected  void uninstallKeyboardActions()
           
protected  void uninstallListeners()
           
 void uninstallUI(javax.swing.JComponent c)
           
 
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
 

Field Detail

datePicker

protected JXDatePicker datePicker

propertyChangeListener

protected java.beans.PropertyChangeListener propertyChangeListener

mouseListener

protected java.awt.event.MouseListener mouseListener

mouseMotionListener

protected java.awt.event.MouseMotionListener mouseMotionListener
Constructor Detail

BasicDatePickerUI

public BasicDatePickerUI()
Method Detail

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