JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.util.swing
Interface JCSpinBoxMutableModel

All Superinterfaces:
ComboBoxModel, JCSpinBoxModel, ListModel
All Known Implementing Classes:
DefaultSpinBoxModel

public interface JCSpinBoxMutableModel
extends JCSpinBoxModel

Extension of the spin box model that defines models that are changable.


Method Summary
 void addElement(Object obj)
          Adds an item to the end of the model.
 void insertElementAt(Object obj, int index)
          Adds an item at a specific index.
 void removeElement(Object obj)
          Adds an item to the end of the model.
 void removeElementAt(int index)
          Removes an item at a specific index.
 
Methods inherited from interface javax.swing.ComboBoxModel
getSelectedItem, setSelectedItem
 
Methods inherited from interface javax.swing.ListModel
addListDataListener, getElementAt, getSize, removeListDataListener
 

Method Detail

addElement

public void addElement(Object obj)
Adds an item to the end of the model.

Parameters:
obj -

removeElement

public void removeElement(Object obj)
Adds an item to the end of the model.

Parameters:
obj -

insertElementAt

public void insertElementAt(Object obj,
                            int index)
Adds an item at a specific index.

Parameters:
obj -
index -

removeElementAt

public void removeElementAt(int index)
Removes an item at a specific index.

Parameters:
index -

Copyright © 2004 Quest Software Inc..
All rights reserved.