org.viewaframework.view.perspective
Interface Perspective

All Superinterfaces:
ViewAware
All Known Implementing Classes:
DefaultPerspective, MyDoggyPerspective

public interface Perspective
extends ViewAware

It's responsible for the visual arrangement of the views at a given time. Views are added from the application ViewManager to the perspective.

Since:
1.0
Author:
Mario Garcia

Method Summary
 Container arrange()
          Arranges the views contained in the manager.
 void clear()
          Unloads all views from this perspective
 String getId()
           
 void setId(String id)
           
 
Methods inherited from interface org.viewaframework.view.ViewAware
addView, addView, getViews, removeView, setViews
 

Method Detail

arrange

Container arrange()
                  throws ViewManagerException
Arranges the views contained in the manager. It would be called by the application before the views can be viewed.

Returns:
Throws:
ViewManagerException

clear

void clear()
Unloads all views from this perspective


getId

String getId()
Returns:

setId

void setId(String id)
Parameters:
id -


Copyright © 2010. All Rights Reserved.