|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.AbstractListModel | +--javax.swing.DefaultComboBoxModel | +--com.klg.jclass.util.swing.DefaultSpinBoxModel
Since the SpinBox
model is identical to the combo box model we
simply extend the defult combobox model implementation.
Field Summary |
Fields inherited from class javax.swing.AbstractListModel |
listenerList |
Constructor Summary | |
DefaultSpinBoxModel()
Constructs an empty DefaultSpinBoxModel object. |
|
DefaultSpinBoxModel(Object[] items)
Constructs a DefaultSpinBoxModel object initialized with
an array of objects. |
|
DefaultSpinBoxModel(Vector v)
Constructs a DefaultSpinBoxModel object initialized with
a vector. |
Methods inherited from class javax.swing.DefaultComboBoxModel |
addElement, getElementAt, getIndexOf, getSelectedItem, getSize, insertElementAt, removeAllElements, removeElement, removeElementAt, setSelectedItem |
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 com.klg.jclass.util.swing.JCSpinBoxMutableModel |
addElement, insertElementAt, removeElement, removeElementAt |
Methods inherited from interface javax.swing.ComboBoxModel |
getSelectedItem, setSelectedItem |
Methods inherited from interface javax.swing.ListModel |
addListDataListener, getElementAt, getSize, removeListDataListener |
Constructor Detail |
public DefaultSpinBoxModel()
DefaultSpinBoxModel
object.
public DefaultSpinBoxModel(Object[] items)
DefaultSpinBoxModel
object initialized with
an array of objects.
items
- an array of Object objectspublic DefaultSpinBoxModel(Vector v)
DefaultSpinBoxModel
object initialized with
a vector.
v
- a Vector object
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |