DESY ACOP Beans Home
com.cosylab.gui.displayers
Interface StringDisplayer
- All Superinterfaces:
- CommonDisplayer, DataConsumer, DataStateProvider, Displayer, PopupManageable, StringConsumer
- All Known Implementing Classes:
- AcopLabel, LabelDisplayer
public interface StringDisplayer
- extends Displayer, StringConsumer
A specialization of the Displayer
interface for
String
Java type. The same adapter can be used to display
Object
as well, via the toString()
method.
- Version:
- $id$
- Author:
- Igor Kriznar
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 |
Method Summary |
java.lang.String |
getValue()
Gets the value displayed by the displayer. |
void |
setValue(java.lang.String value)
Sets the value displayed by the displayer. |
getValue
java.lang.String getValue()
- Gets the value displayed by the displayer. This method can be invoked by
any object and will probably most often be invoked by the GUI rendition
code.
- Returns:
- String currently displayed value
setValue
void setValue(java.lang.String value)
- Sets the value displayed by the displayer. This method may be invoked
only by the adapter delivering a new value from the modeling layer.
- Parameters:
value
- new value to be displayed
Copyright © 2010. All Rights Reserved.