|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.robokind.api.common.property.PropertyChangeNotifier
org.robokind.api.animation.editor.AbstractEditor<Channel,ChannelEditor>
org.robokind.api.animation.editor.AnimationEditor
public class AnimationEditor
Field Summary | |
---|---|
static String |
PROP_PATH
Property String for the Animaiton's file path. |
Fields inherited from class org.robokind.api.animation.editor.AbstractEditor |
---|
myChildren, myConsumers, myParent, myRecursiveConsumers, mySelectedIndex, mySharedHistory, myStates, PROP_NAME |
Constructor Summary | |
---|---|
AnimationEditor(Animation a,
String path,
HistoryStack hist)
|
Method Summary | |
---|---|
protected int |
addChildBase(Object invoker,
org.robokind.api.common.utils.Source<Channel> channelSource,
int i)
Called when a child is requested to be added. |
boolean |
containsLogicalId(int i)
|
protected ChannelEditor |
createChildController(Channel channel)
Called when a new Controller needs to be created |
Animation |
getAnimation()
|
Animation |
getEnabledAnimation()
|
long |
getEnd()
|
String |
getFilePath()
|
String |
getName()
|
org.robokind.api.common.config.VersionProperty |
getVersion()
|
protected int |
insertChildControllerBase(ChannelEditor controller,
int i)
Called when inserting an existing ChildController. |
boolean |
isChildUIController()
This should return true if ChildController extends AbstractEditor. |
protected Channel |
removeChild(Object invoker,
int i)
Called when the child with the given index is requested to be removed. |
void |
setFilePath(String path)
|
void |
setName(String name)
|
protected void |
setSelected(int i,
boolean sel)
|
void |
setVersion(org.robokind.api.common.config.VersionProperty version)
|
void |
setVersionNumber(String versionNumber)
|
Methods inherited from class org.robokind.api.common.property.PropertyChangeNotifier |
---|
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, removePropertyChangeListener, removePropertyChangeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PROP_PATH
Constructor Detail |
---|
public AnimationEditor(Animation a, String path, HistoryStack hist)
a
- ps
- path
- hist
- Method Detail |
---|
public String getFilePath()
public void setFilePath(String path)
path
- protected void setSelected(int i, boolean sel)
setSelected
in class AbstractEditor<Channel,ChannelEditor>
i
- sel
- public String getName()
getName
in class AbstractEditor<Channel,ChannelEditor>
public void setName(String name)
setName
in class AbstractEditor<Channel,ChannelEditor>
name
- public void setVersionNumber(String versionNumber)
versionNumber
- public org.robokind.api.common.config.VersionProperty getVersion()
public void setVersion(org.robokind.api.common.config.VersionProperty version)
version
- protected Channel removeChild(Object invoker, int i)
AbstractEditor
removeChild
in class AbstractEditor<Channel,ChannelEditor>
i
- the index of the child to remove
public Animation getAnimation()
public Animation getEnabledAnimation()
public boolean containsLogicalId(int i)
i
-
public long getEnd()
protected ChannelEditor createChildController(Channel channel)
AbstractEditor
createChildController
in class AbstractEditor<Channel,ChannelEditor>
channel
- the ChildBase for the requested ChildController
public boolean isChildUIController()
AbstractEditor
isChildUIController
in class AbstractEditor<Channel,ChannelEditor>
protected int addChildBase(Object invoker, org.robokind.api.common.utils.Source<Channel> channelSource, int i)
AbstractEditor
addChildBase
in class AbstractEditor<Channel,ChannelEditor>
channelSource
- the ChildBase to be added
protected int insertChildControllerBase(ChannelEditor controller, int i)
AbstractEditor
insertChildControllerBase
in class AbstractEditor<Channel,ChannelEditor>
controller
- ChildController that is being addedi
- the index the child should be added at
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |