|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.AbstractListModel | +--au.edu.swin.synergy.plugin.metamodeller.BPropListModel
Please complete these missing tags
Fields inherited from class javax.swing.AbstractListModel |
listenerList |
Constructor Summary | |
BPropListModel()
Class Constructor |
|
BPropListModel(Vector items)
Class Constructor that sets the data that the model represents. |
Method Summary | |
void |
addItem(Object item)
Adds a new item to the list model then fires an event to notify listners of the change. |
void |
addVector(Vector vect)
|
void |
clear()
Clears all items from the list model then fires an event to notify listeners of this change |
boolean |
exists(Object item)
Checks to see if there is an item in the model that matches this one |
Object |
getElementAt(int index)
Gets an object in the list model at a specified index |
int |
getSize()
Gets the Size o fthe list model |
int |
indexOf(Object item)
Finds the index of the specified item in the model. |
void |
remove(Object item)
Removes an objects in this list model |
Methods inherited from class javax.swing.AbstractListModel |
addListDataListener,
fireContentsChanged,
fireIntervalAdded,
fireIntervalRemoved,
removeListDataListener |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public BPropListModel()
public BPropListModel(Vector items)
items
- Vector containing the data to be representedMethod Detail |
public int getSize()
public Object getElementAt(int index)
index
- the position in the list model to find the objectpublic void addItem(Object item)
item
- the object to be added to the listpublic void clear()
public void remove(Object item)
item
- the object to be removed.public boolean exists(Object item)
item
- Object to look for in the modelpublic int indexOf(Object item)
item
- Object to find the index ofpublic void addVector(Vector vect)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |