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.Image
private org.eclipse.swt.widgets.Canvas
private org.eclipse.swt.graphics.Color[]
private ValueFormater[]
private int
private int
private String[]
private org.eclipse.swt.graphics.Point
protected AEMonitor
private String
private int[][]
private int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
protected void
drawPlot()
org.eclipse.swt.graphics.Color[]
void
initialize
(org.eclipse.swt.widgets.Canvas _canvas) void
parameterChanged
(String parameter) Called, when a parameter has changed.void
refresh
(boolean force) void
setMaxZ
(int m) void
void
update
(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:
initialize
in interfaceGraphic
-
setTitle
-
getColours
public org.eclipse.swt.graphics.Color[] getColours() -
refresh
public void refresh(boolean force) -
drawPlot
protected void drawPlot() -
setMaxZ
public void setMaxZ(int m) -
parameterChanged
Description copied from interface:ParameterListener
Called, 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:
parameterChanged
in interfaceParameterListener
- Parameters:
parameter
- the name of the parameter that has changed
-
dispose
public void dispose() -
update
public void update(int[][] _values)
-