|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cosylab.gui.displayers.DisplayerParameters de.desy.acop.displayers.tools.AcopDisplayerParameters de.desy.acop.displayers.tools.AcopGraphParameters
public class AcopGraphParameters
AcopGraphParameters
is an extension of
AcopDisplayerParameters
which also hold data about
visualization of a single graph in a chart. This parameters are intended
for use with AcopChart
and only hold information that can be
read by the AcopChart object.
Field Summary |
---|
Fields inherited from class com.cosylab.gui.displayers.DisplayerParameters |
---|
name, names, values |
Constructor Summary | |
---|---|
|
AcopGraphParameters()
Constructs a new AcopGraphParameters object. |
|
AcopGraphParameters(AcopDisplayerParameters adp)
Constructs new AcopGraphParameters using the supplied parameters. |
|
AcopGraphParameters(AcopDisplayerParameters adp,
java.awt.Color color,
int fft,
int drawStyle,
int mode,
int width,
boolean trend,
int trendLength)
Constructs a new AcopGraphParameters object with the specified parameters values |
|
AcopGraphParameters(AcopDisplayerParameters adp,
java.awt.Color color,
int fft,
int drawStyle,
int mode,
int width,
boolean trend,
int trendLength,
Converter converter)
Constructs a new AcopGraphParameters object with the specified parameters values |
|
AcopGraphParameters(ConnectionParameters param)
Constructs a new AcopGraphParameters object with the given connection point. |
|
AcopGraphParameters(ConnectionParameters parameters,
java.awt.Color color,
int fft,
int drawStyle,
int mode,
int width,
boolean trend,
int trendLength)
Constructs a new AcopGraphParameters object with the specified parameters values |
|
AcopGraphParameters(ConnectionParameters parameters,
java.awt.Color color,
int fft,
int drawStyle,
int mode,
int width,
boolean trend,
int trendLength,
Converter converter)
Constructs a new AcopGraphParameters object with the specified parameters values |
protected |
AcopGraphParameters(ConnectionParameters parameters,
int index,
double min,
double max,
java.lang.String units,
java.lang.String format,
java.awt.Color color,
int fft,
int drawStyle,
int mode,
int width,
boolean trend,
int trendLength,
Converter converter)
Constructs a new AcopGraphParameters object with the specified parameters values |
Method Summary | |
---|---|
java.awt.Color |
getColor()
Sets the color of the graph. |
int |
getDrawStyle()
Returns the acop draw style. |
int |
getFFT()
Returns the acop fft mode. |
int |
getMode()
Returns the acop display mode. |
int |
getTrendLength()
Returns the number of points if this is a trend. |
int |
getWidth()
Returns the width of the graph line. |
boolean |
isTrend()
Returns true if this is shown as a trend graph. |
Methods inherited from class de.desy.acop.displayers.tools.AcopDisplayerParameters |
---|
compareTo, deriveWith, getArrayIndex, getConnectionParameters, getConverter, hashCode |
Methods inherited from class com.cosylab.gui.displayers.DisplayerParameters |
---|
addParameter, count, equals, getBool, getDouble, getFormat, getInt, getMaximum, getMinimum, getName, getNames, getParameter, getUnits, getValues, putParameter, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AcopGraphParameters()
public AcopGraphParameters(ConnectionParameters param)
param
- remote connection pointpublic AcopGraphParameters(ConnectionParameters parameters, java.awt.Color color, int fft, int drawStyle, int mode, int width, boolean trend, int trendLength)
parameters
- remote connection pointcolor
- color of the graphfft
- acop fft modedrawStyle
- style of the graphmode
- acop graph modewidth
- the width of the linetrend
- a flag indicating if this is a trend graphtrendLength
- number of trend points if this is a trendAcop
public AcopGraphParameters(ConnectionParameters parameters, java.awt.Color color, int fft, int drawStyle, int mode, int width, boolean trend, int trendLength, Converter converter)
parameters
- remote connection pointcolor
- color of the graphfft
- acop fft modedrawStyle
- style of the graphmode
- acop graph modewidth
- the width of the linetrend
- a flag indicating if this is a trend graphtrendLength
- number of trend points if this is a trendconverter
- converter associated with this connection pointAcop
protected AcopGraphParameters(ConnectionParameters parameters, int index, double min, double max, java.lang.String units, java.lang.String format, java.awt.Color color, int fft, int drawStyle, int mode, int width, boolean trend, int trendLength, Converter converter)
parameters
- remote connection pointindex
- index of the value in the array if this is a spectrummin
- minimum valuemax
- maximum valueunits
- physical unitsformat
- C-style formatcolor
- color of the graphfft
- acop fft modedrawStyle
- style of the graphmode
- acop graph modewidth
- the width of the linetrend
- a flag indicating if this is a trend graphtrendLength
- number of trend points if this is a trendconverter
- converter associated with this connection pointAcop
public AcopGraphParameters(AcopDisplayerParameters adp)
adp
- public AcopGraphParameters(AcopDisplayerParameters adp, java.awt.Color color, int fft, int drawStyle, int mode, int width, boolean trend, int trendLength)
adp
- additional displayer parameterscolor
- color of the graphfft
- acop fft modedrawStyle
- style of the graphmode
- acop graph modewidth
- the width of the linetrend
- a flag indicating if this is a trend graphtrendLength
- number of trend points if this is a trendAcop
public AcopGraphParameters(AcopDisplayerParameters adp, java.awt.Color color, int fft, int drawStyle, int mode, int width, boolean trend, int trendLength, Converter converter)
adp
- additional displayer parameterscolor
- color of the graphfft
- acop fft modedrawStyle
- style of the graphmode
- acop graph modewidth
- the width of the linetrend
- a flag indicating if this is a trend graphtrendLength
- number of trend points if this is a trendconverter
- converter associated with this connection pointAcop
Method Detail |
---|
public java.awt.Color getColor()
Acop.setForeground(Color)
public int getFFT()
Acop.setFFT(int)
public int getDrawStyle()
AcopDrawStyleEnum
,
Acop.setDrawStyle(int)
public boolean isTrend()
public int getTrendLength()
public int getMode()
AcopDisplayMode
,
Acop.setDisplayMode(int)
public int getWidth()
Acop.setDrawWidth(int)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |