de.matthiasmann.twl
Class DatePickerComboBox

java.lang.Object
  extended by de.matthiasmann.twl.Widget
      extended by de.matthiasmann.twl.ComboBoxBase
          extended by de.matthiasmann.twl.DatePickerComboBox

public class DatePickerComboBox
extends ComboBoxBase

A date picker combobox


Nested Class Summary
protected  class DatePickerComboBox.ComboboxLabel
           
 
Nested classes/interfaces inherited from class de.matthiasmann.twl.Widget
Widget.OffscreenMouseAdjustments, Widget.RenderOffscreen
 
Field Summary
 
Fields inherited from class de.matthiasmann.twl.ComboBoxBase
button, popup, STATE_COMBOBOX_KEYBOARD_FOCUS
 
Fields inherited from class de.matthiasmann.twl.Widget
STATE_DISABLED, STATE_HAS_FOCUSED_CHILD, STATE_HAS_OPEN_POPUPS, STATE_KEYBOARD_FOCUS
 
Constructor Summary
DatePickerComboBox()
           
DatePickerComboBox(java.util.Locale locale, java.text.DateFormat dateFormat)
           
DatePickerComboBox(java.util.Locale locale, int style)
          Constructs a date picker combo box using the specified locale and date format style
 
Method Summary
 java.text.DateFormat getDateFormat()
           
protected  DatePicker getDatePicker()
           
protected  DatePickerComboBox.ComboboxLabel getLabel()
           
 java.util.Locale getLocale()
           
 DateModel getModel()
           
 void setDateFormat(java.util.Locale locale, java.text.DateFormat dateFormat)
           
 void setModel(DateModel model)
           
protected  void setPopupSize()
           
protected  void updateLabel()
           
 
Methods inherited from class de.matthiasmann.twl.ComboBoxBase
getMinHeight, getMinWidth, getPreferredInnerHeight, getPreferredInnerWidth, keyboardFocusGained, keyboardFocusLost, layout, openPopup, popupEscapePressed, sizeChanged
 
Methods inherited from class de.matthiasmann.twl.Widget
add, addActionMapping, addPropertyChangeListener, addPropertyChangeListener, adjustSize, afterAddToGUI, allChildrenRemoved, applyTheme, applyThemeBackground, applyThemeBorder, applyThemeInputMap, applyThemeMaxSize, applyThemeMinSize, applyThemeMouseCursor, applyThemeOffscreenExtra, applyThemeOverlay, applyThemeTooltip, beforeRemoveFromGUI, borderChanged, canAcceptKeyboardFocus, childAdded, childInvalidateLayout, childRemoved, childVisibilityChanged, computeSize, destroy, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, focusFirstChild, focusLastChild, focusNextChild, focusPrevChild, getActionMap, getAnimationState, getBackground, getBorderBottom, getBorderHorizontal, getBorderLeft, getBorderRight, getBorderTop, getBorderVertical, getBottom, getChild, getChildAt, getChildIndex, getGUI, getHeight, getInnerBottom, getInnerHeight, getInnerRight, getInnerWidth, getInnerX, getInnerY, getInputMap, getKeyboardFocusOrder, getMaxHeight, getMaxWidth, getMouseCursor, getMouseCursor, getNumChildren, getOffscreenExtraBottom, getOffscreenExtraLeft, getOffscreenExtraRight, getOffscreenExtraTop, getOrCreateActionMap, getOverlay, getParent, getPreferredHeight, getPreferredWidth, getRenderOffscreen, getRight, getRootWidget, getTheme, getThemePath, getThemeTooltipContent, getTintAnimator, getTooltipContent, getTooltipContentAt, getWidgetAt, getWidth, getX, getY, giveupKeyboardFocus, handleEvent, handleKeyStrokeAction, hasKeyboardFocus, hasOpenPopups, hasSharedAnimationState, insertChild, invalidateLayout, invalidateLayoutLocally, isAbsoluteTheme, isClip, isDepthFocusTraversal, isEnabled, isFocusKeyEnabled, isInside, isLocallyEnabled, isMouseInside, isVisible, keyboardFocusChildChanged, keyboardFocusGained, layoutChildFullInnerArea, layoutChildrenFullInnerArea, moveChild, paint, paintBackground, paintChild, paintChildren, paintDragOverlay, paintOverlay, paintWidget, positionChanged, reapplyTheme, removeAllChildren, removeChild, removeChild, removePropertyChangeListener, removePropertyChangeListener, requestKeyboardFocus, requestKeyboardFocus, resetTooltip, setActionMap, setBackground, setBorderSize, setBorderSize, setBorderSize, setBorderSize, setCanAcceptKeyboardFocus, setClip, setDepthFocusTraversal, setEnabled, setFocusKeyEnabled, setInnerSize, setInputMap, setMaxSize, setMinSize, setMouseCursor, setOffscreenExtra, setOffscreenExtra, setOverlay, setPosition, setRenderOffscreen, setSize, setTheme, setTintAnimator, setTooltipContent, setVisible, updateTintAnimation, updateTooltip, validateLayout, widgetDisabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatePickerComboBox

public DatePickerComboBox()

DatePickerComboBox

public DatePickerComboBox(java.util.Locale locale,
                          int style)
Constructs a date picker combo box using the specified locale and date format style

Parameters:
locale - the locale
style - the date style
See Also:
DateFormat.getDateInstance(int, java.util.Locale)

DatePickerComboBox

public DatePickerComboBox(java.util.Locale locale,
                          java.text.DateFormat dateFormat)
Method Detail

setModel

public void setModel(DateModel model)

getModel

public DateModel getModel()

setDateFormat

public void setDateFormat(java.util.Locale locale,
                          java.text.DateFormat dateFormat)

getDateFormat

public java.text.DateFormat getDateFormat()

getLocale

public java.util.Locale getLocale()

getLabel

protected DatePickerComboBox.ComboboxLabel getLabel()
Specified by:
getLabel in class ComboBoxBase

getDatePicker

protected DatePicker getDatePicker()

setPopupSize

protected void setPopupSize()
Overrides:
setPopupSize in class ComboBoxBase

updateLabel

protected void updateLabel()