|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.umd.cs.piccolo.event.PBasicInputEventHandler
edu.umd.cs.piccolo.event.PDragSequenceEventHandler
edu.umd.cs.piccolox.event.PSelectionEventHandler
at.tuwien.ifs.somtoolbox.apps.viewer.handlers.OrderedPSelectionEventHandler
at.tuwien.ifs.somtoolbox.apps.viewer.handlers.ClusterSelectionEventHandler
public class ClusterSelectionEventHandler
EventHandler for selecting clusters by rectangle.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class edu.umd.cs.piccolox.event.PSelectionEventHandler |
|---|
edu.umd.cs.piccolox.event.PSelectionEventHandler.BoundsFilter |
| Field Summary | |
|---|---|
private MapPNode |
mapPNode
|
private ArrayList<GeneralUnitPNode> |
markedNodes
|
private String |
selectionStatusString
|
| Fields inherited from class at.tuwien.ifs.somtoolbox.apps.viewer.handlers.OrderedPSelectionEventHandler |
|---|
currentSelection |
| Fields inherited from class edu.umd.cs.piccolox.event.PSelectionEventHandler |
|---|
SELECTION_CHANGED_NOTIFICATION |
| Constructor Summary | |
|---|---|
ClusterSelectionEventHandler(edu.umd.cs.piccolo.PNode marqueeParent,
edu.umd.cs.piccolo.PNode selectableParents)
|
|
| Method Summary | |
|---|---|
void |
decorateSelectedNode(edu.umd.cs.piccolo.PNode node)
|
protected void |
drag(edu.umd.cs.piccolo.event.PInputEvent e)
|
protected boolean |
isMarqueeSelection(edu.umd.cs.piccolo.event.PInputEvent e)
|
boolean |
isOptionSelection(edu.umd.cs.piccolo.event.PInputEvent pie)
|
private void |
markCluster(edu.umd.cs.piccolo.event.PInputEvent event)
|
void |
mouseClicked(edu.umd.cs.piccolo.event.PInputEvent event)
|
void |
mouseReleased(edu.umd.cs.piccolo.event.PInputEvent e)
|
void |
undecorateSelectedNode(edu.umd.cs.piccolo.PNode node)
|
| Methods inherited from class at.tuwien.ifs.somtoolbox.apps.viewer.handlers.OrderedPSelectionEventHandler |
|---|
alreadySelected, getSelection, init, select, select, select, startDrag, unselect, unselect, unselectAll |
| Methods inherited from class edu.umd.cs.piccolox.event.PSelectionEventHandler |
|---|
addSelectableParent, computeMarqueeSelection, computeOptionMarqueeSelection, createNodeFilter, dragActivityStep, dragStandardSelection, endDrag, endMarqueeSelection, endStandardSelection, getMarqueeBounds, getMarqueePaint, getMarqueePaintTransparency, getSelectableParents, getSelectionReference, getSupportDeleteKey, initializeMarquee, initializeSelection, isDeleteKeyActive, isSelectable, isSelected, keyPressed, removeSelectableParent, setDeleteKeyActive, setMarqueePaint, setMarqueePaintTransparency, setSelectableParent, setSelectableParents, startMarqueeSelection, startOptionMarqueeSelection, startStandardOptionSelection, startStandardSelection, updateMarquee |
| Methods inherited from class edu.umd.cs.piccolo.event.PDragSequenceEventHandler |
|---|
dragActivityFinalStep, dragActivityFirstStep, getDragActivity, getMinDragStartDistance, getMousePressedCanvasPoint, isDragging, mouseDragged, mousePressed, paramString, setIsDragging, setMinDragStartDistance, shouldStartDragInteraction, startDragActivity, stopDragActivity |
| Methods inherited from class edu.umd.cs.piccolo.event.PBasicInputEventHandler |
|---|
acceptsEvent, getEventFilter, keyboardFocusGained, keyboardFocusLost, keyReleased, keyTyped, mouseEntered, mouseExited, mouseMoved, mouseWheelRotated, mouseWheelRotatedByBlock, processEvent, setEventFilter, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private String selectionStatusString
private MapPNode mapPNode
private ArrayList<GeneralUnitPNode> markedNodes
| Constructor Detail |
|---|
public ClusterSelectionEventHandler(edu.umd.cs.piccolo.PNode marqueeParent,
edu.umd.cs.piccolo.PNode selectableParents)
| Method Detail |
|---|
public void decorateSelectedNode(edu.umd.cs.piccolo.PNode node)
decorateSelectedNode in class edu.umd.cs.piccolox.event.PSelectionEventHandlerpublic void undecorateSelectedNode(edu.umd.cs.piccolo.PNode node)
undecorateSelectedNode in class edu.umd.cs.piccolox.event.PSelectionEventHandlerprotected boolean isMarqueeSelection(edu.umd.cs.piccolo.event.PInputEvent e)
isMarqueeSelection in class edu.umd.cs.piccolox.event.PSelectionEventHandlerprotected void drag(edu.umd.cs.piccolo.event.PInputEvent e)
drag in class edu.umd.cs.piccolox.event.PSelectionEventHandlerpublic void mouseReleased(edu.umd.cs.piccolo.event.PInputEvent e)
mouseReleased in class edu.umd.cs.piccolo.event.PDragSequenceEventHandlerpublic void mouseClicked(edu.umd.cs.piccolo.event.PInputEvent event)
mouseClicked in class edu.umd.cs.piccolo.event.PBasicInputEventHandlerpublic boolean isOptionSelection(edu.umd.cs.piccolo.event.PInputEvent pie)
isOptionSelection in class edu.umd.cs.piccolox.event.PSelectionEventHandlerprivate void markCluster(edu.umd.cs.piccolo.event.PInputEvent event)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||