DESY ACOP Beans Home

com.cosylab.gui.displayers
Interface DataStateProvider

All Known Subinterfaces:
AcopDisplayer, CommonDisplayer, 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 DataStateProvider

DataStateProvider interface marks those components, which can provide DataState Java property to describe theier data quality state.

Author:
Igor Kriznar
See Also:
DataState

Field Summary
static java.lang.String DATA_STATE
          Property name for data state.
 
Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener l)
          Adds property change listener, which receives notifications when data state changes.
 void addPropertyChangeListener(java.lang.String propertyName, java.beans.PropertyChangeListener l)
          Adds property change listener, which receives notifications when data state changes.
 DataState getDataState()
          Returns data quality state.
 void removePropertyChangeListener(java.beans.PropertyChangeListener l)
          Removes property change listener.
 void removePropertyChangeListener(java.lang.String propertyName, java.beans.PropertyChangeListener l)
          Removes property change listener.
 

Field Detail

DATA_STATE

static final java.lang.String DATA_STATE
Property name for data state.

See Also:
Constant Field Values
Method Detail

addPropertyChangeListener

void addPropertyChangeListener(java.beans.PropertyChangeListener l)
Adds property change listener, which receives notifications when data state changes.

Parameters:
l - new listener

addPropertyChangeListener

void addPropertyChangeListener(java.lang.String propertyName,
                               java.beans.PropertyChangeListener l)
Adds property change listener, which receives notifications when data state changes.

Parameters:
propertyName - the property name for which events will be received
l - new listener

getDataState

DataState getDataState()
Returns data quality state. This property is changed by data consumer interface. In case of multiple displayer, this state indicates integral state for all contained data consumers.

Returns:
dynamic data quality state

removePropertyChangeListener

void removePropertyChangeListener(java.beans.PropertyChangeListener l)
Removes property change listener.

Parameters:
l - removed listener

removePropertyChangeListener

void removePropertyChangeListener(java.lang.String propertyName,
                                  java.beans.PropertyChangeListener l)
Removes property change listener.

Parameters:
propertyName - the property name for which listener is removed
l - removed listener


Copyright © 2010. All Rights Reserved.