Groovy Documentation

griffon.lanterna.widgets
[Java] Class MutableAction

java.lang.Object
  org.codehaus.griffon.runtime.core.AbstractObservable
      griffon.lanterna.widgets.MutableAction
All Implemented Interfaces:
com.googlecode.lanterna.gui.Action

public class MutableAction
extends AbstractObservable

Authors:
Andres Almiray


Nested Class Summary
enum MutableAction.ResolveStrategy

 
Field Summary
static String NAME

private com.googlecode.lanterna.gui.Action delegate

private String name

private MutableAction.ResolveStrategy resolveStrategy

@author Andres Almiray

private Runnable runnable

 
Constructor Summary
MutableAction()

MutableAction(String name)

MutableAction(Runnable runnable)

MutableAction(com.googlecode.lanterna.gui.Action delegate)

 
Method Summary
void doAction()

com.googlecode.lanterna.gui.Action getDelegate()

String getName()

MutableAction.ResolveStrategy getResolveStrategy()

Runnable getRunnable()

void setDelegate(com.googlecode.lanterna.gui.Action delegate)

void setName(String name)

void setResolveStrategy(MutableAction.ResolveStrategy resolveStrategy)

void setRunnable(Runnable runnable)

String toString()

MutableAction valueOf(String name)

Returns the enum constant of this type with the specified name.

MutableAction[] values()

Returns an array containing the constants of this enum type, in the order they are declared.

 
Methods inherited from class AbstractObservable
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

NAME

public static final String NAME


delegate

private com.googlecode.lanterna.gui.Action delegate


name

private String name


resolveStrategy

private MutableAction.ResolveStrategy resolveStrategy
Authors:
Andres Almiray


runnable

private Runnable runnable


 
Constructor Detail

MutableAction

public MutableAction()


MutableAction

public MutableAction(String name)


MutableAction

public MutableAction(Runnable runnable)


MutableAction

public MutableAction(com.googlecode.lanterna.gui.Action delegate)


 
Method Detail

doAction

public void doAction()


getDelegate

public com.googlecode.lanterna.gui.Action getDelegate()


getName

public String getName()


getResolveStrategy

public MutableAction.ResolveStrategy getResolveStrategy()


getRunnable

public Runnable getRunnable()


setDelegate

public void setDelegate(com.googlecode.lanterna.gui.Action delegate)


setName

public void setName(String name)


setResolveStrategy

public void setResolveStrategy(MutableAction.ResolveStrategy resolveStrategy)


setRunnable

public void setRunnable(Runnable runnable)


toString

public String toString()


valueOf

MutableAction valueOf(String name)
Returns the enum constant of this type with the specified name.


values

MutableAction[] values()
Returns an array containing the constants of this enum type, in the order they are declared.


 

Groovy Documentation