Class ViewPanelImpl.VMInfo

java.lang.Object
ucar.unidata.idv.ui.ViewPanelImpl.VMInfo
All Implemented Interfaces:
ImageObserver
Enclosing class:
ViewPanelImpl

public class ViewPanelImpl.VMInfo extends Object implements ImageObserver
Class VMInfo Holds gui stuff for a viewmanager
Version:
$Revision: 1.33 $
Author:
IDV Development Team
  • Constructor Details

    • VMInfo

      public VMInfo(Object obj)
      ctor
      Parameters:
      obj - Either a ViewManager or a string label
  • Method Details

    • showPopupMenu

      public void showPopupMenu()
      SHow the ViewManager popup menu
    • imageUpdate

      public boolean imageUpdate(Image img, int flags, int x, int y, int width, int height)
      Handle update
      Specified by:
      imageUpdate in interface ImageObserver
      Parameters:
      img - param
      flags - param
      x - param
      y - param
      width - param
      height - param
      Returns:
      continue
    • holds

      public boolean holds(Object obj)
      Do we hold the given object
      Parameters:
      obj - The object
      Returns:
      Is it my object
    • removeControlInfo

      public void removeControlInfo(ucar.unidata.idv.ui.ViewPanelImpl.ControlInfo controlInfo)
      Remove the control
      Parameters:
      controlInfo - the contorl info to remove
    • changeControlInfo

      public void changeControlInfo(ucar.unidata.idv.ui.ViewPanelImpl.ControlInfo controlInfo)
      The control info changed
      Parameters:
      controlInfo - the control info_
    • paintButton

      protected void paintButton(Graphics g, ucar.unidata.idv.ui.ViewPanelImpl.ControlInfo controlInfo)
      Paint the button
      Parameters:
      g - graphics
      controlInfo - the control info_
    • addControlInfo

      public void addControlInfo(ucar.unidata.idv.ui.ViewPanelImpl.ControlInfo controlInfo)
      new control
      Parameters:
      controlInfo - the control info
    • viewManagerDestroyed

      public void viewManagerDestroyed()
      my viewmanager had been removed
    • viewManagerChanged

      public void viewManagerChanged()
      my viewmanager has changed. Update the gui.