Class CalendarFrame.CalMenuListener

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

    private class CalendarFrame.CalMenuListener
    extends java.lang.Object
    implements java.awt.event.ItemListener
    CalMenuListener responds to events in the two popup menus that select the calendar systems to be used in the display. It figures out which of the two menus the event occurred in and updates the corresponding element of the calendars[] array to match the new selection.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private CalMenuListener()  
    • 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
    • Constructor Detail

      • CalMenuListener

        private CalMenuListener()
    • Method Detail

      • itemStateChanged

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