|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.zk.ui.metainfo.EventHandler
public class EventHandler
An event handler of a component definition (ComponentDefinition).
| Constructor Summary | |
|---|---|
EventHandler(EvaluatorRef evalr,
ZScript zscript,
ConditionImpl cond)
|
|
EventHandler(ZScript zscript)
|
|
| Method Summary | |
|---|---|
ConditionImpl |
getCondition()
Returns the effectiveness condition. |
EvaluatorRef |
getEvaluatorRef()
Returns the evaluator reference. |
ZScript |
getZScript()
Returns the zscript associated with this event handler. |
boolean |
isEffective(Component comp)
Used to evaluate whether it is effective. |
boolean |
isEffective(Page page)
Used to evaluate whether it is effective. |
void |
setCondition(ConditionImpl cond)
Sets the effectiveness condition. |
boolean |
withCondition()
Tests if the condition is set |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EventHandler(EvaluatorRef evalr,
ZScript zscript,
ConditionImpl cond)
public EventHandler(ZScript zscript)
| Method Detail |
|---|
public ZScript getZScript()
public EvaluatorRef getEvaluatorRef()
public ConditionImpl getCondition()
public void setCondition(ConditionImpl cond)
public boolean withCondition()
public boolean isEffective(Component comp)
Condition
isEffective in interface Conditioncomp - used as the self variable. Ignored if null.public boolean isEffective(Page page)
Condition
isEffective in interface Conditionpage - used as the self variable. Ignored if null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||