Class ViewJFrameGraph.bColorListener

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

    class ViewJFrameGraph.bColorListener
    extends java.lang.Object
    implements java.awt.event.ActionListener
    This class is called by the color chooser when the user selects a a color from the background color chooser dialog box. It changes the background color.
    • Constructor Summary

      Constructors 
      Constructor Description
      bColorListener()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void actionPerformed​(java.awt.event.ActionEvent e)
      Resets the background color based on the user's choice.
      • Methods inherited from class java.lang.Object

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

      • bColorListener

        bColorListener()
    • Method Detail

      • actionPerformed

        public void actionPerformed​(java.awt.event.ActionEvent e)
        Resets the background color based on the user's choice.
        Specified by:
        actionPerformed in interface java.awt.event.ActionListener
        Parameters:
        e - event that called this function