类 RuleAttr

java.lang.Object
com.sh.wf.module.component.page.common.RuleAttr
所有已实现的接口:
Serializable, Cloneable

public class RuleAttr extends Object implements Cloneable, Serializable

Description: 普通组件规则设置

Title:首亨软件 - TSS/CRM等

从以下版本开始:
2015年3月25日
另请参阅:
  • 构造器详细资料

    • RuleAttr

      public RuleAttr()
  • 方法详细资料

    • parserNode

      public void parserNode(org.jdom2.Element nodeEl, Component component, boolean isSetAsSelfSelector)
    • checkValue

      public String checkValue(ModuleContext context, String containerId, String valueOri, String selector, String fullSelector)
      检查并应用行为
      参数:
      context - ModuleContext
      containerId - 容器的编号
      valueOri - 原始值,当没有匹配规则时,会返回这个值
      selector - 组件选择器
      fullSelector - 容器选择器
      返回:
      表示没有匹配到任何规则,如果不为空,则需要替换原有显示值