|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectmodelling.Selector
Selects elements. It is a simple encapsulation of a boolean method taking an Element in argument. A selector is useful to give methods in argument.
| Constructor Summary | |
Selector()
|
|
| Method Summary | |
Selector |
and(Selector sel)
Executes the logical fonction and between the current selector and the given one. |
abstract boolean |
isFiting(Element el)
Computes whether the given element is fiting the requirement of the selector. |
Selector |
not()
Executes the logical fonction not on that selector. |
Selector |
or(Selector sel)
Executes the logical fonction or between the current selector and the given one. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Selector()
| Method Detail |
public abstract boolean isFiting(Element el)
public Selector or(Selector sel)
public Selector and(Selector sel)
public Selector not()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||