Overview  Package   Class  Tree  Index 

be.lassi.base
Class HolderAdapter<E>

java.lang.Object
  extended by com.jgoodies.binding.beans.Model
      extended by com.jgoodies.binding.value.AbstractValueModel
          extended by be.lassi.base.HolderAdapter<E>
All Implemented Interfaces:
com.jgoodies.binding.beans.Observable, com.jgoodies.binding.value.ValueModel, java.io.Serializable

public class HolderAdapter<E>
extends com.jgoodies.binding.value.AbstractValueModel

Adapts our Holder objects to make them available as a JGoodies ValueModel.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.jgoodies.binding.value.AbstractValueModel
PROPERTYNAME_VALUE
 
Constructor Summary
HolderAdapter(Holder<E> holder)
          Constructs a new instance.
 
Method Summary
 java.lang.Object getValue()
          
 void setValue(java.lang.Object value)
          
 
Methods inherited from class com.jgoodies.binding.value.AbstractValueModel
addValueChangeListener, booleanValue, doubleValue, fireValueChange, fireValueChange, fireValueChange, fireValueChange, fireValueChange, fireValueChange, fireValueChange, floatValue, getString, intValue, longValue, removeValueChangeListener, setValue, setValue, setValue, setValue, setValue, toString
 
Methods inherited from class com.jgoodies.binding.beans.Model
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, equals, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, fireMultiplePropertiesChanged, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HolderAdapter

public HolderAdapter(Holder<E> holder)
Constructs a new instance.

Parameters:
holder - the Holder that should be wrapped
Method Detail

getValue

public java.lang.Object getValue()


setValue

public void setValue(java.lang.Object value)


Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2