public class EventHandler
extends java.lang.Object
ComponentDefinition
).Constructor and Description |
---|
EventHandler(EvaluatorRef evalr,
ZScript zscript,
ConditionImpl cond) |
EventHandler(ZScript zscript) |
Modifier and Type | Method and Description |
---|---|
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
|
public EventHandler(EvaluatorRef evalr, ZScript zscript, ConditionImpl cond)
public EventHandler(ZScript zscript)
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 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.Copyright © 2005-2023 Potix Corporation. All Rights Reserved.