AR System Java API

com.bmc.arsys.api
Class DisplayInstanceMap

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.TreeMap<Integer,DisplayPropertyMap>
          extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
DisplayInstanceMap()
           
 
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
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, isEmpty, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode, isEmpty
 

Constructor Detail

DisplayInstanceMap

public DisplayInstanceMap()
Method Detail

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 into
propertyId - the id of the property
value - 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>

AR System Java API

© Copyright 2006, 2007 BMC Software, Inc.