Package ucar.unidata.idv.ui
Interface ViewPanel
- All Known Implementing Classes:
ViewPanelImpl
public interface ViewPanel
Manages the user interface for the IDV
- Author:
- IDV development team
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDisplayControl(DisplayControl control) Add the given display controlvoidaddViewMenuItems(DisplayControl control, List items) Add view menu items for the display controlvoidcontrolMoved(DisplayControl control) _more_voiddisplayControlChanged(DisplayControl displayControl) Called by the IDV when there has been a change to the display controls.Make, if needed, and return the contentsvoidremoveDisplayControl(DisplayControl control) voidviewManagerAdded(ViewManager viewManager) Be notified of the addition of a VMvoidviewManagerChanged(ViewManager viewManager) Called when the ViewManager is changed.voidviewManagerDestroyed(ViewManager viewManager) Called when the ViewManager is removed.
-
Field Details
-
ICON_MAP
icon for map views -
ICON_TRANSECT
icon for transect views -
ICON_GLOBE
icon for globe views -
ICON_DEFAULT
default icon
-
-
Method Details
-
getContents
JComponent getContents()Make, if needed, and return the contents- Returns:
- the gui contents
-
addDisplayControl
Add the given display control- Parameters:
control- display control
-
viewManagerAdded
Be notified of the addition of a VM- Parameters:
viewManager- The VM
-
viewManagerDestroyed
Called when the ViewManager is removed. If we are showing legends in a separate window then we remove the tab- Parameters:
viewManager- The ViewManager that was destroyed
-
viewManagerChanged
Called when the ViewManager is changed. If we are showing legends in a separate window then we update the tab label- Parameters:
viewManager- The ViewManager that was changed
-
displayControlChanged
Called by the IDV when there has been a change to the display controls.- Parameters:
displayControl- The control that changed
-
removeDisplayControl
- Parameters:
control- The removed control
-
addViewMenuItems
Add view menu items for the display control- Parameters:
control- the display controlitems- List of menu items
-
controlMoved
_more_- Parameters:
control- _more_
-