Package org.zkoss.zk.ui.util
Interface Condition
-
- All Known Implementing Classes:
AttributesInfo,ComponentInfo,EventHandler,NativeInfo,Property,ShadowInfo,TemplateInfo,VariablesInfo,WidgetAttribute,WidgetListener,WidgetOverride,ZkInfo,ZScriptInfo
public interface ConditionA condition to test with. It could be used in any situation, but we mainly use to denote wither an element in ZUL file is effective.- Author:
- tomyeh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisEffective(Component comp)Used to evaluate whether it is effective.booleanisEffective(Page page)Used to evaluate whether it is effective.
-
-
-
Method Detail
-
isEffective
boolean isEffective(Component comp)
Used to evaluate whether it is effective.- Parameters:
comp- used as the self variable. Ignored if null.
-
isEffective
boolean isEffective(Page page)
Used to evaluate whether it is effective.- Parameters:
page- used as the self variable. Ignored if null.
-
-