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 TypeMethodDescriptionvoid
Add a listener to property changes.getValue()
Get the value.void
Set the value.
-
Constructor Details
-
BeanImpl
public BeanImpl()Constructor.
-
-
Method Details
-
addPropertyChangeListener
Add a listener to property changes.- Specified by:
addPropertyChangeListener
in interfaceBean
- Parameters:
listener
- listener to add
-
getValue
Get the value. -
setValue
Set the value.
-