|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.AbstractAction
info.aduna.clustermap.action.UpdateLayoutAction
public class UpdateLayoutAction
An UpdateLayoutAction updates the layout (and rendering) of the graph, so that it again meets the aesthetic criteria of the layout algorithm. This is useful to "renice" the graph after editing, or when certain visual cluster sizes have changed.
| 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 | |
|---|---|
UpdateLayoutAction(ClusterMap map)
|
|
| 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 |
|---|
public UpdateLayoutAction(ClusterMap map)
| Method Detail |
|---|
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic void clusterModelChanged(ClusterMap map)
ClusterMapListener
clusterModelChanged in interface ClusterMapListenerpublic void graphChanged(ClusterMap map)
ClusterMapListener
graphChanged in interface ClusterMapListener
public void propertyChanged(String property,
Object subject,
ClusterMap map)
ClusterMapListener
propertyChanged in interface ClusterMapListenerpublic void renderingChanged(ClusterMap map)
ClusterMapListener
renderingChanged in interface ClusterMapListenerpublic void selectionChanged(ClusterMap map)
ClusterMapListener
selectionChanged in interface ClusterMapListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||