com.google.gwt.gadgets.client
Class ViewFeature

java.lang.Object
  extended by com.google.gwt.gadgets.client.ViewFeature
All Implemented Interfaces:
GadgetFeature

public class ViewFeature
extends java.lang.Object
implements GadgetFeature

Provides operations for dealing with views.


Nested Class Summary
static class ViewFeature.Params
          This is used to return view parameters.
static class ViewFeature.Views
          This is used to return views.
 
Nested classes/interfaces inherited from interface com.google.gwt.gadgets.client.GadgetFeature
GadgetFeature.FeatureName, GadgetFeature.MayRequire
 
Constructor Summary
protected ViewFeature()
           
 
Method Summary
 View getCurrentView()
          Returns the current view.
 ViewFeature.Params getParams()
           
 ViewFeature.Views getSupportedViews()
          Returns all views that are supported by the container.
 void requestNavigateTo(View view)
          Moves the current view, to the new one
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewFeature

protected ViewFeature()
Method Detail

getCurrentView

public final View getCurrentView()
Returns the current view.


getParams

public final ViewFeature.Params getParams()

getSupportedViews

public final ViewFeature.Views getSupportedViews()
Returns all views that are supported by the container.


requestNavigateTo

public final void requestNavigateTo(View view)
Moves the current view, to the new one

Parameters:
view - The new view.