public class Keikai extends Object
Spreadsheet
.Constructor and Description |
---|
Keikai() |
Modifier and Type | Method and Description |
---|---|
static void |
addMeta(Object key,
Object value)
Adds the specified key to the specified value in the global meta.
|
static Object |
getMeta(Object key)
Returns the value in the global meta from the given key.
|
static Spreadsheet |
newClient(String address)
Creates a spreadsheet client from the given address
|
static Spreadsheet |
newClient(String address,
Settings settings)
Creates a spreadsheet client from the given address and settings.
|
static Spreadsheet |
newClient(String address,
String appId)
Creates a spreadsheet client from the given address and app id.
|
static Spreadsheet |
newClient(String address,
String appId,
Settings settings)
Create a spreadsheet client from the given address, app id, and settings.
|
static Spreadsheet |
newDataClient(String address)
Creates a data spreadsheet client from the given address.
|
static Spreadsheet |
newDataClient(String address,
String appId,
Settings settings)
Create a data spreadsheet client from the given address, app id, and settings.
|
static Spreadsheet |
newHostClient(String address)
Creates a host spreadsheet client from the given address.
|
static Spreadsheet |
newHostClient(String address,
String appId,
String winId,
Settings settings)
Creates a host spreadsheet client from the given address, appId, winId, and settings.
|
static Object |
removeMeta(Object key)
Removes the value in the meta from the given key.
|
public static void addMeta(Object key, Object value)
key
- value
- public static Object getMeta(Object key)
key
- public static Object removeMeta(Object key)
key
- public static Spreadsheet newClient(String address)
address
- public static Spreadsheet newClient(String address, Settings settings)
address
- settings
- public static Spreadsheet newClient(String address, String appId)
address
- appId
- public static Spreadsheet newClient(String address, String appId, Settings settings)
address
- appId
- settings
- public static Spreadsheet newDataClient(String address)
The shared means there is only one data provider client (i.e. one Java instance) for all UI clients to use, then it won't have its associated UI part, such as the status of active sheet, active cell, and so on.
address
- public static Spreadsheet newDataClient(String address, String appId, Settings settings)
The "shared" means there is only one data provider client (i.e. one Java instance) for all UI clients to use, then it won't have its associated UI part, such as the status of active sheet, active cell, and so on.
address
- appId
- settings
- public static Spreadsheet newHostClient(String address)
the "master" means all the control clients and UI clients will see the same screen, status, and data. It's useful as teaching mode in the school.
address
- public static Spreadsheet newHostClient(String address, String appId, String winId, Settings settings)
the "master" means all the control clients and UI clients will see the same screen, status, and data. It's useful as teaching mode in the school.
address
- appId
- winId
- the same winId from the different Java instance.settings
- Copyright © 2018. All rights reserved.