org.zkoss.zk.ui.util
Interface Condition

All Known Implementing Classes:
AttributesInfo, ComponentInfo, EventHandler, NativeInfo, Property, 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
 boolean isEffective(Component comp)
          Used to evaluate whether it is effective.
 boolean isEffective(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.


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo