info.aduna.clustermap.action
Class ExportAction

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

public class ExportAction
extends AbstractAction
implements ClusterMapListener

ExportAction allows the user to export the visual contents of a ClusterMap to various export formats. The specific set of available formats is determined by the ExportWizard used by this ExportAction. The wizard shown by the ExportAction obeys the settings for which formats should be exportable. However, the wizard is not updated when these settings change; you need to create a new ExportAction in that case.

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
ExportAction(GraphPanel panel)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
          Lazily creates an ExportWizard in a JDialog and makes it visible.
 void clusterModelChanged(ClusterMap map)
          Event that signals that the ClusterMap has gotten a different ClusterModel instance.
protected  ExportWizard createWizard(GraphPanel panel2)
           
 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

ExportAction

public ExportAction(GraphPanel panel)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Lazily creates an ExportWizard in a JDialog and makes it visible.

Specified by:
actionPerformed in interface ActionListener

createWizard

protected ExportWizard createWizard(GraphPanel panel2)

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

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

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

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


Copyright © 1997-2008 Aduna. All Rights Reserved.