|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.ui.WindowHolder
ucar.unidata.idv.IdvManager
ucar.unidata.idv.ui.ViewPanelImpl
public class ViewPanelImpl
Manages the user interface for the IDV
| Nested Class Summary | |
|---|---|
class |
ViewPanelImpl.VMInfo
Class VMInfo Holds gui stuff for a viewmanager |
| Field Summary | |
|---|---|
static Border |
headerPanelBorder
The border for the header panel |
static Border |
headerPanelHighlightBorder
highlight border for view infos |
static ImageIcon |
ICON_DEFAULT
default icon |
static ImageIcon |
ICON_GLOBE
icon for globe views |
static ImageIcon |
ICON_MAP
icon for map views |
static ImageIcon |
ICON_TRANSECT
icon for transect views |
| Fields inherited from class ucar.unidata.ui.WindowHolder |
|---|
dialog, frame, window |
| Constructor Summary | |
|---|---|
ViewPanelImpl(IntegratedDataViewer idv)
Create me with the IDV |
|
| Method Summary | |
|---|---|
void |
addDisplayControl(DisplayControl control)
Add the given display control |
void |
addViewMenuItems(DisplayControl control,
List items)
Add view menu items for the display control |
void |
controlMoved(DisplayControl control)
Handle a control moved |
void |
displayControlChanged(DisplayControl displayControl)
Called by the IDV when there has been a change to the display controls. |
void |
dockControl(DisplayControl control)
Reinserts the control into the control tabs |
void |
expandControl(DisplayControl control)
Expand the control's gui in the tabs |
JComponent |
getContents()
Make, if needed, and return the contents |
protected static void |
initButtonState(IntegratedDataViewer idv)
Initialize the button state |
void |
removeControlTab(DisplayControl control)
Remove the control from the control tab if we are doing control tabs |
void |
removeDisplayControl(DisplayControl control)
|
void |
undockControl(DisplayControl control)
Remove the control from the tabs |
void |
viewManagerAdded(ViewManager viewManager)
Be notified of the addition of a VM |
void |
viewManagerChanged(ViewManager viewManager)
Called when the ViewManager is changed. |
void |
viewManagerDestroyed(ViewManager viewManager)
Called when the ViewManager is removed. |
| Methods inherited from class ucar.unidata.ui.WindowHolder |
|---|
actionPerformed, close, doMakeContents, getDialog, getFrame, getWindow, getWindowTitle, isShowing, removeAll, setWindowTitle, shouldMakeDialog, show, show, showModal, toFront, windowIsClosing |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static ImageIcon ICON_MAP
public static ImageIcon ICON_TRANSECT
public static ImageIcon ICON_GLOBE
public static ImageIcon ICON_DEFAULT
public static Border headerPanelBorder
public static Border headerPanelHighlightBorder
| Constructor Detail |
|---|
public ViewPanelImpl(IntegratedDataViewer idv)
idv - The IDV| Method Detail |
|---|
public JComponent getContents()
getContents in interface ViewPanelgetContents in class WindowHolderpublic void addDisplayControl(DisplayControl control)
addDisplayControl in interface ViewPanelcontrol - display controlpublic void viewManagerAdded(ViewManager viewManager)
viewManagerAdded in interface ViewPanelviewManager - The VMpublic void viewManagerDestroyed(ViewManager viewManager)
viewManagerDestroyed in interface ViewPanelviewManager - The ViewManager that was destroyedpublic void viewManagerChanged(ViewManager viewManager)
viewManagerChanged in interface ViewPanelviewManager - The ViewManager that was changedpublic void displayControlChanged(DisplayControl displayControl)
displayControlChanged in interface ViewPaneldisplayControl - The control that changedpublic void removeDisplayControl(DisplayControl control)
removeDisplayControl in interface ViewPanelcontrol - The removed controlpublic void removeControlTab(DisplayControl control)
control - The control
public void addViewMenuItems(DisplayControl control,
List items)
addViewMenuItems in interface ViewPanelcontrol - the display controlitems - List of menu itemspublic void expandControl(DisplayControl control)
control - The controlpublic void dockControl(DisplayControl control)
control - the controlpublic void undockControl(DisplayControl control)
control - The controlpublic void controlMoved(DisplayControl control)
controlMoved in interface ViewPanelcontrol - the moved controlprotected static void initButtonState(IntegratedDataViewer idv)
idv - the idv
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||