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

Field Summary
 
Fields inherited from interface com.cosylab.gui.displayers.Displayer
C_EDITABLE, DATA_SOURCE
 
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
 java.lang.String getValue()
          Gets the value displayed by the displayer.
 void setValue(java.lang.String value)
          Sets the value displayed by the displayer.
 
Methods inherited from interface com.cosylab.gui.displayers.Displayer
getDataSource, getTitle, isEditable, setDataSource, setTitle
 
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.StringConsumer
updateValue
 
Methods inherited from interface com.cosylab.gui.displayers.DataConsumer
getDataConsumer, getDefaultDataConsumer, getName, getSupportedCharacteristics, getSupportedConsumerTypes, setCharacteristics, updateDataState
 

Method Detail

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.