|
||||||||||
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
public class AcopDisplayerParameters
AcopDisplayerParameters
are parameters displayer parameters intended
to be used in combination with AcopDisplayer
. This parameters holds
reference to the remote connection point as well as other parameters that
define the look and presentation of the value on the displayer, such as minimum and
maximum value, format etc.
AcopDisplayer
,
Serialized FormField Summary |
---|
Fields inherited from class com.cosylab.gui.displayers.DisplayerParameters |
---|
name, names, values |
Constructor Summary | |
---|---|
|
AcopDisplayerParameters()
Constructs new AcopDisplayerParameters. |
|
AcopDisplayerParameters(AcopDisplayer adisp,
DoubleDisplayer ddisp)
Constructs new AcopDisplayerParameters gathering the essential data from the provided displayer. |
|
AcopDisplayerParameters(ConnectionParameters parameters)
Constructs new AcopDisplayerParameters with the provided connection point. |
|
AcopDisplayerParameters(ConnectionParameters parameters,
int index)
Constructs new AcopDisplayerParameters with the provided connection point and index in the array of incomming data. |
|
AcopDisplayerParameters(ConnectionParameters parameters,
int index,
Converter converter)
Constructs new AcopDisplayerParameters using the provided parameters. |
|
AcopDisplayerParameters(ConnectionParameters parameters,
int index,
double min,
double max,
java.lang.String units,
java.lang.String format)
Constructs new AcopDisplayerParameters using the provided parameters. |
|
AcopDisplayerParameters(ConnectionParameters parameters,
int index,
double min,
double max,
java.lang.String units,
java.lang.String format,
Converter converter)
Constructs new AcopDisplayerParameters using the provided parameters. |
protected |
AcopDisplayerParameters(java.lang.String name,
int size,
AcopDisplayer adisp,
DoubleDisplayer ddisp)
Constructs new AcopDisplayerParameters gathering the essential data from the provided displayer. |
protected |
AcopDisplayerParameters(java.lang.String name,
int size,
ConnectionParameters parameters,
int index,
double min,
double max,
java.lang.String units,
java.lang.String format)
Constructs new AcopDisplayerParameters using the provided parameters. |
protected |
AcopDisplayerParameters(java.lang.String name,
int size,
ConnectionParameters parameters,
int index,
double min,
double max,
java.lang.String units,
java.lang.String format,
Converter converter)
Contructs new AcopDisplayerParameters using the provided parameters. |
protected |
AcopDisplayerParameters(java.lang.String name,
java.util.Map<java.lang.String,java.lang.Object> values)
Creates new instance of AcopDisplayerParameters. |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
|
AcopDisplayerParameters |
deriveWith(int arrayIndex)
Returns new AcopDisplayerParameters which resebles this object but has a different array index. |
int |
getArrayIndex()
Returns the array index. |
ConnectionParameters |
getConnectionParameters()
Returns the connection parameters. |
Converter |
getConverter()
Returns the converter associated with this parameters. |
int |
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 AcopDisplayerParameters()
public AcopDisplayerParameters(ConnectionParameters parameters)
parameters
- remote connection pointpublic AcopDisplayerParameters(ConnectionParameters parameters, int index)
parameters
- remote connectin pointindex
- array data indexpublic AcopDisplayerParameters(ConnectionParameters parameters, int index, double min, double max, java.lang.String units, java.lang.String format)
parameters
- remote connection pointindex
- array data indexmin
- minimum valuemax
- maximum valueunits
- physical unitsformat
- C-style formatprotected AcopDisplayerParameters(java.lang.String name, int size, ConnectionParameters parameters, int index, double min, double max, java.lang.String units, java.lang.String format)
name
- the name of the parameterssize
- initial number of all parametersparameters
- remote connection pointindex
- array data indexmin
- maximum valuemax
- minimum valueunits
- physical unitsformat
- C-style formatprotected AcopDisplayerParameters(java.lang.String name, int size, AcopDisplayer adisp, DoubleDisplayer ddisp)
name
- the name of the parameterssize
- the number of all parametersadisp
- source for connection related parametersddisp
- source for display related parameterspublic AcopDisplayerParameters(AcopDisplayer adisp, DoubleDisplayer ddisp)
adisp
- source for connection related parametersddisp
- source for display related parameterspublic AcopDisplayerParameters(ConnectionParameters parameters, int index, Converter converter)
parameters
- remote connection pointindex
- array data indexconverter
- converter associated with the data sourcepublic AcopDisplayerParameters(ConnectionParameters parameters, int index, double min, double max, java.lang.String units, java.lang.String format, Converter converter)
parameters
- remote connection pointindex
- array data indexmin
- minimum valuemax
- maximum valueunits
- physical unitsformat
- C-style formatconverter
- converter associated with the data sourceprotected AcopDisplayerParameters(java.lang.String name, int size, ConnectionParameters parameters, int index, double min, double max, java.lang.String units, java.lang.String format, Converter converter)
name
- the name of the parameterssize
- number of all parametersparameters
- remote connection pointindex
- array data indexmin
- minimum valuemax
- maximum valueunits
- physical unitsformat
- C-style formatconverter
- converter associated with the data sourceprotected AcopDisplayerParameters(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> values)
name
- the name of this parametersvaues
- additional parameters - all necessary parameters should be included
in this mapMethod Detail |
---|
public Converter getConverter()
public int hashCode()
hashCode
in class DisplayerParameters
public int compareTo(java.lang.Object o)
public ConnectionParameters getConnectionParameters()
public int getArrayIndex()
public AcopDisplayerParameters deriveWith(int arrayIndex)
arrayIndex
- new array index
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |