DESY ACOP Beans Home

com.cosylab.gui.displayers
Interface ConvertibleDisplayer

All Superinterfaces:
CommonDisplayer, DataConsumer, DataStateProvider, Displayer, PopupManageable
All Known Subinterfaces:
AcopDisplayer
All Known Implementing Classes:
AbstractDisplayerPanel, AcopButton, AcopCheckBox, AcopDialKnob, AcopGauger, AcopIcon, AcopLabel, AcopNumberLabel, AcopSlider, AcopWheelswitch, ButtonController, CharacteristicsMapPanel, CheckBoxController, DialKnobDisplayer, DoubleNumberDisplayer, GaugerDisplayer, IconDisplayer, SliderDisplayer, SliderDisplayerSetter, WheelswitchDisplayer

public interface ConvertibleDisplayer
extends Displayer

ConvertibleDisplayer enables usage of Converters. It should be implemented by those DataConsumers that needs to convert the value they are receiveing from data source.

Author:
Jaka Bobnar, Cosylab

Field Summary
static java.lang.String CONVERTER_PROPERTY
           
 
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
 Converter getConverter()
          Returns the converter that is used with the displayer.
 void setConverter(Converter converter)
          Sets the Converter that is used when displaying value with this.
 
Methods inherited from interface com.cosylab.gui.displayers.Displayer
getDataSource, getTitle, isEditable, setDataSource, setTitle
 
Methods inherited from interface com.cosylab.gui.displayers.DataConsumer
getDataConsumer, getDefaultDataConsumer, getName, getSupportedCharacteristics, getSupportedConsumerTypes, setCharacteristics, updateDataState
 
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
 

Field Detail

CONVERTER_PROPERTY

static final java.lang.String CONVERTER_PROPERTY
See Also:
Constant Field Values
Method Detail

setConverter

void setConverter(Converter converter)
                  throws java.beans.PropertyVetoException
Sets the Converter that is used when displaying value with this.

Parameters:
converter -
Throws:
java.beans.PropertyVetoException

getConverter

Converter getConverter()
Returns the converter that is used with the displayer.

Returns:


Copyright © 2010. All Rights Reserved.