DESY ACOP Beans Home

com.cosylab.gui.displayers
Interface EnumDisplayer

All Superinterfaces:
CommonDisplayer, DataConsumer, DataStateProvider, Displayer, ObjectConsumer, PopupManageable

public interface EnumDisplayer
extends Displayer, ObjectConsumer

A specialization of Displayer interface for enumerations.

Version:
$id$
Author:
Jernej Kamenik

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.Object getValue()
          Return the displayed value
 void setValue(java.lang.Object value)
          Selects the value to be displayed
 void setValues(java.lang.Object[] values)
          Sets the range of all possible values to be displayed by this 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.ObjectConsumer
updateValue
 
Methods inherited from interface com.cosylab.gui.displayers.DataConsumer
getDataConsumer, getDefaultDataConsumer, getName, getSupportedCharacteristics, getSupportedConsumerTypes, setCharacteristics, updateDataState
 

Method Detail

setValues

void setValues(java.lang.Object[] values)
Sets the range of all possible values to be displayed by this displayer.

Parameters:
values -

setValue

void setValue(java.lang.Object value)
Selects the value to be displayed

Parameters:
value -

getValue

java.lang.Object getValue()
Return the displayed value

Returns:
the displayed value


Copyright © 2010. All Rights Reserved.