|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.zk.ui.select.impl.ComponentMatchCtx
public class ComponentMatchCtx
A wrapper of Component, providing a context for selector matching algorithm.
Method Summary | |
---|---|
Component |
getComponent()
Return the component. |
int |
getComponentChildIndex()
Return the child index of the component. |
int |
getComponentSiblingSize()
Return the count of total siblings of the component, including itself. |
ComponentMatchCtx |
getParent()
Return the parent context |
boolean |
isMatched()
Return true if the component matched the last position of any selectors in the list. |
boolean |
isMatched(int selectorIndex)
Return true if the component matched the last position of the given selector. |
boolean |
isQualified(int selectorIndex,
int position)
Return true if the component matched the given position of the given selector. |
boolean |
match(SimpleSelectorSequence seq,
java.util.Map<java.lang.String,PseudoClassDef> defs)
Return true if the component qualifies the local properties of a given SimpleSelectorSequence. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public ComponentMatchCtx getParent()
public Component getComponent()
public int getComponentChildIndex()
public int getComponentSiblingSize()
public boolean isQualified(int selectorIndex, int position)
selectorIndex
- position
- public boolean isMatched()
public boolean isMatched(int selectorIndex)
selectorIndex
- public boolean match(SimpleSelectorSequence seq, java.util.Map<java.lang.String,PseudoClassDef> defs)
seq
- defs
- public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |