org.nuiton.math.matrix.viewer
Class MatrixViewerPanel.MatrixComboBoxModel

java.lang.Object
  extended by javax.swing.AbstractListModel
      extended by javax.swing.DefaultComboBoxModel
          extended by org.nuiton.math.matrix.viewer.MatrixViewerPanel.MatrixComboBoxModel
All Implemented Interfaces:
PropertyChangeListener, Serializable, EventListener, ComboBoxModel, ListModel, MutableComboBoxModel
Enclosing class:
MatrixViewerPanel

protected class MatrixViewerPanel.MatrixComboBoxModel
extends DefaultComboBoxModel
implements PropertyChangeListener

Matrix list combo box model.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
protected MatrixViewerPanel.MatrixComboBoxModel()
           
 
Method Summary
 Object getElementAt(int index)
           
 int getSize()
           
 void propertyChange(PropertyChangeEvent evt)
           
 
Methods inherited from class javax.swing.DefaultComboBoxModel
addElement, getIndexOf, getSelectedItem, 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 javax.swing.ListModel
addListDataListener, removeListDataListener
 

Constructor Detail

MatrixViewerPanel.MatrixComboBoxModel

protected MatrixViewerPanel.MatrixComboBoxModel()
Method Detail

getSize

public int getSize()
Specified by:
getSize in interface ListModel
Overrides:
getSize in class DefaultComboBoxModel

getElementAt

public Object getElementAt(int index)
Specified by:
getElementAt in interface ListModel
Overrides:
getElementAt in class DefaultComboBoxModel

propertyChange

public void propertyChange(PropertyChangeEvent evt)
Specified by:
propertyChange in interface PropertyChangeListener


Copyright © 2004-2011 CodeLutin. All Rights Reserved.