org.robokind.api.animation.editor.actions
Class EditorAction<T extends AbstractEditor<B,C>,B,C>

java.lang.Object
  extended by org.robokind.api.animation.editor.actions.EditorAction<T,B,C>
Type Parameters:
T -
C -
B -
All Implemented Interfaces:
ActionListener, EventListener
Direct Known Subclasses:
AnimationAction, ChannelActions.ChannelAction, EditorAction.AddChild, EditorAction.AddChildController, EditorAction.Remove, EditorAction.RemoveChild, EditorAction.SetState, HistoryStack.EmptyAction, MotionPathActions.PathAction

public abstract class EditorAction<T extends AbstractEditor<B,C>,B,C>
extends Object
implements ActionListener

Author:
Matthew Stevenson

Nested Class Summary
static class EditorAction.AddChild<T extends AbstractEditor<B,C>,B,C>
           
static class EditorAction.AddChildController<T extends AbstractEditor<B,C>,B,C>
           
static class EditorAction.Remove<T extends AbstractEditor<B,C>,B,C>
           
static class EditorAction.RemoveChild<T extends AbstractEditor<B,C>,B,C>
           
static class EditorAction.SetSelect<T extends AbstractEditor<B,C>,B,C>
           
static class EditorAction.SetState<T extends AbstractEditor<B,C>,B,C>
           
 
Field Summary
protected  T myController
           
 
Constructor Summary
EditorAction(T controller)
           
 
Method Summary
static EditorAction.SetState Disabled(AbstractEditor controller)
           
 AbstractEditor getParent()
           
static EditorAction.SetState Locked(AbstractEditor controller)
           
static EditorAction.SetState Select(AbstractEditor controller)
           
static EditorAction.SetState Visible(AbstractEditor controller)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
 

Field Detail

myController

protected T extends AbstractEditor<B,C> myController
Constructor Detail

EditorAction

public EditorAction(T controller)
Parameters:
label -
controller -
Method Detail

getParent

public AbstractEditor getParent()
Returns:

Locked

public static EditorAction.SetState Locked(AbstractEditor controller)
Parameters:
controller -
set -
unset -
Returns:

Disabled

public static EditorAction.SetState Disabled(AbstractEditor controller)
Parameters:
controller -
set -
unset -
Returns:

Visible

public static EditorAction.SetState Visible(AbstractEditor controller)
Parameters:
controller -
set -
unset -
Returns:

Select

public static EditorAction.SetState Select(AbstractEditor controller)
Parameters:
controller -
set -
unset -
Returns:


Copyright © 2011. All Rights Reserved.