org.zkoss.zk.ui.select.impl
Class ComponentLocalProperties

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

public class ComponentLocalProperties
extends java.lang.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 Summary
ComponentLocalProperties()
           
 
Method Summary
static boolean match(Component component, java.lang.String selector)
          Returns true if the selector matches the given component.
static boolean match(Component component, java.lang.String selector, java.util.Map<java.lang.String,PseudoClassDef> defs)
          Returns true if the selector matches the given component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentLocalProperties

public ComponentLocalProperties()
Method Detail

match

public static boolean match(Component component,
                            java.lang.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,
                            java.lang.String selector,
                            java.util.Map<java.lang.String,PseudoClassDef> defs)
Returns true if the selector matches the given component. Combinators are not allowed.

Parameters:
component -
selector -
defs -


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