Class ActionsMenuCreator.AbstractStateActionListener

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) javax.swing.AbstractButton component
      Component which should be updated.
      (package private) java.beans.PropertyChangeListener sup
      Support which handles other changes.
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractStateActionListener​(java.beans.PropertyChangeListener sup, javax.swing.AbstractButton component)
      Creates new listener.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void propertyChange​(java.beans.PropertyChangeEvent e)
      Handles MDStateAction.STATE property change event.
      • Methods inherited from class java.lang.Object

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

      • sup

        java.beans.PropertyChangeListener sup
        Support which handles other changes.
      • component

        javax.swing.AbstractButton component
        Component which should be updated.
    • Constructor Detail

      • AbstractStateActionListener

        AbstractStateActionListener​(java.beans.PropertyChangeListener sup,
                                    javax.swing.AbstractButton component)
        Creates new listener.
        Parameters:
        sup - support which handles other changes.
        component - Component which should be updated.
    • Method Detail

      • propertyChange

        public void propertyChange​(java.beans.PropertyChangeEvent e)
        Handles MDStateAction.STATE property change event. and updates component.
        Specified by:
        propertyChange in interface java.beans.PropertyChangeListener
        Parameters:
        e - PropertyChangeEvent event.