|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MultipleAcopDisplayer<T extends AcopDisplayerParameters>
AcopMultipleDisplayer should be implemented by those displayers that
connects to multiple data sources. The class should accept multiple
AcopDisplayerParameters and create DataSources for
those parameters and connect the DataSources with GUI. DataSources
should be obtained via AdapterFactory and released in the manner
prescribed by AdapterFactory.
AcopDisplayerParameters,
AdapterFactory| Field Summary | |
|---|---|
static java.lang.String |
DISPLAYER_PARAMETERS_PROPERTY
DisplayerParameters property name tag |
| Fields inherited from interface com.cosylab.gui.displayers.CommonDisplayer |
|---|
C_BIT_DESCRIPTIONS, C_BIT_MASK, C_COLOR, C_CONDITION_WHEN_CLEARED, C_CONDITION_WHEN_SET, C_DESCRIPTION, C_DISPLAY_NAME, C_FORMAT, C_GRAPH_MAX, C_GRAPH_MIN, C_MAXIMUM, C_MIN_STEP, C_MINIMUM, C_POSITION, C_PROPERTY_TYPE, C_SEQUENCE_LENGTH, C_UNITS |
| Fields inherited from interface com.cosylab.gui.displayers.DataStateProvider |
|---|
DATA_STATE |
| Method Summary | |
|---|---|
void |
addConnectionParameters(ConnectionParameters parameters)
Deprecated. use addDisplayerParameters(AcopDisplayerParameters) |
void |
addDisplayerParameters(T parameters)
Adds AcopDisplayerParameters to this displayer. |
ConnectionParameters[] |
getConnectionParameters()
Deprecated. use getDisplayerParameters() |
T[] |
getDisplayerParameters()
Returns an array of all AcopDisplayerParameters associated
with this displayer. |
DataSource |
removeConnectionParameters(ConnectionParameters parameters)
Deprecated. use removeDisplayerParameters(AcopDisplayerParameters) |
DataSource |
removeDisplayerParameters(T parameters)
Removes a AcopDisplayerParameters from this displayer. |
void |
setConnectionParameters(ConnectionParameters[] parameters)
Deprecated. use setDisplayerParameters(AcopDisplayerParameters[]) |
void |
setDisplayerParameters(T[] parameters)
Sets AcopDisplayerParameters to this displayer. |
| Methods inherited from interface com.cosylab.gui.displayers.CommonDisplayer |
|---|
cleanup, isSuspended, resume, suspend |
| Methods inherited from interface com.cosylab.gui.components.util.PopupManageable |
|---|
getPopupManager |
| Methods inherited from interface com.cosylab.gui.displayers.DataStateProvider |
|---|
addPropertyChangeListener, addPropertyChangeListener, getDataState, removePropertyChangeListener, removePropertyChangeListener |
| Methods inherited from interface com.cosylab.gui.displayers.MultipleDataConsumer |
|---|
getConsumer, getConsumers, getSupportedConsumerTypes, releaseConsumer |
| Field Detail |
|---|
static final java.lang.String DISPLAYER_PARAMETERS_PROPERTY
| Method Detail |
|---|
ConnectionParameters[] getConnectionParameters()
getDisplayerParameters()
void addConnectionParameters(ConnectionParameters parameters)
throws CommonException,
java.beans.PropertyVetoException
addDisplayerParameters(AcopDisplayerParameters)
parameters -
CommonException - if setting failed due to connection problem
java.beans.PropertyVetoException - if setting the property failed because of improper
parameters
void setConnectionParameters(ConnectionParameters[] parameters)
throws CommonException,
java.beans.PropertyVetoException
setDisplayerParameters(AcopDisplayerParameters[])
parameters.
parameters - remote connections points
CommonException - if setting failed due to connection problem
java.beans.PropertyVetoException - if setting the property failed because of improper
parameters
void addDisplayerParameters(T parameters)
throws CommonException,
java.beans.PropertyVetoException
AcopDisplayerParameters to this displayer. All previous
connections are kept and this one is added to the list. Upon adding the
displayer should connect to the remote point specified by this
parameters and adapt the screen according to other supplied
parameters.
parameters - remote connection point and screen parameters
CommonException - if setting failed due to connection problem
java.beans.PropertyVetoException - if setting the property failed because of improper
parametersT[] getDisplayerParameters()
AcopDisplayerParameters associated
with this displayer.
void setDisplayerParameters(T[] parameters)
throws CommonException,
java.beans.PropertyVetoException
AcopDisplayerParameters to this displayer. All previous
connections should be terminated and then the new added. If the new array
includes parameters that are already connected with this displayer, those
connections do not need to be terminated. At the end of procedure the
displayer should have only connections specified by the array
parameters. Displayer should not allow two have two identical
parameters. Parameters are identical if the
DisplayerParameters.equals(Object) returns true.
parameters - remote connections points
CommonException - if setting failed due to connection problem
java.beans.PropertyVetoException - if setting the property failed because of improper
parametersDataSource removeConnectionParameters(ConnectionParameters parameters)
removeDisplayerParameters(AcopDisplayerParameters)
ConnectionParameters from this displayer. DataSource that
belongs to this parameters should be released (via AdapterFactory) and all
resource associated with this parameters in the displayer should be released.
parameters - connection to be removed
DataSource removeDisplayerParameters(T parameters)
AcopDisplayerParameters from this displayer. DataSource
that belongs to this parameters should be released (via AdapterFactory) and all
resource associated with this parameters in the displayer should be released.
parameters - parameters to be removed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||