info.aduna.clustermap.action
Class ModelClearAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by info.aduna.clustermap.action.ModelClearAction
All Implemented Interfaces:
ClusterMapListener, ActionListener, Serializable, Cloneable, EventListener, Action

public class ModelClearAction
extends AbstractAction
implements ClusterMapListener

A ModelClearAction issues a request to clear the contents of the ClusterMap, corresponding with an empty ClusterModel.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
ModelClearAction(GraphPanel panel)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 void clusterModelChanged(ClusterMap map)
          Event that signals that the ClusterMap has gotten a different ClusterModel instance.
 void graphChanged(ClusterMap map)
          Event that signals that the ClusterMap's updateGraph method has finished and the visualisation has structurally changed, i.e.
 void propertyChanged(String property, Object subject, ClusterMap map)
          Event that signals that the specified property has changed.
 void renderingChanged(ClusterMap map)
          Event that signals that the rendering has changed, other than through selection or structural graph changes.
 void selectionChanged(ClusterMap map)
          Event that signals that the current set of selected objects has changed, triggered by user interaction in the ClusterMap or by request from other components.
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelClearAction

public ModelClearAction(GraphPanel panel)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Specified by:
actionPerformed in interface ActionListener

clusterModelChanged

public void clusterModelChanged(ClusterMap map)
Description copied from interface: ClusterMapListener
Event that signals that the ClusterMap has gotten a different ClusterModel instance. The graph display of the ClusterMap may not yet have been changed though.

Specified by:
clusterModelChanged in interface ClusterMapListener

graphChanged

public void graphChanged(ClusterMap map)
Description copied from interface: ClusterMapListener
Event that signals that the ClusterMap's updateGraph method has finished and the visualisation has structurally changed, i.e. Classifications have appeared in or disappeared from the map.

Specified by:
graphChanged in interface ClusterMapListener

propertyChanged

public void propertyChanged(String property,
                            Object subject,
                            ClusterMap map)
Description copied from interface: ClusterMapListener
Event that signals that the specified property has changed. Optionally, an involved subject can be specified, indicating that it is a local property bound to that subject.

Specified by:
propertyChanged in interface ClusterMapListener

renderingChanged

public void renderingChanged(ClusterMap map)
Description copied from interface: ClusterMapListener
Event that signals that the rendering has changed, other than through selection or structural graph changes.

Specified by:
renderingChanged in interface ClusterMapListener

selectionChanged

public void selectionChanged(ClusterMap map)
Description copied from interface: ClusterMapListener
Event that signals that the current set of selected objects has changed, triggered by user interaction in the ClusterMap or by request from other components.

Specified by:
selectionChanged in interface ClusterMapListener


Copyright © 1997-2008 Aduna. All Rights Reserved.