y.view
Interface ViewContainer

All Known Implementing Classes:
Graph2DView, Overview

public interface ViewContainer

A ViewContainer is the owner of a set of views. One of it's views is always marked as it's current view, i.e. the one that is active.

this interface informs registered ViewChangeListener objects that it's current view has changed.

A ViewContainer provides a view control that is used for all it's views.

 

Method Summary
 void addViewChangeListener(ViewChangeListener l)
          Registers a ViewChangeListener to the ViewContainer.
 View getCurrentView()
          Returns the currently active view in the ViewContainer.
 ViewControl getViewControl()
          Returns the ViewControl that is used for all the views of the ViewContainer.
 

Method Detail

getCurrentView

View getCurrentView()
Returns the currently active view in the ViewContainer.


addViewChangeListener

void addViewChangeListener(ViewChangeListener l)
Registers a ViewChangeListener to the ViewContainer.


getViewControl

ViewControl getViewControl()
Returns the ViewControl that is used for all the views of the ViewContainer.


© Copyright 2000-2008,
yWorks GmbH.
All rights reserved.