ncsa.hdf.view
Interface ViewManager

All Known Implementing Classes:
HDFView

public interface ViewManager

Defines a list of APIs for the main HDFView winodows

Version:
2.4 9/6/2007
Author:
Peter X. Cao

Method Summary
 void addDataView(DataView dataView)
          data content is displayed, and add the dataview to the main windows
 DataView getDataView(HObject dataObject)
          Returns DataView contains the specified data object.
 TreeView getTreeView()
          returns the current treeView
 void mouseEventFired(java.awt.event.MouseEvent e)
          Tree mouse event fired
 void removeDataView(DataView dataView)
          data content is closed, and remove the dataview from the main window
 void showStatus(java.lang.String msg)
          display feedback message
 

Method Detail

addDataView

void addDataView(DataView dataView)
data content is displayed, and add the dataview to the main windows


removeDataView

void removeDataView(DataView dataView)
data content is closed, and remove the dataview from the main window


getDataView

DataView getDataView(HObject dataObject)
Returns DataView contains the specified data object. It is useful to avoid redundant display of data object that is opened already.

Parameters:
dataObject - the whose presence in the main view is to be tested.
Returns:
DataView contains the specified data object, null if the data object is not displayed.

showStatus

void showStatus(java.lang.String msg)
display feedback message


getTreeView

TreeView getTreeView()
returns the current treeView


mouseEventFired

void mouseEventFired(java.awt.event.MouseEvent e)
Tree mouse event fired