Module:libextPackage:wrap.ext.utilParent:ObjectCopyright (c) 2007, 2008 Point5U, LLC
Milescript - ExtJS Wrapper Library: Project Home | Documentation

wrap.ext.util.CSS

Inheritance : Object

Constructors

Signature
public CSS()

Methods

NameSignature
createStyleSheetCSSStyle createStyleSheet(String cssText, String id)
getRuleObject getRule(Array<String> selector, boolean refreshCache)
getRuleObject getRule(String selector, boolean refreshCache)
getRulesObject getRules(boolean refreshCache)
refreshCacheObject refreshCache()
removeStyleSheetvoid removeStyleSheet(String id)
swapStyleSheetvoid swapStyleSheet(String id, String url)
updateRuleboolean updateRule(Array<String> selector, String property, String value)
updateRuleboolean updateRule(String selector, String property, String value)

Constructors

public CSS()


Methods

createStyleSheet

CSSStyle createStyleSheet(String cssText, String id)

Returns
org.milescript.dom.CSSStyle

Parameters

NameTypeDescription
cssTextcore.String
idcore.String

getRule

Object getRule(Array<String> selector, boolean refreshCache)

Returns
core.Object

Parameters

NameTypeDescription
selectorcore.Array<core.String>
refreshCachecore.boolean

getRule

Object getRule(String selector, boolean refreshCache)

Returns
core.Object

Parameters

NameTypeDescription
selectorcore.String
refreshCachecore.boolean

getRules

Object getRules(boolean refreshCache)

Returns
core.Object

Parameters

NameTypeDescription
refreshCachecore.boolean

refreshCache

Object refreshCache()

Returns
core.Object

removeStyleSheet

void removeStyleSheet(String id)

Parameters

NameTypeDescription
idcore.String

swapStyleSheet

void swapStyleSheet(String id, String url)

Parameters

NameTypeDescription
idcore.String
urlcore.String

updateRule

boolean updateRule(Array<String> selector, String property, String value)

Returns
core.boolean

Parameters

NameTypeDescription
selectorcore.Array<core.String>
propertycore.String
valuecore.String

updateRule

boolean updateRule(String selector, String property, String value)

Returns
core.boolean

Parameters

NameTypeDescription
selectorcore.String
propertycore.String
valuecore.String

Module:libextPackage:wrap.ext.utilParent:ObjectCopyright (c) 2007, 2008 Point5U, LLC
Milescript - ExtJS Wrapper Library: Project Home | Documentation