|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides a mechanism for rendering layers into an OpenGL context.
Method Summary | |
LayerRealizer25D |
createCopy()
Creates a copy of this realizer and returns it. |
String |
getLabelText()
Returns the label text of the label associated with this realizer. |
boolean |
isSelected()
Returns true if this realizer is currently selected,
false otherwise. |
void |
paintGL(GLAutoDrawable drawable,
Camera camera)
Renders the layer this realizer belongs to into the given drawable. |
void |
setLabelText(String text)
Sets the label text of the label associated with this realizer. |
void |
setSelected(boolean selected)
Sets the selection state of this realizer. |
Methods inherited from interface y25.layout.LayerLayout25D |
getRealativeBoundingBox, getZ, setRelativeBoundingBox, setZ |
Method Detail |
public LayerRealizer25D createCopy()
public void paintGL(GLAutoDrawable drawable, Camera camera)
The passed camera is the one that is used to display this layer. It can be used, for example, to render a layer differently depending on the viewing position, or to display labels that always face the viewer.
public boolean isSelected()
true
if this realizer is currently selected,
false
otherwise.
public void setSelected(boolean selected)
public String getLabelText()
public void setLabelText(String text)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |