Class Plot3D
java.lang.Object
com.biglybt.ui.swt.components.graphics.Plot3D
- All Implemented Interfaces:
ParameterListener, Graphic
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.eclipse.swt.graphics.Imageprivate org.eclipse.swt.widgets.Canvasprivate org.eclipse.swt.graphics.Color[]private ValueFormater[]private intprivate intprivate String[]private org.eclipse.swt.graphics.Pointprotected AEMonitorprivate Stringprivate int[][]private int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()protected voiddrawPlot()org.eclipse.swt.graphics.Color[]voidinitialize(org.eclipse.swt.widgets.Canvas _canvas) voidparameterChanged(String parameter) Called, when a parameter has changed.voidrefresh(boolean force) voidsetMaxZ(int m) voidvoidupdate(int[][] _values)
-
Field Details
-
Z_MAX
private int Z_MAX -
canvas
private org.eclipse.swt.widgets.Canvas canvas -
title
-
labels
-
formatters
-
internalLoop
private int internalLoop -
graphicsUpdate
private int graphicsUpdate -
oldSize
private org.eclipse.swt.graphics.Point oldSize -
bufferImage
protected org.eclipse.swt.graphics.Image bufferImage -
this_mon
-
values
private int[][] values -
colours
private org.eclipse.swt.graphics.Color[] colours
-
-
Constructor Details
-
Plot3D
-
-
Method Details
-
initialize
public void initialize(org.eclipse.swt.widgets.Canvas _canvas) - Specified by:
initializein interfaceGraphic
-
setTitle
-
getColours
public org.eclipse.swt.graphics.Color[] getColours() -
refresh
-
drawPlot
protected void drawPlot() -
setMaxZ
public void setMaxZ(int m) -
parameterChanged
Description copied from interface:ParameterListenerCalled, when a parameter has changed. The listener could only react if the parameter name is relevant. Or the listener can just read all parameters again.- Specified by:
parameterChangedin interfaceParameterListener- Parameters:
parameter- the name of the parameter that has changed
-
dispose
public void dispose() -
update
public void update(int[][] _values)
-