ncsa.hdf.view
Interface ViewManager

All Known Implementing Classes:
HDFView

public interface ViewManager

ViewManager

Description: defines a list of APIs for the main HDFView winodows

Company: NCSA, University of Illinois at Urbana-Champaign


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

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


removeDataView

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


getDataView

public 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

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


getTreeView

public TreeView getTreeView()
returns the current treeView


mouseEventFired

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