Basic store to display CSS information.
The CssClassStore allows users to get information about active Css classes in the page running the CssClassStore. It can also filter out classes from specific stylesheets. The attributes it exposes on classes are as follows:
Parameter | Type | Description |
---|---|---|
keywordParameters | Object |
See the dojox/data/CssClassStore reference documentation for more information.
text representation of the Item [label and identifier may need to stay due to method names]
This function tests whether the item passed in is indeed a valid 'attribute' like type for the store.
Parameter | Type | Description |
---|---|---|
attribute | attribute-name-string | The attribute to test for being contained by the store. |
This function tests whether the item passed in is indeed an item in the store.
Parameter | Type | Description |
---|---|---|
item | item | The item to test for being contained by the store. |
Internal function for looking at the values contained by the item.
Internal function for looking at the values contained by the item. This function allows for denoting if the comparison should be case sensitive for strings or not (for handling filtering cases where string case should not matter)
Parameter | Type | Description |
---|---|---|
item | item | The data item to examine for attribute values. |
attribute | attribute-name-string | The attribute to inspect. |
value | anything | The value to match. |
regexp | RegExp |
Optional Optional regular expression generated off value if value was of string type to handle wildcarding. If present and attribute values are string, then it can be used for comparison instead of 'value' |
Populates the _allItems object with unique class names
Parameter | Type | Description |
---|---|---|
request | undefined |
Handles a fetchByIdentity request by finding the correct item.
Parameter | Type | Description |
---|---|---|
request | undefined |
Handles a fetchByIdentity request by finding the correct items.
Parameter | Type | Description |
---|---|---|
request | Request |
Handles the return from a fetching action. Delegates requests to act on the resulting item set to eitehr the _handleFetchReturn or _handleFetchByIdentityReturn depending on where the request originated.
Handles the creation of an item based on the passed rule. In this store, this implies parsing out all available class names.
Parameter | Type | Description |
---|---|---|
rule | undefined | |
styleSheet | undefined | |
href | undefined |
See dojo/data/api/Read.close(). Clears out the cache and allItems objects, meaning all future fetches will requery the stylesheets.
See dojo/data/api/Read.containsValue()
Parameter | Type | Description |
---|---|---|
item | item | |
attribute | attribute-name-string | |
value | anything |
See dojo/data/api/Read.fetch()
Parameter | Type | Description |
---|---|---|
request | undefined |
See dojo/data/api/Identity.fetchItemByIdentity()
Parameter | Type | Description |
---|---|---|
request | request |
See dojo/data/api/Read.getAttributes()
Parameter | Type | Description |
---|---|---|
item | undefined |
See dojo/data/api/Identity.getIdentity()
Parameter | Type | Description |
---|---|---|
item | item |
See dojo/data/api/Identity.getIdentityAttributes()
Parameter | Type | Description |
---|---|---|
item | item |
See dojo/data/api/Read.getLabel()
Parameter | Type | Description |
---|---|---|
item | undefined |
See dojo/data/api/Read.getLabelAttributes()
Parameter | Type | Description |
---|---|---|
item | undefined |
See dojo/data/api/Read.getValue()
Parameter | Type | Description |
---|---|---|
item | undefined | |
attribute | undefined | |
defaultValue | undefined |
See dojo/data/api/Read.getValues()
Parameter | Type | Description |
---|---|---|
item | undefined | |
attribute | undefined |
See dojo/data/api/Read.hasAttribute()
Parameter | Type | Description |
---|---|---|
item | undefined | |
attribute | undefined |
See dojo/data/api/Read.isItem()
Parameter | Type | Description |
---|---|---|
item | undefined |
See dojo/data/api/Read.isItemLoaded()
Parameter | Type | Description |
---|---|---|
something | anything |
See dojo/data/api/Read.loadItem()
Parameter | Type | Description |
---|---|---|
keywordArgs | object |