org.grinvin.gred.actions

Class SnapshotAction


public class SnapshotAction
extends GraphPanelAction

Action that takes a snapshot of the current graph in a panel and stores it into the given graph list.

Field Summary

Fields inherited from class org.grinvin.gred.actions.GraphPanelAction

panel

Constructor Summary

SnapshotAction(GraphPanel panel, GraphList graphList)
Construct an action of this kind.

Method Summary

void
actionPerformed(ActionEvent e)
Takes a snapshot of the current graph in a panel and stores it into the given graph list.

Constructor Details

SnapshotAction

public SnapshotAction(GraphPanel panel,
                      GraphList graphList)
Construct an action of this kind.

Method Details

actionPerformed

public void actionPerformed(ActionEvent e)
Takes a snapshot of the current graph in a panel and stores it into the given graph list.