Class Demo.SizeActionListener

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.util.EventListener
    Enclosing class:
    Demo

    class Demo.SizeActionListener
    extends java.lang.Object
    implements java.awt.event.ActionListener
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) int size  
    • Constructor Summary

      Constructors 
      Constructor Description
      SizeActionListener​(int size)  
    • Method Summary

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

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

      • size

        int size
    • Constructor Detail

      • SizeActionListener

        public SizeActionListener​(int size)
    • Method Detail

      • actionPerformed

        public void actionPerformed​(java.awt.event.ActionEvent e)
        Specified by:
        actionPerformed in interface java.awt.event.ActionListener