|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GLSelectable
Field Summary |
---|
Fields inherited from interface maspack.render.GLRenderable |
---|
TRANSLUCENT, TWO_DIMENSIONAL |
Method Summary | |
---|---|
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. |
Methods inherited from interface maspack.render.GLRenderable |
---|
getRenderHints, prerender, render, updateBounds |
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |