|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.util.Checker
Algorithm for changing the check state in a collection of objects which
implements the checkable
interfaces
Checkable
Field Summary | |
private boolean |
check
Type of selection (true if the items should be checked) |
private java.lang.String |
key
Object whose state should be changed |
private SelectMode |
mode
The select mode |
Constructor Summary | |
Checker(SelectMode mode,
boolean check)
Constructor for Checker |
|
Checker(SelectMode mode,
java.lang.String key,
boolean check)
Constructor for Checker |
Method Summary | |
boolean |
execute(java.lang.String uniqueId,
java.lang.Object obj)
Completes the algorithm for an element in the collection. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private SelectMode mode
private java.lang.String key
private boolean check
Constructor Detail |
public Checker(SelectMode mode, boolean check)
mode
- The select modecheck
- true
if the Items should be checked,
false
otherwiseSelectMode
public Checker(SelectMode mode, java.lang.String key, boolean check)
mode
- The select modekey
- Key of the object whose state should be changedcheck
- true
if the Items should be checked,
false
otherwiseSelectMode
Method Detail |
public boolean execute(java.lang.String uniqueId, java.lang.Object obj)
Algorithm
execute
in interface Algorithm
uniqueId
- Idobj
- Object
Algorithm.execute(String uniqueId, Object obj)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |