public class ColorbarViewportLayout extends Object implements IViewportLayout
Modifier and Type | Field and Description |
---|---|
protected ViewportConfiguration |
backgroundViewPort |
protected boolean |
hasMeta |
protected ViewportConfiguration |
sceneViewPort |
protected float |
screenSeparator |
protected Rectangle |
zone1 |
protected Rectangle |
zone2 |
Constructor and Description |
---|
ColorbarViewportLayout() |
Modifier and Type | Method and Description |
---|---|
void |
computeSeparator(ICanvas canvas,
List<ILegend> list) |
void |
render(com.jogamp.opengl.GL gl,
com.jogamp.opengl.glu.GLU glu,
Chart chart) |
protected void |
renderLegends(com.jogamp.opengl.GL gl,
com.jogamp.opengl.glu.GLU glu,
Chart chart) |
protected void |
renderLegends(com.jogamp.opengl.GL gl,
com.jogamp.opengl.glu.GLU glu,
float left,
float right,
List<ILegend> data,
ICanvas canvas)
Renders the legend within the screen slice given by the left and right parameters.
|
void |
showLayout(AWTView view) |
void |
update(Chart chart) |
protected float screenSeparator
protected boolean hasMeta
protected Rectangle zone1
protected Rectangle zone2
protected ViewportConfiguration sceneViewPort
protected ViewportConfiguration backgroundViewPort
public void update(Chart chart)
update
in interface IViewportLayout
public void render(com.jogamp.opengl.GL gl, com.jogamp.opengl.glu.GLU glu, Chart chart)
render
in interface IViewportLayout
protected void renderLegends(com.jogamp.opengl.GL gl, com.jogamp.opengl.glu.GLU glu, Chart chart)
protected void renderLegends(com.jogamp.opengl.GL gl, com.jogamp.opengl.glu.GLU glu, float left, float right, List<ILegend> data, ICanvas canvas)
public void showLayout(AWTView view)
Copyright © 2016. All rights reserved.