IAction
, java.io.Serializable
public class ModifyAction extends java.lang.Object implements IAction, java.io.Serializable
Constructor | Description |
---|---|
ModifyAction(Modifier modifier) |
Constuctor requires the wrapped Modifier, which is final.
|
Modifier and Type | Method | Description |
---|---|---|
void |
actionPerformed() |
Executes the setValue method of the wrapped modifier, using
the value given in the most recent call to this.setValue.
|
Dimension |
getDimension() |
|
double |
getValue() |
|
Modifier |
getWrappedModifier() |
|
void |
setValueForAction(double newValue) |
Stores the new value to be set by the wrapped modifier.
|
public ModifyAction(Modifier modifier)
public void actionPerformed()
actionPerformed
in interface IAction
public void setValueForAction(double newValue)
public double getValue()
public Dimension getDimension()
public Modifier getWrappedModifier()