public class ChannelEditor extends AbstractEditor<MotionPath,MotionPathEditor>
myChildren, myConsumers, myParent, myRecursiveConsumers, mySelectedIndex, mySharedHistory, myStates, PROP_NAME| Constructor and Description |
|---|
ChannelEditor(Channel channel,
HistoryStack hist) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
addChildBase(Object invoker,
org.jflux.api.common.rk.utils.RKSource<MotionPath> pathSource,
int i)
Called when a child is requested to be added.
|
protected void |
afterAddChild() |
protected MotionPathEditor |
createChildController(MotionPath path)
Called when a new Controller needs to be created
|
protected Channel |
getChannel() |
static Color |
getChannelColor(Integer i) |
protected Channel |
getChannelView() |
CompiledPath |
getCompiledPath(long start,
long end,
long stepLength) |
long |
getEnd() |
int |
getId() |
List<Point2D> |
getInterpolatedPoints() |
String |
getName() |
Color |
getPrimaryColor() |
long |
getStart() |
protected int |
insertChildControllerBase(MotionPathEditor controller,
int i)
Called when inserting an existing ChildController.
|
boolean |
isChildUIController()
This should return true if ChildController extends AbstractEditor.
|
protected MotionPath |
removeChild(Object invoker,
int i)
Called when the child with the given index is requested to be removed.
|
protected void |
setEnabled(MotionPath mp,
boolean enabled) |
void |
setName(String name) |
void |
setPrimaryColor(Object invoker,
Color col) |
addChild, addConsumer, addRecursiveToChild, clearConsumers, deselect, fireItemAddedEvent, fireItemAddedEvent, fireItemMovedEvent, fireItemMovedEvent, fireItemRemovedEvent, fireItemRemovedEvent, fireSelectionChangeEvent, fireSelectionChangeEvent, fireStateChangedEvent, fireStateChangedEvent, fireStructureChangedEvent, fireStructureChangedEvent, getChild, getChildren, getInheritedFlags, getParent, getRestrictiveFlags, getSelected, getSelectedIndex, getSharedHistory, getStateFlags, getStates, hasFlag, insertChild, insertChildController, isLocked, recursiveAdd, recursiveRemove, removeChild, removeChildByIndex, removeConsumer, removeFromConsumerList, removeFromRecursiveList, select, setChildren, setParent, setSelected, setStateaddPropertyChangeListener, addPropertyChangeListener, clearAllListeners, clearListeners, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeListeners, getPropertyChangeListeners, hasListeners, removePropertyChangeListener, removePropertyChangeListenerpublic ChannelEditor(Channel channel, HistoryStack hist)
channel - properties - hist - protected MotionPath removeChild(Object invoker, int i)
AbstractEditorremoveChild in class AbstractEditor<MotionPath,MotionPathEditor>i - the index of the child to removeprotected Channel getChannelView()
public CompiledPath getCompiledPath(long start, long end, long stepLength)
start - end - stepLength - public void setName(String name)
setName in class AbstractEditor<MotionPath,MotionPathEditor>name - public String getName()
getName in class AbstractEditor<MotionPath,MotionPathEditor>public Color getPrimaryColor()
public long getEnd()
public long getStart()
protected void setEnabled(MotionPath mp, boolean enabled)
mp - enabled - protected MotionPathEditor createChildController(MotionPath path)
AbstractEditorcreateChildController in class AbstractEditor<MotionPath,MotionPathEditor>path - the ChildBase for the requested ChildControllerpublic boolean isChildUIController()
AbstractEditorisChildUIController in class AbstractEditor<MotionPath,MotionPathEditor>protected int addChildBase(Object invoker, org.jflux.api.common.rk.utils.RKSource<MotionPath> pathSource, int i)
AbstractEditoraddChildBase in class AbstractEditor<MotionPath,MotionPathEditor>pathSource - the ChildBase to be addedprotected int insertChildControllerBase(MotionPathEditor controller, int i)
AbstractEditorinsertChildControllerBase in class AbstractEditor<MotionPath,MotionPathEditor>controller - ChildController that is being addedi - the index the child should be added atprotected void afterAddChild()
afterAddChild in class AbstractEditor<MotionPath,MotionPathEditor>protected Channel getChannel()
public int getId()
Copyright © 2011-2016. All Rights Reserved.