Class ImagePlanViewControl.MyTabbedPane

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JTabbedPane
edu.wisc.ssec.mcidasv.control.ImagePlanViewControl.MyTabbedPane
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ChangeListener, SwingConstants
Enclosing class:
ImagePlanViewControl

Holds a JFreeChart histogram of image values.
  • Field Details

  • Constructor Details

    • MyTabbedPane

      public MyTabbedPane()
      Creates a new MyTabbedPane that gets immediately registered as a ChangeListener for its own events.
  • Method Details

    • stateChanged

      public void stateChanged(ChangeEvent e)
      The histogram isn't created unless the user selects the histogram tab (this is done in an effort to avoid a spike in memory usage).
      Specified by:
      stateChanged in interface ChangeListener
      Parameters:
      e - The event. Ignored for now.
    • paint

      public void paint(Graphics g)
      MH: Not really doing anything useful...but will leave it here for now...
      Overrides:
      paint in class JComponent
      Parameters:
      g - graphics