public class LegendViewportLayout 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 |
|---|
LegendViewportLayout() |
| Modifier and Type | Method and Description |
|---|---|
void |
computeScreenSeparator(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,
float left,
float right,
List<ILegend> data,
ICanvas canvas) |
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 IViewportLayoutpublic void render(com.jogamp.opengl.GL gl,
com.jogamp.opengl.glu.GLU glu,
Chart chart)
render in interface IViewportLayoutprotected 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 © 2021. All rights reserved.