Static Public Member Functions | |
static ObjectRef< T > | create (Domain domain, String name) |
Constructs a new ResourceDictionarySelector. More... | |
Static Public Member Functions inherited from ResourceDictionary | |
static ObjectRef< T > | create (Domain domain, String name) |
Constructs a new ResourceDictionary. More... | |
Static Public Attributes | |
static final Metaclass | metaclass |
The Metaclass for the class. More... | |
Static Public Attributes inherited from ResourceDictionary | |
static final Metaclass | metaclass |
The Metaclass for the class. More... | |
Static Public Attributes inherited from Resource | |
static final Metaclass | metaclass |
The Metaclass for the class. More... | |
Static Public Attributes inherited from KanziObject | |
static final Metaclass | metaclass = new AbstractMetaclass("Kanzi.Object") |
The Metaclass for the class. | |
Additional Inherited Members | |
Public Member Functions inherited from ResourceDictionary | |
ObjectRef< Resource > | acquire (ResourceID key) |
Gets from the resource dictionary the resource with the resource ID that you pass to the function. More... | |
ResourceManager.AcquireTask | acquireAsync (ResourceID key, ResourceManager.AcquireTask.Callback callback) |
Asynchronously acquires a resource. More... | |
void | add (ResourceID key, String url) |
Adds a resource ID to a resource URL mapping to a resource dictionary. More... | |
void | add (ResourceID key, Resource resource) |
Adds a resource ID to a resource mapping to a resource dictionary. More... | |
void | add (ResourceDictionary resourceDictionary) |
Adds a nested resource dictionary to a resource dictionary. More... | |
void | addAnonymousResource (Resource resource) |
Adds an anonymous resource to a resource dictionary. More... | |
ObjectRef< ResourceDictionary > | clone () |
Duplicates a resource dictionary. More... | |
boolean | contains (ResourceID key) |
Returns whether a resource dictionary contains a mapping for the resource ID that you pass to the function. More... | |
String | find (ResourceID key) |
Resolves the mapping from the resource ID that you pass to the function to the URL of the resource. More... | |
ResourceDictionary | findDictionary (String name) |
Searches for a nested dictionary with the specified name and returns a pointer to it. More... | |
Resource | findStoredResource (ResourceID key) |
Finds an explicitly stored resource pointer from a dictionary. More... | |
int | getDictionaryCount () |
Gets the number of nested resource dictionaries in a resource dictionary. More... | |
Iterable< Resource > | iterateAnonymousResources () |
Returns an Iterable object that you can use to iterate the anonymous resources stored by this resource dictionary object. More... | |
Iterable< UrlMapPair > | iterateUrls () |
Returns an Iterable object that you can use to iterate elements of the URL mappings container. More... | |
void | merge (ResourceDictionary preferredDictionary) |
Copies into this resource dictionary the contents of the resource dictionary that you pass to the function. More... | |
void | remove (ResourceID key) |
Removes a resource ID mapping from a resource dictionary. More... | |
void | removeAnonymousResource (Resource resource) |
Removes an anonymous resource from the resource dictionary. More... | |
void | removeDictionary (int index) |
Removes a nested resource dictionary from a resource dictionary. More... | |
Iterable< ResourceDictionary > | reverseIterateNestedResourceDictionaries () |
Returns an Iterable object that you can use to iterate nested resource dictionary container in reversed order. More... | |
Public Member Functions inherited from Resource | |
String | getName () |
Gets the resource name. More... | |
String | getUrl () |
Gets the resource URL. More... | |
void | setKeepAlive (boolean keepAlive) |
Sets the keep alive flag. More... | |
Public Member Functions inherited from KanziObject | |
boolean | equals (Object object) |
Domain | getDomain () |
Returns the domain the object belongs to. More... | |
Metaclass | getDynamicMetaclass () |
Returns the metaclass of the dynamic type of the object. More... | |
long | getNative () |
Gets a pointer to the backing C++ instance. More... | |
TDataType | getOptionalProperty (PropertyType< TDataType > propertyType) |
Returns the current value of a property type, but does not use the default value if there are no inputs to the property value. More... | |
TDataType | getProperty (PropertyType< TDataType > propertyType) |
Returns the current value of a property type. More... | |
int | hashCode () |
boolean | hasValue (PropertyType< TDataType > propertyType) |
Evaluates whether there are any inputs into the property value. More... | |
boolean | isStale () |
Test if the object is stale i.e. More... | |
void | removeLocalValue (PropertyType< TDataType > propertyType) |
Removes the local value associated with the property. More... | |
void | setProperty (PropertyType< TDataType > propertyType, TDataType value) |
Sets the local value of a property type. More... | |
ObjectRef< TType > | tryCreateObjectRef (Class< TType > clazz) |
Tries to create an owning ObjectRef instance to this KanziObject. More... | |
Public Attributes inherited from ResourceMetadata | |
AbstractMetaclass | metaclass = new AbstractMetaclass("Kanzi.Resource") |
Metaclass for Resource. | |
Public Attributes inherited from ResourceDictionaryMetadata | |
AbstractMetaclass | metaclass = new AbstractMetaclass("Kanzi.ResourceDictionary") |
Metaclass for ResourceDictionary. | |
Public Attributes inherited from ResourceDictionarySelectorMetadata | |
AbstractMetaclass | metaclass = new AbstractMetaclass("Kanzi.ResourceDictionarySelector") |
Metaclass for ResourceDictionarySelector. | |
DynamicPropertyType< Resource > | SelectedDictionaryProperty |
The currently selected theme in the theme group. More... | |
Constructs a new ResourceDictionarySelector.
domain | UI Domain where this object belongs. |
name | Name of the object. |