Package ucar.unidata.idv.ui
Class ViewPanelImpl.VMInfo
java.lang.Object
ucar.unidata.idv.ui.ViewPanelImpl.VMInfo
- All Implemented Interfaces:
ImageObserver
- Enclosing class:
ViewPanelImpl
Class VMInfo Holds gui stuff for a viewmanager
- Version:
- $Revision: 1.33 $
- Author:
- IDV Development Team
-
Field Summary
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addControlInfo
(ucar.unidata.idv.ui.ViewPanelImpl.ControlInfo controlInfo) new controlvoid
changeControlInfo
(ucar.unidata.idv.ui.ViewPanelImpl.ControlInfo controlInfo) The control info changedboolean
Do we hold the given objectboolean
imageUpdate
(Image img, int flags, int x, int y, int width, int height) Handle updateprotected void
paintButton
(Graphics g, ucar.unidata.idv.ui.ViewPanelImpl.ControlInfo controlInfo) Paint the buttonvoid
removeControlInfo
(ucar.unidata.idv.ui.ViewPanelImpl.ControlInfo controlInfo) Remove the controlvoid
SHow the ViewManager popup menuvoid
my viewmanager has changed.void
my viewmanager had been removed
-
Constructor Details
-
VMInfo
ctor- Parameters:
obj
- Either a ViewManager or a string label
-
-
Method Details
-
showPopupMenu
public void showPopupMenu()SHow the ViewManager popup menu -
imageUpdate
Handle update- Specified by:
imageUpdate
in interfaceImageObserver
- Parameters:
img
- paramflags
- paramx
- paramy
- paramwidth
- paramheight
- param- Returns:
- continue
-
holds
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
Paint the button- Parameters:
g
- graphicscontrolInfo
- 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.
-