|
||||||||||
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,
ConditionImpl cond)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EventHandler(ZScript zscript, ConditionImpl cond)
public EventHandler(EvaluatorRef evalr, ZScript zscript, ConditionImpl cond)
evalr
- the evaluator reference. It is required if cond is not null.Method Detail |
---|
public ZScript getZScript()
public boolean isEffective(Component comp)
Condition
isEffective
in interface Condition
comp
- used as the self variable. Ignored if null.public boolean isEffective(Page page)
Condition
isEffective
in interface Condition
page
- used as the self variable. Ignored if null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |