com.ibm.mashups.enabler.runtime.skin
Interface StyleFilterChain
public StyleFilterChain
Filters use the FilterChain to invoke the next filter in the chain
- Since:
-
2.4
Method Summary |
void |
doFilter(LayoutNode layoutNode,
JSON oldStyle,
JSON newStyle,
FilterControl control)
Calls the next filter in the chain's onChangingStyle() or onChangeStyle() methods |
doFilter
void doFilter(LayoutNode layoutNode,
JSON oldStyle,
JSON newStyle,
FilterControl control)
-
Calls the next filter in the chain's
onChangingStyle()
or onChangeStyle()
methods
- Parameters:
layoutNode
-
LayoutNode for this runtime skin. Will not be null
.oldStyle
-
the old style attributes of the skin and will never be null
. For example:
{
position: "absolute",
left: "18px",
width: "400px",
height: "325px",
z-index "51",
}
newStyle
-
updated style attributes for the skin. Will not be null
. For example:
{
position: "absolute",
left: "18px",
width: "400px",
height: "325px",
z-index "51",
}
control
-
object used for a filter to disagree. This is only applicable on a filter's onChangingStyle()
method.
Copyright IBM Corp. 2010 All Rights Reserved.