public class GeneralSiblingCombinator extends Combinator
Equivalent to widget~widget
selector in CSS.
Widget.getParent()
Constructor and Description |
---|
GeneralSiblingCombinator(Selector selector1,
Selector selector2)
Creates a general sibling combinator.
|
Modifier and Type | Method and Description |
---|---|
boolean |
appliesToWidget(Widget widget)
Checks whether or not this selector applies to the given widget.
|
equals, getFirstSelector, getSecondSelector, getSpecificity, hashCode