public interface ViewPanel
Modifier and Type | Field and Description |
---|---|
static javax.swing.ImageIcon |
ICON_DEFAULT
default icon
|
static javax.swing.ImageIcon |
ICON_GLOBE
icon for globe views
|
static javax.swing.ImageIcon |
ICON_MAP
icon for map views
|
static javax.swing.ImageIcon |
ICON_TRANSECT
icon for transect views
|
Modifier and Type | Method and Description |
---|---|
void |
addDisplayControl(DisplayControl control)
Add the given display control
|
void |
addViewMenuItems(DisplayControl control,
java.util.List items)
Add view menu items for the display control
|
void |
controlMoved(DisplayControl control)
_more_
|
void |
displayControlChanged(DisplayControl displayControl)
Called by the IDV when there has been a change to the display controls.
|
javax.swing.JComponent |
getContents()
Make, if needed, and return the contents
|
void |
removeDisplayControl(DisplayControl control) |
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.
|
static final javax.swing.ImageIcon ICON_MAP
static final javax.swing.ImageIcon ICON_TRANSECT
static final javax.swing.ImageIcon ICON_GLOBE
static final javax.swing.ImageIcon ICON_DEFAULT
javax.swing.JComponent getContents()
void addDisplayControl(DisplayControl control)
control
- display controlvoid viewManagerAdded(ViewManager viewManager)
viewManager
- The VMvoid viewManagerDestroyed(ViewManager viewManager)
viewManager
- The ViewManager that was destroyedvoid viewManagerChanged(ViewManager viewManager)
viewManager
- The ViewManager that was changedvoid displayControlChanged(DisplayControl displayControl)
displayControl
- The control that changedvoid removeDisplayControl(DisplayControl control)
control
- The removed controlvoid addViewMenuItems(DisplayControl control, java.util.List items)
control
- the display controlitems
- List of menu itemsvoid controlMoved(DisplayControl control)
control
- _more_