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 Type
    Method
    Description
    boolean
    Used to evaluate whether it is effective.
    boolean
    Used to evaluate whether it is effective.
  • Method Details

    • 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.