|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jzy3d.plot3d.rendering.view.ImageViewport org.jzy3d.plot3d.rendering.legends.Legend org.jzy3d.plot3d.rendering.legends.colorbars.ColorbarLegend
public class ColorbarLegend
Constructor Summary | |
---|---|
ColorbarLegend(AbstractDrawable parent,
IAxeLayout layout)
|
|
ColorbarLegend(AbstractDrawable parent,
IAxeLayout layout,
Color foreground)
|
|
ColorbarLegend(AbstractDrawable parent,
IAxeLayout layout,
Color foreground,
Color background)
|
|
ColorbarLegend(AbstractDrawable parent,
ITickProvider provider,
ITickRenderer renderer)
|
|
ColorbarLegend(AbstractDrawable parent,
ITickProvider provider,
ITickRenderer renderer,
Color foreground,
Color background)
|
Method Summary | |
---|---|
void |
drawableChanged(DrawableChangedEvent e)
|
java.awt.Dimension |
getMinimumSize()
Return the minimum size for this graphic. |
java.awt.Rectangle |
getRectangle()
Returns the (x,y) offset that was applied to make this AbstractViewport stand in the appropriate canvas part. |
boolean |
getStretchToFill()
|
void |
render(javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu)
Renders the picture into the window, according to the viewport settings. |
void |
setMinimumSize(java.awt.Dimension dimension)
|
void |
setScreenGridDisplayed(boolean status)
Set the status of the screen grid. |
void |
setStretchToFill(boolean status)
Set the status of the stretching mode (activated or not). |
void |
setViewPort(int width,
int height)
Set the view port (size of the renderer). |
java.awt.Image |
toImage(int width,
int height)
|
Methods inherited from class org.jzy3d.plot3d.rendering.legends.Legend |
---|
dispose, saveImage, setViewPort, updateImage |
Methods inherited from class org.jzy3d.plot3d.rendering.view.ImageViewport |
---|
getImage, getPreferedSize, setImage, setImage, setImage |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ColorbarLegend(AbstractDrawable parent, IAxeLayout layout)
public ColorbarLegend(AbstractDrawable parent, IAxeLayout layout, Color foreground)
public ColorbarLegend(AbstractDrawable parent, IAxeLayout layout, Color foreground, Color background)
public ColorbarLegend(AbstractDrawable parent, ITickProvider provider, ITickRenderer renderer)
public ColorbarLegend(AbstractDrawable parent, ITickProvider provider, ITickRenderer renderer, Color foreground, Color background)
Method Detail |
---|
public void render(javax.media.opengl.GL gl, javax.media.opengl.glu.GLU glu)
ImageViewport
render
in class ImageViewport
public java.awt.Image toImage(int width, int height)
toImage
in class Legend
public void drawableChanged(DrawableChangedEvent e)
drawableChanged
in interface IDrawableListener
drawableChanged
in class Legend
public java.awt.Dimension getMinimumSize()
ImageViewport
getMinimumSize
in class ImageViewport
public void setMinimumSize(java.awt.Dimension dimension)
public void setStretchToFill(boolean status)
status
- public boolean getStretchToFill()
public void setViewPort(int width, int height)
width
- the width of the target window.height
- the height of the target window.public java.awt.Rectangle getRectangle()
AbstractViewport
stand in the appropriate canvas part.
and the actual width and height of the viewport.
Only relevant after a call to applyViewPort
.
public void setScreenGridDisplayed(boolean status)
status
- the grid is displayed if status is set to true
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |