Package spin.demo
Interface Bean
-
- All Known Implementing Classes:
BeanImpl
public interface BeanA common interface for a bean.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddPropertyChangeListener(java.beans.PropertyChangeListener listener)Add a listener to property changes.java.lang.StringgetValue()Get the value.voidsetValue(java.lang.String value)Set the value.
-
-
-
Method Detail
-
getValue
java.lang.String getValue()
Get the value.- Returns:
- the value
-
setValue
void setValue(java.lang.String value)
Set the value.- Parameters:
value- value to set
-
addPropertyChangeListener
void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Add a listener to property changes.- Parameters:
listener- listener to add
-
-