Class Page

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

    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

    • Page

      public Page​(java.lang.String name, org.json.JSONObject params)
  • Method Details

    • getName

      public java.lang.String getName()
      Name of the page, e.g. "OVERVIEW".
      Returns:
      name
    • getParams

      public org.json.JSONObject getParams()
    • overview

      public static final Page overview()
      Convenience shorthand for initial page.