charly.demo
Class ChGUITaskCreator.ChRsrcsListModel
java.lang.Object
javax.swing.AbstractListModel
charly.demo.ChGUITaskCreator.ChRsrcsListModel
- All Implemented Interfaces:
- javax.swing.ListModel, java.io.Serializable
- Enclosing class:
- ChGUITaskCreator
- class ChGUITaskCreator.ChRsrcsListModel
- extends javax.swing.AbstractListModel
one model for all sets of resources.
Fields inherited from class javax.swing.AbstractListModel |
listenerList |
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 |
ChGUITaskCreator.ChRsrcsListModel
ChGUITaskCreator.ChRsrcsListModel()
addRsrc
void addRsrc(java.lang.String rsrcName)
throws ChException
- Throws:
ChException
changeSelectedTask
void changeSelectedTask(int firstIndex,
int lastIndex)
getElementAt
public java.lang.Object getElementAt(int index)
getSize
public int getSize()
getRsrcs
java.util.Vector getRsrcs()
throws ChException
- Throws:
ChException
- if no task is selected
getRsrcs
java.util.Vector getRsrcs(int taskIndex)
getTaskIndex
int getTaskIndex()
throws ChException
- Throws:
ChException
- if no task is selected