Class StaticTextComboBoxModel
- java.lang.Object
-
- javax.swing.AbstractListModel
-
- org.pentaho.reporting.designer.core.editor.parameters.StaticTextComboBoxModel
-
- All Implemented Interfaces:
Serializable
,ComboBoxModel
,ListModel
public class StaticTextComboBoxModel extends AbstractListModel implements ComboBoxModel
Todo: Document me! Date: 09.04.2009 Time: 18:36:34- Author:
- Thomas Morgner.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.AbstractListModel
listenerList
-
-
Constructor Summary
Constructors Constructor Description StaticTextComboBoxModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getElementAt(int index)
Object
getSelectedItem()
int
getSize()
void
setSelectedItem(Object anItem)
void
setValues(String[] values)
-
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
-
-
-
-
Method Detail
-
setValues
public void setValues(String[] values)
-
getElementAt
public Object getElementAt(int index)
- Specified by:
getElementAt
in interfaceListModel
-
setSelectedItem
public void setSelectedItem(Object anItem)
- Specified by:
setSelectedItem
in interfaceComboBoxModel
-
getSelectedItem
public Object getSelectedItem()
- Specified by:
getSelectedItem
in interfaceComboBoxModel
-
-