actionListeners.scatter2DChartSettings
Class ParallelChartFrameComboModel
java.lang.Object
javax.swing.AbstractListModel
actionListeners.scatter2DChartSettings.ParallelChartFrameComboModel
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.ComboBoxModel, javax.swing.ListModel, javax.swing.MutableComboBoxModel
public class ParallelChartFrameComboModel
- extends javax.swing.AbstractListModel
- implements javax.swing.MutableComboBoxModel
Combobox Model that is used to choose from all ChartFrame
s that carry a ParallelCoordinatesChart
.
- See Also:
- Serialized Form
Methods inherited from class javax.swing.AbstractListModel |
addListDataListener, getListDataListeners, getListeners, removeListDataListener |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.swing.ListModel |
addListDataListener, removeListDataListener |
ParallelChartFrameComboModel
public ParallelChartFrameComboModel(Main mainWindow,
ChartFrame chartFrame,
ScatterPlot2D plot)
- Instantiates parallel chart frame combo box model
- Parameters:
mainWindow
- the main window
setSelectedItem
public void setSelectedItem(java.lang.Object anItem)
- Specified by:
setSelectedItem
in interface javax.swing.ComboBoxModel
getSelectedItem
public java.lang.Object getSelectedItem()
- Specified by:
getSelectedItem
in interface javax.swing.ComboBoxModel
getElementAt
public java.lang.Object getElementAt(int index)
- Specified by:
getElementAt
in interface javax.swing.ListModel
getSize
public int getSize()
- Specified by:
getSize
in interface javax.swing.ListModel
addElement
public void addElement(java.lang.Object obj)
- Specified by:
addElement
in interface javax.swing.MutableComboBoxModel
insertElementAt
public void insertElementAt(java.lang.Object obj,
int index)
- Specified by:
insertElementAt
in interface javax.swing.MutableComboBoxModel
removeElement
public void removeElement(java.lang.Object obj)
- Specified by:
removeElement
in interface javax.swing.MutableComboBoxModel
removeElementAt
public void removeElementAt(int index)
- Specified by:
removeElementAt
in interface javax.swing.MutableComboBoxModel