public class AdjacentSiblingCombinator extends Combinator
Equivalent to widget+widget selector in CSS.
Widget.getParent()| Constructor and Description |
|---|
AdjacentSiblingCombinator(Selector selector1,
Selector selector2)
Creates an adjacent 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