|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.layouting.input.style.selectors.conditions.PositionalCSSCondition
public class PositionalCSSCondition
Creation-Date: 24.11.2005, 19:51:10
Field Summary |
---|
Fields inherited from interface org.w3c.css.sac.Condition |
---|
SAC_AND_CONDITION, SAC_ATTRIBUTE_CONDITION, SAC_BEGIN_HYPHEN_ATTRIBUTE_CONDITION, SAC_CLASS_CONDITION, SAC_CONTENT_CONDITION, SAC_ID_CONDITION, SAC_LANG_CONDITION, SAC_NEGATIVE_CONDITION, SAC_ONE_OF_ATTRIBUTE_CONDITION, SAC_ONLY_CHILD_CONDITION, SAC_ONLY_TYPE_CONDITION, SAC_OR_CONDITION, SAC_POSITIONAL_CONDITION, SAC_PSEUDO_CLASS_CONDITION |
Constructor Summary | |
---|---|
PositionalCSSCondition(int position,
boolean matchByType,
boolean matchByName)
|
Method Summary | |
---|---|
short |
getConditionType()
An integer indicating the type of Condition . |
int |
getPosition()
Returns the position in the tree. |
boolean |
getType()
true if the node should have the same node type (for element,
same namespaceURI and same localName). |
boolean |
getTypeNode()
true if the child node list only shows nodes of the same type
of the selector (only elements, only PIS, ...) |
boolean |
isMatch(java.lang.Object resolveState)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PositionalCSSCondition(int position, boolean matchByType, boolean matchByName)
Method Detail |
---|
public boolean isMatch(java.lang.Object resolveState)
isMatch
in interface CSSCondition
public short getConditionType()
Condition
.
getConditionType
in interface org.w3c.css.sac.Condition
public int getPosition()
A negative value means from the end of the child node list.
The child node list begins at 0.
getPosition
in interface org.w3c.css.sac.PositionalCondition
public boolean getTypeNode()
true
if the child node list only shows nodes of the same type
of the selector (only elements, only PIS, ...)
getTypeNode
in interface org.w3c.css.sac.PositionalCondition
public boolean getType()
true
if the node should have the same node type (for element,
same namespaceURI and same localName).
getType
in interface org.w3c.css.sac.PositionalCondition
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |