rcf.core.framework.component
Class AbstractDynamicProperty.EnumComboUpdate<T>

java.lang.Object
  extended by rcf.core.framework.component.AbstractDynamicProperty.EnumComboUpdate<T>
All Implemented Interfaces:
ActionListener, EventListener, EventSink<DynamicPropertyEvent<T,?>>
Enclosing class:
AbstractDynamicProperty<T>

public static final class AbstractDynamicProperty.EnumComboUpdate<T>
extends Object
implements ActionListener, EventSink<DynamicPropertyEvent<T,?>>

TODO: Javadoc

TODO: Unit tests, Code review, Javadoc review, Seal/Finalize TODO: equals, hashCode, toString

Version:
$Revision: 1.8 $
Author:
Greg Gibeling

Field Summary
protected  JComboBox comboBox
          TODO: Javadoc
protected  DynamicProperty<T> property
          TODO: Javadoc
protected  boolean updating
          TODO: Javadoc
 
Constructor Summary
AbstractDynamicProperty.EnumComboUpdate(JComboBox _comboBox, DynamicProperty<T> _property)
          TODO: Javadoc
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 boolean event(DynamicPropertyEvent<T,?> event)
          Called by an EventSyndicate to notify this sink that an event has occured.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

comboBox

protected final JComboBox comboBox
TODO: Javadoc


property

protected final DynamicProperty<T> property
TODO: Javadoc


updating

protected volatile boolean updating
TODO: Javadoc

Constructor Detail

AbstractDynamicProperty.EnumComboUpdate

public AbstractDynamicProperty.EnumComboUpdate(JComboBox _comboBox,
                                               DynamicProperty<T> _property)
TODO: Javadoc

Parameters:
_comboBox -
_property -
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Specified by:
actionPerformed in interface ActionListener

event

public boolean event(DynamicPropertyEvent<T,?> event)
Description copied from interface: EventSink
Called by an EventSyndicate to notify this sink that an event has occured.

Specified by:
event in interface EventSink<DynamicPropertyEvent<T,?>>
Parameters:
event - The event which has occured.
Returns:
true to keep receiving events from the source of this event. false to stop receiving events from the source of this event.