com.google.gwt.gadgets.client.impl
Class ViewFeatureImpl

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

public class ViewFeatureImpl
extends java.lang.Object
implements ViewFeature

Provides operations for dealing with views.


Nested Class Summary
static class ViewFeatureImpl.ParamsImpl
          This is used to return view parameters.
static class ViewFeatureImpl.ViewsImpl
          This is used to return views.
 
Nested classes/interfaces inherited from interface com.google.gwt.gadgets.client.ViewFeature
ViewFeature.Params, ViewFeature.Views
 
Constructor Summary
protected ViewFeatureImpl()
           
 
Method Summary
 View getCurrentView()
          Returns the current view.
 ViewFeatureImpl.ParamsImpl getParams()
           
 ViewFeatureImpl.ViewsImpl 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

ViewFeatureImpl

protected ViewFeatureImpl()
Method Detail

getCurrentView

public final View getCurrentView()
Description copied from interface: ViewFeature
Returns the current view.

Specified by:
getCurrentView in interface ViewFeature

getParams

public final ViewFeatureImpl.ParamsImpl getParams()
Specified by:
getParams in interface ViewFeature

getSupportedViews

public final ViewFeatureImpl.ViewsImpl getSupportedViews()
Description copied from interface: ViewFeature
Returns all views that are supported by the container.

Specified by:
getSupportedViews in interface ViewFeature

requestNavigateTo

public final void requestNavigateTo(View view)
Description copied from interface: ViewFeature
Moves the current view, to the new one

Specified by:
requestNavigateTo in interface ViewFeature
Parameters:
view - The new view.