org.robokind.api.animation.editor.features
Class SynchronizedPointGroup

java.lang.Object
  extended by org.robokind.api.animation.editor.EditorListener
      extended by org.robokind.api.animation.editor.features.SynchronizedPointGroup
All Implemented Interfaces:
PropertyChangeListener, EventListener

public class SynchronizedPointGroup
extends EditorListener
implements PropertyChangeListener

Author:
Matthew Stevenson

Nested Class Summary
 class SynchronizedPointGroup.LinkAction
           
 class SynchronizedPointGroup.LinkPoints
           
 class SynchronizedPointGroup.UnlinkAction
           
 
Constructor Summary
SynchronizedPointGroup(List<ControlPointEditor> points, HistoryStack hist, HistoryActionGroup addAction)
           
 
Method Summary
 void addPositions(Map<Integer,Double> positions)
           
 List<ControlPointEditor> getPoints()
           
 HistoryAction getUnlinkHistoryAction(ControlPointEditor point)
           
 void itemAdded(Object invoker, Object editor, int index)
           
 void itemMoved(Object invoker, Object editor, int oldIndex, int newIndex)
           
 void itemRemoved(Object invoker, Object editor, int index)
           
 void propertyChange(PropertyChangeEvent evt)
           
 void selectionChanged(Object invoker, Object editor, int oldIndex, int newIndex)
           
 void stateChanged(Object invoker, Object controller, EditState state, boolean value)
           
 void structureChanged(Object invoker, Object controller)
           
 
Methods inherited from class org.robokind.api.animation.editor.EditorListener
cleanConsumer, getConsumingList, startConsuming, stopConsuming
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SynchronizedPointGroup

public SynchronizedPointGroup(List<ControlPointEditor> points,
                              HistoryStack hist,
                              HistoryActionGroup addAction)
Method Detail

getPoints

public List<ControlPointEditor> getPoints()

addPositions

public void addPositions(Map<Integer,Double> positions)

selectionChanged

public void selectionChanged(Object invoker,
                             Object editor,
                             int oldIndex,
                             int newIndex)
Specified by:
selectionChanged in class EditorListener

itemAdded

public void itemAdded(Object invoker,
                      Object editor,
                      int index)
Specified by:
itemAdded in class EditorListener

itemRemoved

public void itemRemoved(Object invoker,
                        Object editor,
                        int index)
Specified by:
itemRemoved in class EditorListener

itemMoved

public void itemMoved(Object invoker,
                      Object editor,
                      int oldIndex,
                      int newIndex)
Specified by:
itemMoved in class EditorListener

stateChanged

public void stateChanged(Object invoker,
                         Object controller,
                         EditState state,
                         boolean value)
Specified by:
stateChanged in class EditorListener

structureChanged

public void structureChanged(Object invoker,
                             Object controller)
Specified by:
structureChanged in class EditorListener

propertyChange

public void propertyChange(PropertyChangeEvent evt)
Specified by:
propertyChange in interface PropertyChangeListener

getUnlinkHistoryAction

public HistoryAction getUnlinkHistoryAction(ControlPointEditor point)


Copyright © 2011-2013. All Rights Reserved.