Package org.gvsig.lrs.swing.impl
Class FLayersMComboBoxModel
java.lang.Object
javax.swing.AbstractListModel<org.gvsig.fmap.mapcontext.layers.FLayer>
org.gvsig.lrs.swing.impl.FLayersMComboBoxModel
- All Implemented Interfaces:
Serializable,ComboBoxModel<org.gvsig.fmap.mapcontext.layers.FLayer>,ListModel<org.gvsig.fmap.mapcontext.layers.FLayer>
public class FLayersMComboBoxModel
extends AbstractListModel<org.gvsig.fmap.mapcontext.layers.FLayer>
implements ComboBoxModel<org.gvsig.fmap.mapcontext.layers.FLayer>
- Author:
- fdiaz
- See Also:
-
Field Summary
Fields inherited from class javax.swing.AbstractListModel
listenerList -
Constructor Summary
ConstructorsConstructorDescriptionFLayersMComboBoxModel(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
-
FLayersMComboBoxModel
public FLayersMComboBoxModel(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>
-