spin.demo

Class BeanImpl

Implemented Interfaces:
Bean

public class BeanImpl
extends java.lang.Object
implements Bean

Implementation of a bean.

Constructor Summary

BeanImpl()
Constructor.

Method Summary

void
addPropertyChangeListener(PropertyChangeListener listener)
Add a listener to property changes.
String
getValue()
Get the value.
void
setValue(String value)
Set the value.

Constructor Details

BeanImpl

public BeanImpl()
Constructor.

Method Details

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener listener)
Add a listener to property changes.
Parameters:
listener - listener to add

getValue

public String getValue()
Get the value.
Returns:
the value

setValue

public void setValue(String value)
Set the value.
Parameters:
value - value to set