Class SofaSelectionListener

  • All Implemented Interfaces:
    java.awt.event.ItemListener, java.util.EventListener

    public class SofaSelectionListener
    extends java.lang.Object
    implements java.awt.event.ItemListener
    The listener interface for receiving sofaSelection events. The class that is interested in processing a sofaSelection event implements this interface, and the object created with that class is registered with a component using the component's addSofaSelectionListener method. When the sofaSelection event occurs, that object's appropriate method is invoked. // * @see SofaSelectionEvent
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private MainFrame main
      The main.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void itemStateChanged​(java.awt.event.ItemEvent e)  
      • Methods inherited from class java.lang.Object

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

      • main

        private final MainFrame main
        The main.
    • Constructor Detail

      • SofaSelectionListener

        public SofaSelectionListener​(MainFrame frame)
        Instantiates a new sofa selection listener.
        Parameters:
        frame - the frame
    • Method Detail

      • itemStateChanged

        public void itemStateChanged​(java.awt.event.ItemEvent e)
        Specified by:
        itemStateChanged in interface java.awt.event.ItemListener