Class SwingTreeView.SwingPickEngine

All Implemented Interfaces:
Graphic, PickEngine
Enclosing class:

public static class SwingTreeView.SwingPickEngine
extends AbstractPickEngine

Pick engine needed to pick nodes in this view.

Nested Class Summary
Nested classes inherited from class gumbo.graphic.probe.AbstractPickEngine
AbstractPickEngine.DistanceComparator, AbstractPickEngine.GroupComparator
Constructor Summary
Method Summary
protected  java.util.List doRawPick(java.util.Set specs, java.lang.Object picker, java.lang.Object pickable, java.util.List retVal)
          Called by the system to perform a pick operation between each combination of picker and pickable.
Methods inherited from class gumbo.graphic.probe.AbstractPickEngine
checkPickSpecs, doGraphicPick, getGraphic
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public SwingTreeView.SwingPickEngine()
Method Detail


protected java.util.List doRawPick(java.util.Set specs,
                                   java.lang.Object picker,
                                   java.lang.Object pickable,
                                   java.util.List retVal)
Description copied from class: AbstractPickEngine
Called by the system to perform a pick operation between each combination of picker and pickable. Default implementation: Performs intersection testing using IntersectableGraphic for the intersectable and GraphicGeometry for the intersector. First tries the picker, then the pickable, as the intersector. Returns none or one hit result. The hit result will have no distance (hence cannot support PICK_ORDERED) or other information, regardless of the pick specs.

doRawPick in class AbstractPickEngine
specs - The pick specs. Never null.
picker - The picker. Never null.
pickable - The pickable. Never null.
retVal - Return value object. Hit results (HitResult), ordered if required. Never null.
Reference to retVal. Null if the pick operation is benignly invalid (picking is inactive) or should be ignored (consumed by the native graphic system).