spin.demo
Class BeanImpl

java.lang.Object
  extended by spin.demo.BeanImpl
All Implemented Interfaces:
Bean

public class BeanImpl
extends java.lang.Object
implements Bean

Implementation of a bean.


Constructor Summary
BeanImpl()
          Constructor.
 
Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
          Add a listener to property changes.
 java.lang.String getValue()
          Get the value.
 void setValue(java.lang.String value)
          Set the value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanImpl

public BeanImpl()
Constructor.

Method Detail

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Add a listener to property changes.

Specified by:
addPropertyChangeListener in interface Bean
Parameters:
listener - listener to add

getValue

public java.lang.String getValue()
Get the value.

Specified by:
getValue in interface Bean
Returns:
the value

setValue

public void setValue(java.lang.String value)
Set the value.

Specified by:
setValue in interface Bean
Parameters:
value - value to set


Copyright © 2007. All Rights Reserved.