Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Class OME.ViewManager

java.lang.Object
  |
  +--OME.ViewManager

public class ViewManager
extends java.lang.Object
implements Views
ViewManager creates, deletes, and manages access to the extent views.


Constructor Summary
ViewManager(OMEModel model)
           
 
Method Summary
java.util.Iterator activeViews()
          Returns a list of the active(open, onscreen) views.
View createView(int viewtype)
          Creates a view of the current model.
void deleteView(View v)
          Destroys a view.
View getViewByIndex(int index)
          Returns the view with the requested index.
java.util.Iterator listAllViews()
          Returns a list of extant views.
java.util.Iterator serializedViews()
          Returns a list of the serialized views.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Constructor Detail

ViewManager

public ViewManager(OMEModel model)
Method Detail

createView

public View createView(int viewtype)
Creates a view of the current model.

deleteView

public void deleteView(View v)
Destroys a view. The last graphview of a model cannot be destroyed.

listAllViews

public java.util.Iterator listAllViews()
Returns a list of extant views.

serializedViews

public java.util.Iterator serializedViews()
Returns a list of the serialized views.

activeViews

public java.util.Iterator activeViews()
Returns a list of the active(open, onscreen) views.

getViewByIndex

public View getViewByIndex(int index)
Returns the view with the requested index. Otherwise returns null. Usually used to get the first graphview at zero.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD