|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public StyleFilter
This filter interface allows for checking and filtering style changes on a runtime skin node
Method Summary | |
---|---|
void |
onChangingStyle(LayoutNode layoutNode,
JSON oldStyle,
JSON newStyle,
FilterControl control,
StyleFilterChain filterChain)
Allows the filter to agree on style changes for the skin it is operating on. |
void |
onChangeStyle(LayoutNode layoutNode,
JSON oldStyle,
JSON newStyle,
StyleFilterChain filterChain)
allows the filter to take action on the new style attributes of the skin. |
Method Detail |
---|
void onChangingStyle(LayoutNode layoutNode, JSON oldStyle, JSON newStyle, FilterControl control, StyleFilterChain filterChain)
layoutNode
-
LayoutNode which contains this 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.filterChain
-
filter chain used to call the next filter in the chainvoid onChangeStyle(LayoutNode layoutNode, JSON oldStyle, JSON newStyle, StyleFilterChain filterChain)
layoutNode
-
LayoutNode which contains this 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",
}
filterChain
-
filter chain used to call the next filter in the chain
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |