java.lang.Object
com.subaio.fintechbridge.Page
All Implemented Interfaces:
java.io.Serializable
public final class Page
extends java.lang.Object
implements java.io.Serializable
Represents a specific page for a BridgeView with optional params. The
initial page shown should be `new Page("OVERVIEW", null)` or simply
`Page.overview()`.
See Also:
Serialized Form
Constructor Summary
Constructors
Constructor
Description
Page (java.lang.String name,
org.json.JSONObject params)
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type
Method
Description
java.lang.String
getName ()
Name of the page, e.g.
org.json.JSONObject
getParams ()
static Page
overview ()
Convenience shorthand for initial page.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Details
public Page (java.lang.String name,
org.json.JSONObject params)
Method Details
public java.lang.String getName ()
Name of the page, e.g. "OVERVIEW".
Returns:
name
public org.json.JSONObject getParams ()
public static final Page overview ()
Convenience shorthand for initial page.