Package spin.demo

Class BeanImpl

java.lang.Object
spin.demo.BeanImpl
All Implemented Interfaces:
Bean

public class BeanImpl extends Object implements Bean
Implementation of a bean.
  • Constructor Details

    • BeanImpl

      public BeanImpl()
      Constructor.
  • Method Details

    • addPropertyChangeListener

      public void addPropertyChangeListener(PropertyChangeListener listener)
      Add a listener to property changes.
      Specified by:
      addPropertyChangeListener in interface Bean
      Parameters:
      listener - listener to add
    • getValue

      public String getValue()
      Get the value.
      Specified by:
      getValue in interface Bean
      Returns:
      the value
    • setValue

      public void setValue(String value)
      Set the value.
      Specified by:
      setValue in interface Bean
      Parameters:
      value - value to set