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 Condition
A 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
Modifier and TypeMethodDescriptionbooleanisEffective(Component comp) Used to evaluate whether it is effective.booleanisEffective(Page page) Used to evaluate whether it is effective.
-
Method Details
-
isEffective
Used to evaluate whether it is effective.- Parameters:
comp- used as the self variable. Ignored if null.
-
isEffective
Used to evaluate whether it is effective.- Parameters:
page- used as the self variable. Ignored if null.
-