org.grinvin.list.actions

Class ShowDetailsAction


public class ShowDetailsAction
extends AbstractInvariantValueAction

Action which can be used to show details for an invariant value.

Field Summary

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

gle, iv

Constructor Summary

ShowDetailsAction()
Create an action of this type.
ShowDetailsAction(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)
void
setComponent(JComponent comp)
void
setEnabled(InvariantValue value)
protected void
setEnabled(GraphListElement element)
void
setX(int x)
void
setY(int y)

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

setEnabled, setEnabled, setGraphListElement, setInvariantValue

Constructor Details

ShowDetailsAction

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

ShowDetailsAction

public ShowDetailsAction(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)

setComponent

public void setComponent(JComponent comp)

setEnabled

public void setEnabled(InvariantValue value)
Overrides:
setEnabled in interface AbstractInvariantValueAction

setEnabled

protected void setEnabled(GraphListElement element)
Overrides:
setEnabled in interface AbstractInvariantValueAction

setX

public void setX(int x)

setY

public void setY(int y)