public class MyRectangleSelectionEventHandler extends OrderedPSelectionEventHandler
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
selectionStatusString |
currentSelection
Constructor and Description |
---|
MyRectangleSelectionEventHandler(edu.umd.cs.piccolo.PNode marqueeParent,
edu.umd.cs.piccolo.PNode selectableParents) |
Modifier and Type | Method and Description |
---|---|
void |
decorateSelectedNode(edu.umd.cs.piccolo.PNode node) |
protected void |
drag(edu.umd.cs.piccolo.event.PInputEvent arg0) |
protected boolean |
isMarqueeSelection(edu.umd.cs.piccolo.event.PInputEvent arg0) |
void |
mouseClicked(edu.umd.cs.piccolo.event.PInputEvent event) |
void |
undecorateSelectedNode(edu.umd.cs.piccolo.PNode node) |
alreadySelected, getSelection, init, select, select, select, startDrag, unselect, unselect, unselectAll
addSelectableParent, computeMarqueeSelection, computeOptionMarqueeSelection, createNodeFilter, dragActivityStep, dragStandardSelection, endDrag, endMarqueeSelection, endStandardSelection, getMarqueeBounds, getMarqueePaint, getMarqueePaintTransparency, getSelectableParents, getSelectionReference, getSupportDeleteKey, initializeMarquee, initializeSelection, isDeleteKeyActive, isOptionSelection, isSelectable, isSelected, keyPressed, removeSelectableParent, setDeleteKeyActive, setMarqueePaint, setMarqueePaintTransparency, setSelectableParent, setSelectableParents, startMarqueeSelection, startOptionMarqueeSelection, startStandardOptionSelection, startStandardSelection, updateMarquee
dragActivityFinalStep, dragActivityFirstStep, getDragActivity, getMinDragStartDistance, getMousePressedCanvasPoint, isDragging, mouseDragged, mousePressed, mouseReleased, paramString, setIsDragging, setMinDragStartDistance, shouldStartDragInteraction, startDragActivity, stopDragActivity
public MyRectangleSelectionEventHandler(edu.umd.cs.piccolo.PNode marqueeParent, edu.umd.cs.piccolo.PNode selectableParents)
public void decorateSelectedNode(edu.umd.cs.piccolo.PNode node)
decorateSelectedNode
in class edu.umd.cs.piccolox.event.PSelectionEventHandler
public void undecorateSelectedNode(edu.umd.cs.piccolo.PNode node)
undecorateSelectedNode
in class edu.umd.cs.piccolox.event.PSelectionEventHandler
protected boolean isMarqueeSelection(edu.umd.cs.piccolo.event.PInputEvent arg0)
isMarqueeSelection
in class edu.umd.cs.piccolox.event.PSelectionEventHandler
protected void drag(edu.umd.cs.piccolo.event.PInputEvent arg0)
drag
in class edu.umd.cs.piccolox.event.PSelectionEventHandler
public void mouseClicked(edu.umd.cs.piccolo.event.PInputEvent event)
mouseClicked
in class edu.umd.cs.piccolo.event.PBasicInputEventHandler