|
||||||||||
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<Point2D,Point2D>
org.robokind.api.animation.editor.ControlPointEditor
public class ControlPointEditor
Field Summary |
---|
Fields inherited from class org.robokind.api.animation.editor.AbstractEditor |
---|
myChildren, myConsumers, myParent, myRecursiveConsumers, mySelectedIndex, mySharedHistory, myStates, PROP_NAME |
Constructor Summary | |
---|---|
ControlPointEditor(Point2D p,
HistoryStack hist)
|
Method Summary | |
---|---|
protected int |
addChildBase(Object invoker,
org.robokind.api.common.utils.RKSource<Point2D> childBase,
int i)
Called when a child is requested to be added. |
protected Point2D |
createChildController(Point2D childBase)
Called when a new Controller needs to be created |
Point2D |
getChild(int i)
|
String |
getName()
|
SynchronizedPointGroup |
getPointGroup()
|
Point2D |
getSelected()
|
ActionListener |
getUnlinkAction()
|
protected int |
insertChildControllerBase(Point2D controller,
int i)
Called when inserting an existing ChildController. |
boolean |
isChildUIController()
This should return true if ChildController extends AbstractEditor. |
boolean |
isGrouped()
|
protected Point2D |
removeChild(Object invoker,
int i)
Called when the child with the given index is requested to be removed. |
void |
setName(String name)
|
void |
setPoint(Point2D p)
Does not fire an event. |
void |
setPointGroup(SynchronizedPointGroup group)
|
void |
setUnlinkAction(ActionListener action)
|
void |
startDragging()
|
void |
stopDragging()
|
Methods inherited from class org.robokind.api.common.property.PropertyChangeNotifier |
---|
addPropertyChangeListener, addPropertyChangeListener, clearAllListeners, clearListeners, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeListeners, getPropertyChangeListeners, hasListeners, removePropertyChangeListener, removePropertyChangeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ControlPointEditor(Point2D p, HistoryStack hist)
p
- properties
- hist
- Method Detail |
---|
public void setName(String name)
setName
in class AbstractEditor<Point2D,Point2D>
name
- public String getName()
getName
in class AbstractEditor<Point2D,Point2D>
public void setPoint(Point2D p)
p
- protected Point2D removeChild(Object invoker, int i)
AbstractEditor
removeChild
in class AbstractEditor<Point2D,Point2D>
x
- y
- s
- distance
-
protected Point2D createChildController(Point2D childBase)
AbstractEditor
createChildController
in class AbstractEditor<Point2D,Point2D>
childBase
- the ChildBase for the requested ChildController
public boolean isChildUIController()
AbstractEditor
isChildUIController
in class AbstractEditor<Point2D,Point2D>
protected int addChildBase(Object invoker, org.robokind.api.common.utils.RKSource<Point2D> childBase, int i)
AbstractEditor
addChildBase
in class AbstractEditor<Point2D,Point2D>
childBase
- the ChildBase to be added
protected int insertChildControllerBase(Point2D controller, int i)
AbstractEditor
insertChildControllerBase
in class AbstractEditor<Point2D,Point2D>
controller
- ChildController that is being addedi
- the index the child should be added at
public Point2D getChild(int i)
getChild
in class AbstractEditor<Point2D,Point2D>
i
-
public Point2D getSelected()
getSelected
in class AbstractEditor<Point2D,Point2D>
public void setPointGroup(SynchronizedPointGroup group)
public boolean isGrouped()
public SynchronizedPointGroup getPointGroup()
public void setUnlinkAction(ActionListener action)
public ActionListener getUnlinkAction()
public void startDragging()
public void stopDragging()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |