Class IconController
- java.lang.Object
-
- javax.swing.AbstractAction
-
- gov.nasa.worldwindx.applications.worldwindow.features.AbstractFeature
-
- gov.nasa.worldwindx.applications.worldwindow.core.IconController
-
- All Implemented Interfaces:
Disposable
,SelectListener
,Initializable
,Feature
,java.awt.event.ActionListener
,java.beans.PropertyChangeListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
public class IconController extends AbstractFeature implements SelectListener, Disposable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected WWIcon
lastPickedIcon
-
Fields inherited from class gov.nasa.worldwindx.applications.worldwindow.features.AbstractFeature
controller, featureID
-
-
Constructor Summary
Constructors Constructor Description IconController(Registry registry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
Disposes of any internal resources allocated by the object.protected void
highlight(SelectEvent event, java.lang.Object o)
void
initialize(Controller controller)
void
selected(SelectEvent event)
protected void
showContextMenu(SelectEvent event)
-
Methods inherited from class gov.nasa.worldwindx.applications.worldwindow.features.AbstractFeature
actionPerformed, addToToolBar, doActionPerformed, doPropertyChange, getController, getFeatureID, getName, getStringValue, isInitialized, isOn, isTwoState, propertyChange, register, setMenuAccellerator, turnOn
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Field Detail
-
lastPickedIcon
protected WWIcon lastPickedIcon
-
-
Constructor Detail
-
IconController
public IconController(Registry registry)
-
-
Method Detail
-
initialize
public void initialize(Controller controller)
- Specified by:
initialize
in interfaceInitializable
- Overrides:
initialize
in classAbstractFeature
-
dispose
public void dispose()
Description copied from interface:Disposable
Disposes of any internal resources allocated by the object.- Specified by:
dispose
in interfaceDisposable
-
selected
public void selected(SelectEvent event)
- Specified by:
selected
in interfaceSelectListener
-
highlight
protected void highlight(SelectEvent event, java.lang.Object o)
-
showContextMenu
protected void showContextMenu(SelectEvent event)
-
-