|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecty25.view.realizer.DummyLayerRealizer25D
Implementation of a LayerRealizer with no function. This is useful for debugging.
Field Summary | |
protected boolean |
selected
|
protected double |
z
|
Constructor Summary | |
DummyLayerRealizer25D()
|
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. |
BoundingBox |
getRealativeBoundingBox()
Returns the relative bounding box of the layer. |
double |
getZ()
Returns the z-position of the layer. |
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 |
setRelativeBoundingBox(BoundingBox bb)
Sets the relative bounding box of the layer, thereby determining the layer's extent in the (x,y) plane (z-values of the bounding box should therefore be 0). |
void |
setSelected(boolean selected)
Sets the selection state of this realizer. |
void |
setZ(double zz)
Sets the z-position of the layer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected double z
protected boolean selected
Constructor Detail |
public DummyLayerRealizer25D()
Method Detail |
public double getZ()
LayerLayout25D
getZ
in interface LayerLayout25D
public void setZ(double zz)
LayerLayout25D
setZ
in interface LayerLayout25D
public LayerRealizer25D createCopy()
LayerRealizer25D
createCopy
in interface LayerRealizer25D
public void paintGL(GLAutoDrawable drawable, Camera camera)
LayerRealizer25D
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.
paintGL
in interface LayerRealizer25D
public void setRelativeBoundingBox(BoundingBox bb)
LayerLayout25D
setRelativeBoundingBox
in interface LayerLayout25D
public BoundingBox getRealativeBoundingBox()
LayerLayout25D
getRealativeBoundingBox
in interface LayerLayout25D
public boolean isSelected()
LayerRealizer25D
true
if this realizer is currently selected,
false
otherwise.
isSelected
in interface LayerRealizer25D
public void setSelected(boolean selected)
LayerRealizer25D
setSelected
in interface LayerRealizer25D
public String getLabelText()
LayerRealizer25D
getLabelText
in interface LayerRealizer25D
public void setLabelText(String text)
LayerRealizer25D
setLabelText
in interface LayerRealizer25D
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |