Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Field Summary

Fields inherited from class javax.swing.AbstractListModel
`listenerList`

Constructor Summary
`History()`

Method Summary
`void` | `addElement(Object anObject)`
`protected Object` | `back()`
`protected Object` | `forward()`
`Object` | `getElementAt(int index)`
`Object` | `getSelectedItem()`
`int` | `getSize()`
`void` | `insertElementAt(Object anObject, int index)`
`void` | `removeAllElements()` Empties the list.
`void` | `removeElement(Object anObject)`
`void` | `removeElementAt(int index)`
`void` | `setSelectedItem(Object anObject)` Set the value of the selected item.

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

### History

    public History()

Method Detail

### 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:

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD