Module java.desktop

Interface ItemListener

    • Method Summary

      Modifier and Type Method Description
      void itemStateChanged​(ItemEvent e)
      Invoked when an item has been selected or deselected by the user.
    • Method Detail

      • itemStateChanged

        void itemStateChanged​(ItemEvent e)
        Invoked when an item has been selected or deselected by the user. The code written for this method performs the operations that need to occur when an item is selected (or deselected).
        Parameters:
        e - the event to be processed