Class ChildCombinator
- java.lang.Object
-
- ej.mwt.stylesheet.selector.combinator.Combinator
-
- ej.mwt.stylesheet.selector.combinator.ChildCombinator
-
- All Implemented Interfaces:
Selector
public class ChildCombinator extends Combinator
A child combinator selects by checking the widget direct hierarchy.Equivalent to
widget>widget
selector in CSS.- See Also:
Widget.getParent()
-
-
Constructor Summary
Constructors Constructor Description ChildCombinator(Selector selector1, Selector selector2)
Creates a child combinator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
appliesToWidget(Widget widget)
Checks whether or not this selector applies to the given widget.-
Methods inherited from class ej.mwt.stylesheet.selector.combinator.Combinator
equals, getFirstSelector, getSecondSelector, getSpecificity, hashCode
-
-