public interface IsSelectable extends IsRenderable
|Modifier and Type||Method and Description|
Returns true if this object is in fact selectable.
If this selectable manages its own selection (by issuing selection queries within its
getRenderHints, prerender, render, updateBounds
rendermethod), then this method should return the maximum number of selection queries that will be required. Otherwise, this method should return -1.
void getSelection(java.util.LinkedList<java.lang.Object> list, int qid)
listthe component (or components) associated with the
qid-th selection query issued by this component's render method. This will only be called if this component manages its own selection (i.e., the number
numSelectionQueriesNeeded()is positive), and
qidwill in turn be a number between 0 and
list- selected objects are appended to the end of this list
qid- index of the selection query