Echo.Sync
Class Method Summary | |
---|---|
Public | getEffectProperty() Retrieves an "effect-specific" property from a component (e. |
Public | renderComponentDefaults() Renders component foreground, background, font, and layout direction properties (if each is provided) to the specified element. |
component
(Echo.Component)
- the component to querydefaultPropertyName
(String)
- the name of the default (non-effect) property, e.g., "background"effectPropertyName
(String)
- the name of the effect property, e.g., "rolloverBackground"effectState
(Boolean)
- flag indicating whether the effect is enabled (if the effect is not enabled,
the default (non-effect) value will always be returned)defaultDefaultPropertyValue
- (optional) the default (non-effect) property value (this value will be returned
if no other value can be determined for the property)defaultEffectPropertyValue
- (optional) the default effect property value (this value will be returned if the
effectState is true and no value has been specifically set for the effect property)component
(Echo.Component)
- the componentelement
(Element)
- the target element