net.sf.hibern8ide
Class History
java.lang.Object
|
+--javax.swing.AbstractListModel
|
+--net.sf.hibern8ide.History
- All Implemented Interfaces:
- ComboBoxModel, ListModel, MutableComboBoxModel, Serializable
- public class History
- extends AbstractListModel
- implements MutableComboBoxModel, Serializable
- Author:
- MAX
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
History
public History()
setSelectedItem
public void setSelectedItem(Object anObject)
- Set the value of the selected item. The selected item may be null.
- Specified by:
setSelectedItem in interface ComboBoxModel
- Parameters:
anObject - The combo box value or null for no selection.
getSelectedItem
public Object getSelectedItem()
- Specified by:
getSelectedItem in interface ComboBoxModel
getSize
public int getSize()
- Specified by:
getSize in interface ListModel
getElementAt
public Object getElementAt(int index)
- Specified by:
getElementAt in interface ListModel
addElement
public void addElement(Object anObject)
- Specified by:
addElement in interface MutableComboBoxModel
insertElementAt
public void insertElementAt(Object anObject,
int index)
- Specified by:
insertElementAt in interface MutableComboBoxModel
removeElementAt
public void removeElementAt(int index)
- Specified by:
removeElementAt in interface MutableComboBoxModel
removeElement
public void removeElement(Object anObject)
- Specified by:
removeElement in interface MutableComboBoxModel
removeAllElements
public void removeAllElements()
- Empties the list.
back
protected Object back()
- Returns:
forward
protected Object forward()
- Returns: