Class ComponentLocalProperties

java.lang.Object
org.zkoss.zk.ui.select.impl.ComponentLocalProperties

public class ComponentLocalProperties extends Object
A collection of utilities that check local properties of Components. Including type, ID, class, attribute, and pseudo class.
Since:
6.0.0
Author:
simonpai
  • Constructor Details

    • ComponentLocalProperties

      public ComponentLocalProperties()
  • Method Details

    • match

      public static boolean match(Component component, String selector)
      Returns true if the selector matches the given component. Combinators are not allowed.
      Parameters:
      component -
      selector -
    • match

      public static boolean match(Component component, String selector, Map<String,PseudoClassDef> defs)
      Returns true if the selector matches the given component. Combinators are not allowed.
      Parameters:
      component -
      selector -
      defs -