org.grinvin.list.actions

Class RecalculateInvariantValueAction


public class RecalculateInvariantValueAction
extends AbstractInvariantValueAction

Action which can be used to invalidate an invariant value for the graphbundle in a graph list element. The graph list element and invariant value must be set before the action can be performed and the invariant value has to belong to the graph bundle in the graph list element.

Field Summary

Fields inherited from class org.grinvin.list.actions.AbstractInvariantValueAction

gle, iv

Constructor Summary

RecalculateInvariantValueAction()
Create an action of this type.
RecalculateInvariantValueAction(InvariantValue iv, GraphListElement gle)
Create an action of this type for the given invariant value and graph list element.

Method Summary

void
actionPerformed(ActionEvent ev)

Methods inherited from class org.grinvin.list.actions.AbstractInvariantValueAction

setEnabled, setEnabled, setGraphListElement, setInvariantValue

Constructor Details

RecalculateInvariantValueAction

public RecalculateInvariantValueAction()
Create an action of this type. The graph list element and invariant value to which this action applies should be set later using RecalculateInvariantValueAction and RecalculateInvariantValueAction.

RecalculateInvariantValueAction

public RecalculateInvariantValueAction(InvariantValue iv,
                                       GraphListElement gle)
Create an action of this type for the given invariant value and graph list element.

Method Details

actionPerformed

public void actionPerformed(ActionEvent ev)