org.das2.graph.SelectionUtil

utilities for managing selection feedback, where we have a glow to indicate focus.

SelectionUtil( )


NULL


getSelectionArea

getSelectionArea( org.das2.graph.Renderer r ) → Shape

returns the selection area, or SelectionUtil.NULL.

Parameters

r - the renderer, one of a list of coded renderers

Returns:

the renderer-specific selection area, or the current bounds of the renderer parent. TODO: this should be part of the Renderer interface.

[search for examples] [view on GitHub] [view on old javadoc] [view source]

getSelectionArea( org.das2.graph.DasCanvasComponent cc ) → Shape