@Api(allMethods=true) public class ClientApplicationInfo extends Object implements IsInfo
| Modifier and Type | Class and Description |
|---|---|
static class |
ClientApplicationInfo.DummyClientUserDataInfo
Dummy implementation to keep GWT serializer happy !
|
static class |
ClientApplicationInfo.DummyClientWidgetInfo
Dummy implementation to keep GWT serializer happy !
|
| Constructor and Description |
|---|
ClientApplicationInfo() |
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Get the unique id for this application (auto-copied from Spring context).
|
List<ClientMapInfo> |
getMaps()
Get the list of maps for this application.
|
int |
getScreenDpi()
Get number of dots per inch of the client screen.
|
ClientUserDataInfo |
getUserData()
Get the custom configuration data.
|
Map<String,ClientWidgetInfo> |
getWidgetInfo()
Get configuration for (custom) widgets which are not map specific.
|
ClientWidgetInfo |
getWidgetInfo(String widget)
Get configuration for a (custom) map widgets which are not map specific.
|
void |
setId(String value)
Set the id for this application.
|
void |
setMaps(List<ClientMapInfo> value)
Set the list of maps for this application.
|
void |
setScreenDpi(int screenDpi)
Deprecated.
fixed at 96 to avoid conflicts with
ScaleInfo conversion factor |
void |
setUserData(ClientUserDataInfo userData)
Set the custom configuration data you wish to pass to the client.
|
void |
setWidgetInfo(Map<String,ClientWidgetInfo> widgetInfo)
Set configuration for (custom) map widgets which are not map specific.
|
String |
toString() |
public String getId()
public void setId(String value)
value - id unique idpublic List<ClientMapInfo> getMaps()
ClientMapInfopublic void setMaps(List<ClientMapInfo> value)
value - list of ClientMapInfopublic int getScreenDpi()
@Deprecated public void setScreenDpi(int screenDpi)
ScaleInfo conversion factorscreenDpi - number of dots per inch (default = 96)public ClientUserDataInfo getUserData()
public void setUserData(ClientUserDataInfo userData)
userData - Custom configuration data@Api public Map<String,ClientWidgetInfo> getWidgetInfo()
@Api public ClientWidgetInfo getWidgetInfo(String widget)
widget - widget keypublic void setWidgetInfo(Map<String,ClientWidgetInfo> widgetInfo)
widgetInfo - map keyed on widget id containing widget configurationsCopyright © 2015 Geosparc. All Rights Reserved.