com.bmc.arsys.api
Class DisplayInstanceMap
java.lang.Object
java.util.AbstractMap<K,V>
java.util.TreeMap<Integer,DisplayPropertyMap>
com.bmc.arsys.api.DisplayInstanceMap
- All Implemented Interfaces:
- Serializable, Cloneable, Map<Integer,DisplayPropertyMap>, NavigableMap<Integer,DisplayPropertyMap>, SortedMap<Integer,DisplayPropertyMap>
public class DisplayInstanceMap
- extends TreeMap<Integer,DisplayPropertyMap>
- implements Cloneable, Serializable
The DisplayInstanceMap
class defines the display properties of a field for all associated form
views. The map takes view id as the map key, and DisplayPropertyMap
as the map value.
- See Also:
- Serialized Form
Method Summary |
void |
clear()
cleans all properties stored in this DisplayInstanceMap instance |
Object |
clone()
Clone implementation that returns an Object with data cloned from self. |
Value |
getProperty(int vuiId,
Integer tag)
Returns the value of the given property in a specific view. |
DisplayPropertyMap |
remove(Object key)
|
void |
setProperty(int viewId,
int propertyId,
Value value)
Sets the given display property into a specific view. |
Methods inherited from class java.util.TreeMap |
ceilingEntry, ceilingKey, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, size, subMap, subMap, tailMap, tailMap, values |
DisplayInstanceMap
public DisplayInstanceMap()
getProperty
public Value getProperty(int vuiId,
Integer tag)
- Returns the value of the given property in a specific view.
setProperty
public void setProperty(int viewId,
int propertyId,
Value value)
- Sets the given display property into a specific view.
- Parameters:
viewId
- the id of the view that we set the property intopropertyId
- the id of the propertyvalue
- the value of the property
clear
public void clear()
- cleans all properties stored in this DisplayInstanceMap instance
- Specified by:
clear
in interface Map<Integer,DisplayPropertyMap>
- Overrides:
clear
in class TreeMap<Integer,DisplayPropertyMap>
clone
public Object clone()
- Clone implementation that returns an Object with data cloned from self.
- Overrides:
clone
in class TreeMap<Integer,DisplayPropertyMap>
remove
public DisplayPropertyMap remove(Object key)
- Specified by:
remove
in interface Map<Integer,DisplayPropertyMap>
- Overrides:
remove
in class TreeMap<Integer,DisplayPropertyMap>
© Copyright 2006, 2007 BMC Software, Inc.