edu.wisc.ssec.mcidasv.ui
Class McIDASVViewPanel.VMInfo
java.lang.Object
edu.wisc.ssec.mcidasv.ui.McIDASVViewPanel.VMInfo
- All Implemented Interfaces:
- ImageObserver
- Enclosing class:
- McIDASVViewPanel
public class McIDASVViewPanel.VMInfo
- extends Object
- implements ImageObserver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
viewManager
private ViewManager viewManager
popupButton
private JButton popupButton
tabContents
private JComponent tabContents
headerPanel
private JPanel headerPanel
ignore
private boolean ignore
controlInfos
private List<McIDASVViewPanel.ControlInfo> controlInfos
buttons
private List<JToggleButton> buttons
contents
private JComponent contents
viewLabel
private JLabel viewLabel
catToggle
private JButton catToggle
catOpen
private boolean catOpen
listener
private KeyListener listener
categories
private List<String> categories
myType
private McIDASVViewPanel.ViewManagers myType
McIDASVViewPanel.VMInfo
public McIDASVViewPanel.VMInfo(ViewManager vm,
McIDASVViewPanel.ViewManagers type)
getCatOpen
public boolean getCatOpen()
setCatOpen
public void setCatOpen(boolean v)
showPopupMenu
public void showPopupMenu()
holds
public boolean holds(ViewManager vm)
- Determine if this VMInfo contains a given ViewManager.
- Parameters:
vm
- The ViewManager you wish to test.
- Returns:
- True if this VMInfo contains vm, false otherwise.
removeControlInfo
public void removeControlInfo(McIDASVViewPanel.ControlInfo info)
changeControlInfo
public void changeControlInfo(McIDASVViewPanel.ControlInfo info)
paintButton
public void paintButton(Graphics g,
McIDASVViewPanel.ControlInfo info)
addControlInfo
public void addControlInfo(McIDASVViewPanel.ControlInfo info)
buttonsChanged
private void buttonsChanged()
- Redo the buttons
viewManagerDestroyed
public void viewManagerDestroyed()
- Handles ViewManager removal.
viewManagerChanged
public void viewManagerChanged()
- my viewmanager has changed. Update the gui.
getLabel
public String getLabel()
- Get the ViewManager label. If the ViewManager does not already have
a valid name, a default name is created, based on the number of
existing ViewManagers.
- Returns:
- label The ViewManager's name.
imageUpdate
public boolean imageUpdate(Image img,
int flags,
int x,
int y,
int width,
int height)
- Specified by:
imageUpdate
in interface ImageObserver