edu.umd.cs.piccolox.event
Class MySelectionHandler

java.lang.Object
  extended byedu.umd.cs.piccolo.event.PBasicInputEventHandler
      extended byedu.umd.cs.piccolo.event.PDragSequenceEventHandler
          extended byedu.umd.cs.piccolox.event.GuessSelectionEventHandler
              extended byedu.umd.cs.piccolox.event.MySelectionHandler
All Implemented Interfaces:
EventListener, PInputEventListener

public class MySelectionHandler
extends GuessSelectionEventHandler


Field Summary
 
Fields inherited from class edu.umd.cs.piccolox.event.GuessSelectionEventHandler
SELECTION_CHANGED_NOTIFICATION
 
Constructor Summary
MySelectionHandler(PLayer layer1, PLayer layer2)
           
 
Method Summary
 void switchTo(PLayer layer2)
           
 void switchTo(PLayer layer2, boolean moveAllowed)
           
 
Methods inherited from class edu.umd.cs.piccolox.event.GuessSelectionEventHandler
addSelectableParent, decorateSelectedNode, getMarqueePaint, getMarqueePaintTransparency, getSelectableParents, getSelection, getSelectionReference, getSupportDeleteKey, isDeleteKeyActive, isOptionSelection, isSelected, keyPressed, removeSelectableParent, select, select, select, setDeleteKeyActive, setMarqueePaint, setMarqueePaintTransparency, setSelectableParent, setSelectableParents, switchTo, undecorateSelectedNode, unselect, unselect, unselectAll
 
Methods inherited from class edu.umd.cs.piccolo.event.PDragSequenceEventHandler
getMinDragStartDistance, getMousePressedCanvasPoint, isDragging, mouseDragged, mousePressed, mouseReleased, setIsDragging, setMinDragStartDistance
 
Methods inherited from class edu.umd.cs.piccolo.event.PBasicInputEventHandler
acceptsEvent, getEventFilter, keyboardFocusGained, keyboardFocusLost, keyReleased, keyTyped, mouseClicked, mouseEntered, mouseExited, mouseMoved, mouseWheelRotated, mouseWheelRotatedByBlock, processEvent, setEventFilter, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MySelectionHandler

public MySelectionHandler(PLayer layer1,
                          PLayer layer2)
Method Detail

switchTo

public void switchTo(PLayer layer2)

switchTo

public void switchTo(PLayer layer2,
                     boolean moveAllowed)