com.sapportals.wcm.util.controlstatus

Class MetaInfoMap

java.lang.Object
  extended byjava.util.AbstractMap
      extended byjava.util.HashMap
          extended bycom.sapportals.wcm.util.controlstatus.MetaInfoMap
All Implemented Interfaces:
Cloneable, Map, Serializable

public final class MetaInfoMap
extends HashMap

See Also:
Serialized Form

Constructor Summary
MetaInfoMap(String label)
          creates a new instance that holds two map entries - label and tooltip.
MetaInfoMap(String labelkey, Locale locale, ResourceBundles bundle)
          creates a new, translated metamap instance.
MetaInfoMap(String label, String tooltip)
          creates a new instance that holds two map entries - label and tooltip.
MetaInfoMap(String labelkey, String tooltipkey, Locale locale, ResourceBundles bundle)
          creates a new, translated metamap instance.
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

MetaInfoMap

public MetaInfoMap(String label,
                   String tooltip)
creates a new instance that holds two map entries - label and tooltip. This will create an untranslated meta info.

Parameters:
label -
tooltip -

MetaInfoMap

public MetaInfoMap(String label)
creates a new instance that holds two map entries - label and tooltip. The tooltip will hold the same value as the label. This constructor will create an untranslated meta info

Parameters:
label -

MetaInfoMap

public MetaInfoMap(String labelkey,
                   String tooltipkey,
                   Locale locale,
                   ResourceBundles bundle)
creates a new, translated metamap instance. None of the parameters must be null.


MetaInfoMap

public MetaInfoMap(String labelkey,
                   Locale locale,
                   ResourceBundles bundle)
creates a new, translated metamap instance. None of the parameters must be null. The given labelkey will also be used to retrieve a tooltip.



Copyright 2006 SAP AG Complete Copyright Notice