public class ControlPointEditor extends AbstractEditor<Point2D,Point2D>
myChildren, myConsumers, myParent, myRecursiveConsumers, mySelectedIndex, mySharedHistory, myStates, PROP_NAME| Constructor and Description |
|---|
ControlPointEditor(Point2D p,
HistoryStack hist) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
addChildBase(Object invoker,
org.jflux.api.common.rk.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() |
addChild, addConsumer, addRecursiveToChild, afterAddChild, clearConsumers, deselect, fireItemAddedEvent, fireItemAddedEvent, fireItemMovedEvent, fireItemMovedEvent, fireItemRemovedEvent, fireItemRemovedEvent, fireSelectionChangeEvent, fireSelectionChangeEvent, fireStateChangedEvent, fireStateChangedEvent, fireStructureChangedEvent, fireStructureChangedEvent, getChildren, getInheritedFlags, getParent, getRestrictiveFlags, 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 ControlPointEditor(Point2D p, HistoryStack hist)
p - properties - hist - 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)
AbstractEditorremoveChild in class AbstractEditor<Point2D,Point2D>x - y - s - distance - protected Point2D createChildController(Point2D childBase)
AbstractEditorcreateChildController in class AbstractEditor<Point2D,Point2D>childBase - the ChildBase for the requested ChildControllerpublic boolean isChildUIController()
AbstractEditorisChildUIController in class AbstractEditor<Point2D,Point2D>protected int addChildBase(Object invoker, org.jflux.api.common.rk.utils.RKSource<Point2D> childBase, int i)
AbstractEditoraddChildBase in class AbstractEditor<Point2D,Point2D>childBase - the ChildBase to be addedprotected int insertChildControllerBase(Point2D controller, int i)
AbstractEditorinsertChildControllerBase in class AbstractEditor<Point2D,Point2D>controller - ChildController that is being addedi - the index the child should be added atpublic 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()
Copyright © 2011-2014. All Rights Reserved.