Actions

public final class Actions extends Object

Provides convenience methods to construct common type of actions.

Public Constructor Summary

Public Method Summary

static Action
newView(String name, String url)
Constructs a "view" action.

Inherited Method Summary

Object
clone()
boolean
equals(Object arg0)
void
finalize()
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

Public Constructors

public Actions ()

Public Methods

public static Action newView (String name, String url)

Constructs a "view" action.

Parameters
name The name of the object being viewed (e.g. the title of an article).
url The URL of the object that is viewed (this URL needs to be handled by the app to take the user to the right place).