de.deepamehta.plugins.topicmaps.model
Class ViewProperties
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,Object>
de.deepamehta.plugins.topicmaps.model.ViewProperties
- All Implemented Interfaces:
- Serializable, Cloneable, Map<String,Object>
public class ViewProperties
- extends HashMap<String,Object>
- See Also:
- Serialized Form
Constructor Summary |
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(JSONObject viewProps)
Note: invoked from JAX-RS message body reader (see Webservice's ObjectProvider.java). |
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
ViewProperties
public ViewProperties(JSONObject viewProps)
- Note: invoked from JAX-RS message body reader (see Webservice's ObjectProvider.java).
ViewProperties
public 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
public ViewProperties(int x,
int y)
- Convenience constructor that initializes the "dm4.topicmaps.x" and "dm4.topicmaps.y" standard view properties.
ViewProperties
public ViewProperties(boolean visibility)
- Convenience constructor that initializes the "dm4.topicmaps.visibility" standard view property.
getInt
public int getInt(String propUri)
getBoolean
public boolean getBoolean(String propUri)
propUris
public Iterable<String> propUris()
put
private void put(int x,
int y)
put
private void put(boolean visibility)
Copyright © 2015. All Rights Reserved.