public class ViewProperties extends HashMap<String,Object>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ViewProperties(boolean visibility)
Convenience constructor that initializes the "dm4.topicmaps.visibility" standard view property.
|
ViewProperties(int x,
int y)
Convenience constructor that initializes the "dm4.topicmaps.x" and "dm4.topicmaps.y" standard view properties.
|
ViewProperties(int x,
int y,
boolean visibility)
Convenience constructor that initializes the "dm4.topicmaps.x", "dm4.topicmaps.y", and "dm4.topicmaps.visibility"
standard view properties.
|
ViewProperties(org.codehaus.jettison.json.JSONObject viewProps)
Note: invoked from JAX-RS message body reader (see Webservice's ObjectProvider.java).
|
Modifier and Type | Method and Description |
---|---|
boolean |
getBoolean(String propUri) |
int |
getInt(String propUri) |
Iterable<String> |
propUris() |
private void |
put(boolean visibility) |
private void |
put(int x,
int y) |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
equals, hashCode, toString
public ViewProperties(org.codehaus.jettison.json.JSONObject viewProps)
public ViewProperties(int x, int y, boolean visibility)
public ViewProperties(int x, int y)
public ViewProperties(boolean visibility)
Copyright © 2015. All Rights Reserved.