|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.pentec.gui.aoi.AoiListAdapter
public class AoiListAdapter
| Field Summary | |
|---|---|
private java.util.Vector |
aois
|
private java.util.Vector |
listeners
|
| Constructor Summary | |
|---|---|
AoiListAdapter()
|
|
| Method Summary | |
|---|---|
boolean |
add(AOI aoi)
Add an AOI to the list |
boolean |
addChangeListener(AoiListChangeListener aoiListChangeListener)
Add an AOI list change listener |
private void |
fireChangeEvent(AoiListChangeEvent event)
|
AOI |
get(int iIndex)
Get an AOI in the list at the requested index |
AOI[] |
getByType(java.lang.Class type)
Get all the AOIs of a particular class type |
AoiListChangeListener[] |
getChangeListeners()
Get the AOI list change listeners currently registered |
boolean |
remove(AOI aoi)
Remove an AOI from the list |
AOI |
remove(int iIndex)
Remove an AOI from the list at the requested index |
boolean |
removeChangeListener(AoiListChangeListener aoiListChangeListener)
Remove an AOI list change listener |
AOI[] |
toArray()
Convert the list to an array of AOIs |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.util.Vector aois
private java.util.Vector listeners
| Constructor Detail |
|---|
public AoiListAdapter()
| Method Detail |
|---|
public boolean add(AOI aoi)
AoiList
add in interface AoiListaoi - AOI to add to the list
public boolean addChangeListener(AoiListChangeListener aoiListChangeListener)
AoiList
addChangeListener in interface AoiListaoiListChangeListener - listener to add
private void fireChangeEvent(AoiListChangeEvent event)
public AOI get(int iIndex)
AoiList
get in interface AoiListiIndex - index of the AOI
public AOI[] getByType(java.lang.Class type)
AoiList
getByType in interface AoiListtype - class type of AOIs to search for
public AoiListChangeListener[] getChangeListeners()
AoiList
getChangeListeners in interface AoiListpublic boolean remove(AOI aoi)
AoiList
remove in interface AoiListaoi - AOI to remove from the list
public AOI remove(int iIndex)
AoiList
remove in interface AoiListiIndex - index of the AOI
public boolean removeChangeListener(AoiListChangeListener aoiListChangeListener)
AoiList
removeChangeListener in interface AoiListaoiListChangeListener - change listener to remove
public AOI[] toArray()
AoiList
toArray in interface AoiList
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||