Package spin.demo
Class BeanImpl
java.lang.Object
spin.demo.BeanImpl
- All Implemented Interfaces:
Bean
Implementation of a bean.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a listener to property changes.getValue()Get the value.voidSet the value.
-
Constructor Details
-
BeanImpl
public BeanImpl()Constructor.
-
-
Method Details
-
addPropertyChangeListener
Add a listener to property changes.- Specified by:
addPropertyChangeListenerin interfaceBean- Parameters:
listener- listener to add
-
getValue
Get the value. -
setValue
Set the value.
-