DESY ACOP Beans Home

com.cosylab.gui.displayers
Interface CommonDisplayer

All Superinterfaces:
DataStateProvider, PopupManageable
All Known Subinterfaces:
AcopDisplayer, ConvertibleDisplayer, Displayer, DoubleDisplayer, DoubleSeqDisplayer, EnumDisplayer, IconDisplayer, LongDisplayer, MultipleAcopDisplayer<T>, MultipleDisplayer, ObjectDisplayer, PatternDisplayer, StringDisplayer
All Known Implementing Classes:
AbstractDisplayerPanel, AcopButton, AcopChart, AcopChartReorg, AcopCheckBox, AcopDialKnob, AcopGauger, AcopIcon, AcopLabel, AcopNumberLabel, AcopSlider, AcopTable, AcopTrendChart, AcopWheelswitch, ButtonController, CharacteristicsMapPanel, CheckBoxController, DialKnobDisplayer, DoubleNumberDisplayer, GaugerDisplayer, IconDisplayer, LabelDisplayer, SliderDisplayer, SliderDisplayerSetter, WheelswitchDisplayer

public interface CommonDisplayer
extends PopupManageable, DataStateProvider

CommonDisplayer defines interface common to multiple and single displayers. Displayer interface controls GUI component, which displays single or multiple data sources on screen.

Since:
Nov 24, 2003.
Version:
$Id: CommonDisplayer.java,v 1.10 2008-04-22 12:31:02 jbobnar Exp $
Author:
Igor Kriznar

Field Summary
static java.lang.String C_BIT_DESCRIPTIONS
           
static java.lang.String C_BIT_MASK
           
static java.lang.String C_COLOR
          Characteristic name for prefered color.
static java.lang.String C_CONDITION_WHEN_CLEARED
           
static java.lang.String C_CONDITION_WHEN_SET
           
static java.lang.String C_DESCRIPTION
           
static java.lang.String C_DISPLAY_NAME
           
static java.lang.String C_FORMAT
           
static java.lang.String C_GRAPH_MAX
           
static java.lang.String C_GRAPH_MIN
           
static java.lang.String C_MAXIMUM
           
static java.lang.String C_MIN_STEP
           
static java.lang.String C_MINIMUM
           
static java.lang.String C_POSITION
           
static java.lang.String C_PROPERTY_TYPE
           
static java.lang.String C_SEQUENCE_LENGTH
           
static java.lang.String C_UNITS
           
 
Fields inherited from interface com.cosylab.gui.displayers.DataStateProvider
DATA_STATE
 
Method Summary
 void cleanup()
          Performs general cleanup of displayer resources.
 boolean isSuspended()
          Returns true if GUI updates are suspended.
 void resume()
          Resumes updates of GUI component.
 void suspend()
          Suspends all updates of displayer.
 
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

C_COLOR

static final java.lang.String C_COLOR
Characteristic name for prefered color. With this characteristic gives data source a hint to Displayer which color should be used to visualize the source and distingish it from other sources, if they exist.

See Also:
Constant Field Values

C_MIN_STEP

static final java.lang.String C_MIN_STEP
See Also:
Constant Field Values

C_MINIMUM

static final java.lang.String C_MINIMUM
See Also:
Constant Field Values

C_MAXIMUM

static final java.lang.String C_MAXIMUM
See Also:
Constant Field Values

C_FORMAT

static final java.lang.String C_FORMAT
See Also:
Constant Field Values

C_UNITS

static final java.lang.String C_UNITS
See Also:
Constant Field Values

C_DISPLAY_NAME

static final java.lang.String C_DISPLAY_NAME
See Also:
Constant Field Values

C_BIT_DESCRIPTIONS

static final java.lang.String C_BIT_DESCRIPTIONS
See Also:
Constant Field Values

C_BIT_MASK

static final java.lang.String C_BIT_MASK
See Also:
Constant Field Values

C_CONDITION_WHEN_CLEARED

static final java.lang.String C_CONDITION_WHEN_CLEARED
See Also:
Constant Field Values

C_CONDITION_WHEN_SET

static final java.lang.String C_CONDITION_WHEN_SET
See Also:
Constant Field Values

C_GRAPH_MAX

static final java.lang.String C_GRAPH_MAX
See Also:
Constant Field Values

C_GRAPH_MIN

static final java.lang.String C_GRAPH_MIN
See Also:
Constant Field Values

C_DESCRIPTION

static final java.lang.String C_DESCRIPTION
See Also:
Constant Field Values

C_PROPERTY_TYPE

static final java.lang.String C_PROPERTY_TYPE
See Also:
Constant Field Values

C_POSITION

static final java.lang.String C_POSITION
See Also:
Constant Field Values

C_SEQUENCE_LENGTH

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

cleanup

void cleanup()
Performs general cleanup of displayer resources. All by displayer issued object are not valid any more after cleanup. Displayer positions itself in initial state and DataState is changed to NOT_INITIALIZED state.


suspend

void suspend()
Suspends all updates of displayer. Displayer might receive data change updates, but does not call redraw on GUI components, which is time and CPU consuming.


resume

void resume()
Resumes updates of GUI component.

See Also:
suspend()

isSuspended

boolean isSuspended()
Returns true if GUI updates are suspended.

Returns:
true if GUI updates are suspended


Copyright © 2010. All Rights Reserved.