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