Package spin.demo

Class BeanImpl

  • All Implemented Interfaces:
    Bean

    public class BeanImpl
    extends java.lang.Object
    implements Bean
    Implementation of a bean.
    • Constructor Summary

      Constructors 
      Constructor Description
      BeanImpl()
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BeanImpl

        public BeanImpl()
        Constructor.
    • Method Detail

      • addPropertyChangeListener

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

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

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