Class JPanelSlices.OkColorListener

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

    class JPanelSlices.OkColorListener
    extends java.lang.Object
    implements java.awt.event.ActionListener
    Pick up the selected color and call method to change the VOI color.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) javax.swing.JButton button
      DOCUMENT ME!
    • Constructor Summary

      Constructors 
      Constructor Description
      OkColorListener​(javax.swing.JButton _button)
      Creates a new OkColorListener object.
    • Method Summary

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

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

      • button

        javax.swing.JButton button
        DOCUMENT ME!
    • Constructor Detail

      • OkColorListener

        OkColorListener​(javax.swing.JButton _button)
        Creates a new OkColorListener object.
        Parameters:
        _button - DOCUMENT ME!
    • Method Detail

      • actionPerformed

        public void actionPerformed​(java.awt.event.ActionEvent e)
        Get color from chooser and set button and VOI color.
        Specified by:
        actionPerformed in interface java.awt.event.ActionListener
        Parameters:
        e - Event that triggered function.