Package spin.demo
Interface Bean
- All Known Implementing Classes:
BeanImpl
public interface Bean
A common interface for a bean.
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a listener to property changes.getValue()Get the value.voidSet the value.
-
Method Details
-
getValue
String getValue()Get the value.- Returns:
- the value
-
setValue
Set the value.- Parameters:
value- value to set
-
addPropertyChangeListener
Add a listener to property changes.- Parameters:
listener- listener to add
-