com.googlecode.jpattern.gwt.client.view
Class NullShowViewStrategy<T extends IView>

java.lang.Object
  extended by com.googlecode.jpattern.gwt.client.view.NullShowViewStrategy<T>
All Implemented Interfaces:
IShowViewStrategy<T>

public class NullShowViewStrategy<T extends IView>
extends Object
implements IShowViewStrategy<T>

A strategy that never shows the view

Author:
Francesco Cina 19/lug/2011

Constructor Summary
NullShowViewStrategy(T view)
           
 
Method Summary
 T getView()
          Return the view associated with the strategy
 void onLoadCompleted()
          This is called when a started asynchronous action ends its execution
 void onLoadStart()
          this is called when an asynchronous action begins
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullShowViewStrategy

public NullShowViewStrategy(T view)
Method Detail

getView

public T getView()
Description copied from interface: IShowViewStrategy
Return the view associated with the strategy

Specified by:
getView in interface IShowViewStrategy<T extends IView>
Returns:

onLoadStart

public void onLoadStart()
Description copied from interface: IShowViewStrategy
this is called when an asynchronous action begins

Specified by:
onLoadStart in interface IShowViewStrategy<T extends IView>

onLoadCompleted

public void onLoadCompleted()
Description copied from interface: IShowViewStrategy
This is called when a started asynchronous action ends its execution

Specified by:
onLoadCompleted in interface IShowViewStrategy<T extends IView>


Copyright © 2011. All Rights Reserved.