Package org.gvsig.lrs.swing.impl
Class PointLayersComboBoxModel
java.lang.Object
javax.swing.AbstractListModel<org.gvsig.fmap.mapcontext.layers.FLayer>
org.gvsig.lrs.swing.impl.PointLayersComboBoxModel
- All Implemented Interfaces:
Serializable,ComboBoxModel<org.gvsig.fmap.mapcontext.layers.FLayer>,ListModel<org.gvsig.fmap.mapcontext.layers.FLayer>
public class PointLayersComboBoxModel
extends AbstractListModel<org.gvsig.fmap.mapcontext.layers.FLayer>
implements ComboBoxModel<org.gvsig.fmap.mapcontext.layers.FLayer>
- Author:
- dmartinez
- See Also:
-
Field Summary
Fields inherited from class javax.swing.AbstractListModel
listenerList -
Constructor Summary
ConstructorsConstructorDescriptionPointLayersComboBoxModel(org.gvsig.fmap.mapcontext.layers.operations.LayerCollection layers) -
Method Summary
Modifier and TypeMethodDescriptionorg.gvsig.fmap.mapcontext.layers.FLayergetElementAt(int index) intgetSize()voidsetSelectedItem(Object anItem) Methods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.swing.ListModel
addListDataListener, removeListDataListener
-
Constructor Details
-
PointLayersComboBoxModel
public PointLayersComboBoxModel(org.gvsig.fmap.mapcontext.layers.operations.LayerCollection layers)
-
-
Method Details
-
getSize
public int getSize() -
getElementAt
public org.gvsig.fmap.mapcontext.layers.FLayer getElementAt(int index) - Specified by:
getElementAtin interfaceListModel<org.gvsig.fmap.mapcontext.layers.FLayer>
-
setSelectedItem
- Specified by:
setSelectedItemin interfaceComboBoxModel<org.gvsig.fmap.mapcontext.layers.FLayer>
-
getSelectedItem
- Specified by:
getSelectedItemin interfaceComboBoxModel<org.gvsig.fmap.mapcontext.layers.FLayer>
-