Main Page | Packages | Class Tree | Index | Help

xp.system

class ResourceDictionary

Object
  |
  +--xp.system.ResourceDictionary


dynamic class ResourceDictionary
extends Object

ResourceDictionary
A heirarchical dictionary object


Author:
ProWin Computers Ltd. - Rob Edgar

Version:
3.0.0.000

See also:


Field Summary

public
resourceParent
The parent resource object in the heirarchy

Constructor

public
ResourceDictionary ( resourceParent: Object)


Method Summary

public
addItem ( key: Object, value: Object ): Void
Adds a resource key to this ResourceDictionary.

public
clear ( ): Void
Clears all keys (and values) in this ResourceDictionary.

public
getItem ( key: Object ): Object
Gets the value associated with the given key.

public
removeItem ( key: Object ): Void
removes a resource key to this ResourceDictionary.



Field Documentation

resourceParent

public var resourceParent
The parent resource object in the heirarchy


Constructor Documentation

ResourceDictionary

public function ResourceDictionary(resourceParent: Object)
Parameters:
resourceParent
The parent resource object in the heirarchy

Method Documentation

addItem

public function addItem(key: Object,
 value: Object): Void
Adds a resource key to this ResourceDictionary.

Parameters:
key
Name of the key to add.
value
Value of the added key.

clear

public function clear(): Void
Clears all keys (and values) in this ResourceDictionary.

getItem

public function getItem(key: Object): Object
Gets the value associated with the given key.

Parameters:
key
Name of the key to add.

removeItem

public function removeItem(key: Object): Void
removes a resource key to this ResourceDictionary.

Parameters:
key
Key of the entry to remove.

The documentation was generated from the following file:


Generated on 10/30/2005 9:34:02 PM by AS2Doc