com.sibvisions.rad.ui.swing.ext
Class JVxDateCombo.DateComboBoxModel

java.lang.Object
  extended by javax.swing.AbstractListModel
      extended by com.sibvisions.rad.ui.swing.ext.JVxDateCombo.DateComboBoxModel
All Implemented Interfaces:
ActionListener, Serializable, EventListener, ComboBoxModel, ListModel
Enclosing class:
JVxDateCombo

public static class JVxDateCombo.DateComboBoxModel
extends AbstractListModel
implements ComboBoxModel, ActionListener

The DateComboBoxModel is a generic ComboBoxModel implementation.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
JVxDateCombo.DateComboBoxModel(JVxComboBase pDateCombo)
          Constructs an ComboBoxModel.
 
Method Summary
 void actionPerformed(ActionEvent pActionEvent)
          
 JVxCalendarPane getCalendarPane()
          Gets the internal calendar pane.
 Object getElementAt(int index)
          
 Object getSelectedItem()
          
 int getSize()
          
 void setSelectedItem(Object pItem)
          
 
Methods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.ListModel
addListDataListener, removeListDataListener
 

Constructor Detail

JVxDateCombo.DateComboBoxModel

public JVxDateCombo.DateComboBoxModel(JVxComboBase pDateCombo)
Constructs an ComboBoxModel.

Parameters:
pDateCombo - the JVxComboBase.
Method Detail

getSelectedItem

public Object getSelectedItem()

Specified by:
getSelectedItem in interface ComboBoxModel

setSelectedItem

public void setSelectedItem(Object pItem)

Specified by:
setSelectedItem in interface ComboBoxModel

getElementAt

public Object getElementAt(int index)

Specified by:
getElementAt in interface ListModel

getSize

public int getSize()

Specified by:
getSize in interface ListModel

actionPerformed

public void actionPerformed(ActionEvent pActionEvent)

Specified by:
actionPerformed in interface ActionListener

getCalendarPane

public JVxCalendarPane getCalendarPane()
Gets the internal calendar pane.

Returns:
the calendar pane


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.