org.freixas.jcalendar
Class JCalendarCombo.CalendarComboBoxModel

java.lang.Object
  extended by org.freixas.jcalendar.JCalendarCombo.CalendarComboBoxModel
All Implemented Interfaces:
ComboBoxModel, ListModel
Enclosing class:
JCalendarCombo

protected class JCalendarCombo.CalendarComboBoxModel
extends Object
implements ComboBoxModel


Field Summary
protected  EventListenerList listenerList
           
 
Constructor Summary
protected JCalendarCombo.CalendarComboBoxModel()
           
 
Method Summary
 void addListDataListener(ListDataListener l)
           
 Object getElementAt(int index)
           
 Object getSelectedItem()
           
 int getSize()
           
 void removeListDataListener(ListDataListener l)
           
 void setSelectedItem(Object anItem)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listenerList

protected EventListenerList listenerList
Constructor Detail

JCalendarCombo.CalendarComboBoxModel

protected JCalendarCombo.CalendarComboBoxModel()
Method Detail

addListDataListener

public void addListDataListener(ListDataListener l)
Specified by:
addListDataListener in interface ListModel

removeListDataListener

public void removeListDataListener(ListDataListener l)
Specified by:
removeListDataListener in interface ListModel

getElementAt

public Object getElementAt(int index)
Specified by:
getElementAt in interface ListModel

getSize

public int getSize()
Specified by:
getSize in interface ListModel

getSelectedItem

public Object getSelectedItem()
Specified by:
getSelectedItem in interface ComboBoxModel

setSelectedItem

public void setSelectedItem(Object anItem)
Specified by:
setSelectedItem in interface ComboBoxModel

Copyright © 2004-2005 Antonio Freixas
Licensed under the Artistic License