DESY ACOP Beans Home

de.desy.acop.displayers.table
Class AcopTableParameters

java.lang.Object
  extended by com.cosylab.gui.displayers.DisplayerParameters
      extended by de.desy.acop.displayers.tools.AcopDisplayerParameters
          extended by de.desy.acop.displayers.table.AcopTableParameters
All Implemented Interfaces:
java.io.Serializable

public class AcopTableParameters
extends AcopDisplayerParameters

AcopTableParameters are an instance of AcopDisplayerParameters usid in combination with AcopTable. Parameters provide remote connetion point as well as settings that define the AcopTableColumn type and its properties.

Author:
Jaka Bobnar, Cosylab
See Also:
AcopTable, AcopTableColumn, Serialized Form

Field Summary
 
Fields inherited from class com.cosylab.gui.displayers.DisplayerParameters
name, names, values
 
Constructor Summary
AcopTableParameters()
           
AcopTableParameters(ConnectionParameters parameters)
          Constructs new AcopTableParameters using the provided ConnectionParameters.
AcopTableParameters(ConnectionParameters parameters, Converter converter, java.lang.String name)
          Constructs new AcopTableParameters using the supplied parameters.
AcopTableParameters(ConnectionParameters parameters, TableColumnType type, Converter converter, java.lang.String name)
          Constructs new AcopTableParameters using the supplied parameters.
AcopTableParameters(ConnectionParameters parameters, TableColumnType type, int arrayIndex, Converter converter, java.lang.String name)
          Constructs new AcopTableParameters using the supplied parameters.
AcopTableParameters(ConnectionParameters parameters, TableColumnType type, int arrayIndex, java.lang.String name)
          Constructs new AcopTableParameters using the provided parameters
AcopTableParameters(ConnectionParameters parameters, TableColumnType type, java.lang.String name)
          Constructs new AcopTableParameters using the provided parameters
 
Method Summary
 AcopTableParameters deriveWith(ConnectionParameters parameters)
          Construct new AcopTableParameters which resembles this object but has a different ConnectionParameters.
 java.lang.String getColumnName()
          Returns the name of the column.
 TableColumnType getColumnType()
          Returns the type of the column.
 
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

AcopTableParameters

public AcopTableParameters()

AcopTableParameters

public AcopTableParameters(ConnectionParameters parameters)
Constructs new AcopTableParameters using the provided ConnectionParameters.

Parameters:
parameters - remote connection point

AcopTableParameters

public AcopTableParameters(ConnectionParameters parameters,
                           TableColumnType type,
                           java.lang.String name)
Constructs new AcopTableParameters using the provided parameters

Parameters:
parameters - remote connection point
type - type of the column shown in the table
name - the name of the column

AcopTableParameters

public AcopTableParameters(ConnectionParameters parameters,
                           TableColumnType type,
                           int arrayIndex,
                           java.lang.String name)
Constructs new AcopTableParameters using the provided parameters

Parameters:
parameters - remote connection point
type - type of the column shown in the table
arrayIndex - the index in the array data which should be the first row in the table column
name - the name of the column

AcopTableParameters

public AcopTableParameters(ConnectionParameters parameters,
                           Converter converter,
                           java.lang.String name)
Constructs new AcopTableParameters using the supplied parameters. This constructor assumes the TableColumnType.VALUE.

Parameters:
parameters - the remote connection point
converter - converter associated with the data source
name - the name of column
See Also:
TableColumnType

AcopTableParameters

public AcopTableParameters(ConnectionParameters parameters,
                           TableColumnType type,
                           Converter converter,
                           java.lang.String name)
Constructs new AcopTableParameters using the supplied parameters.

Parameters:
parameters - the remote connection point
type - type of the column shown in the table
converter - converter associated with the data source
name - the name of the column

AcopTableParameters

public AcopTableParameters(ConnectionParameters parameters,
                           TableColumnType type,
                           int arrayIndex,
                           Converter converter,
                           java.lang.String name)
Constructs new AcopTableParameters using the supplied parameters.

Parameters:
parameters - the remote connection point
type - type of the column shown in the table
arrayIndex - the index in the array data which should be the first row in the table column
converter - converter associated with the data source
name - the name of the column
Method Detail

getColumnType

public TableColumnType getColumnType()
Returns the type of the column.

Returns:
the column type

getColumnName

public java.lang.String getColumnName()
Returns the name of the column.

Returns:
the name

deriveWith

public AcopTableParameters deriveWith(ConnectionParameters parameters)
Construct new AcopTableParameters which resembles this object but has a different ConnectionParameters.

Parameters:
parameters - new remote connection point
Returns:
new AcopTableParameters


Copyright © 2010. All Rights Reserved.