Package spin.demo
Interface Bean
-
- All Known Implementing Classes:
BeanImpl
public interface Bean
A common interface for a bean.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
-
-
-
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
-
-