public class LayersDynObjectSetComponentModel extends AbstractListModel implements Disposable
LayersDynObjectSetComponent
.listenerList
Constructor and Description |
---|
LayersDynObjectSetComponentModel(Map<String,DynObjectSet> layerName2InfoByPoint) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes the current object, to allow it to close and dispose any used
resources.
|
Object |
getElementAt(int index) |
DynObjectSet |
getLayerInfoByPoint(String layerName) |
String[] |
getLayerNames() |
int |
getSize() |
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
public LayersDynObjectSetComponentModel(Map<String,DynObjectSet> layerName2InfoByPoint)
public String[] getLayerNames()
public DynObjectSet getLayerInfoByPoint(String layerName)
public Object getElementAt(int index)
getElementAt
in interface ListModel
public void dispose()
Disposable
NOTE:After calling this method, the object may not be usable anymore.
dispose
in interface Disposable