public class LayersDynObjectSetComponentModel extends javax.swing.AbstractListModel implements Disposable
LayersDynObjectSetComponent
.Constructor and Description |
---|
LayersDynObjectSetComponentModel(java.util.Map<java.lang.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.
|
java.lang.Object |
getElementAt(int index) |
DynObjectSet |
getLayerInfoByPoint(java.lang.String layerName) |
java.lang.String[] |
getLayerNames() |
int |
getSize() |
public LayersDynObjectSetComponentModel(java.util.Map<java.lang.String,DynObjectSet> layerName2InfoByPoint)
public java.lang.String[] getLayerNames()
public DynObjectSet getLayerInfoByPoint(java.lang.String layerName)
public int getSize()
getSize
in interface javax.swing.ListModel
public java.lang.Object getElementAt(int index)
getElementAt
in interface javax.swing.ListModel
public void dispose()
Disposable
NOTE:After calling this method, the object may not be usable anymore.
dispose
in interface Disposable