protected class CSSEngine.CSSNavigableDocumentHandler extends Object implements org.apache.batik.css.engine.CSSNavigableDocumentListener, CSSEngine.MainPropertyReceiver
| 限定符和类型 | 字段和说明 |
|---|---|
protected org.apache.batik.css.engine.StyleDeclaration |
declaration
The StyleDeclaration to use from the MainPropertyReceiver.
|
protected boolean[] |
mainPropertiesChanged
Array to hold which properties have been changed by a call to
setMainProperties.
|
| 限定符 | 构造器和说明 |
|---|---|
protected |
CSSNavigableDocumentHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
attrModified(Element e,
Attr attr,
short attrChange,
String prevValue,
String newValue)
An attribute has changed in the CSSNavigableDocument.
|
void |
characterDataModified(Node text)
Character data in the CSSNavigableDocument tree has been modified.
|
void |
nodeInserted(Node newNode)
A node has been inserted into the CSSNavigableDocument tree.
|
void |
nodeToBeRemoved(Node oldNode)
A node is about to be removed from the CSSNavigableDocument tree.
|
void |
overrideStylePropertyChanged(org.apache.batik.css.engine.CSSStylableElement elt,
String name,
String val,
String prio)
A property in the override style declaration has been changed.
|
void |
overrideStylePropertyRemoved(org.apache.batik.css.engine.CSSStylableElement elt,
String name)
A property in the override style declaration has been removed.
|
void |
overrideStyleTextChanged(org.apache.batik.css.engine.CSSStylableElement elt,
String text)
The text of the override style declaration for this element has been
modified.
|
void |
setMainProperty(String name,
org.apache.batik.css.engine.value.Value v,
boolean important)
Sets a main property value in response to a shorthand property
being set.
|
void |
subtreeModified(Node rootOfModifications)
A subtree of the CSSNavigableDocument tree has been modified
in some way.
|
protected boolean[] mainPropertiesChanged
protected org.apache.batik.css.engine.StyleDeclaration declaration
public void nodeInserted(Node newNode)
nodeInserted 在接口中 org.apache.batik.css.engine.CSSNavigableDocumentListenerpublic void nodeToBeRemoved(Node oldNode)
nodeToBeRemoved 在接口中 org.apache.batik.css.engine.CSSNavigableDocumentListenerpublic void subtreeModified(Node rootOfModifications)
subtreeModified 在接口中 org.apache.batik.css.engine.CSSNavigableDocumentListenerpublic void characterDataModified(Node text)
characterDataModified 在接口中 org.apache.batik.css.engine.CSSNavigableDocumentListenerpublic void attrModified(Element e, Attr attr, short attrChange, String prevValue, String newValue)
attrModified 在接口中 org.apache.batik.css.engine.CSSNavigableDocumentListenerpublic void overrideStyleTextChanged(org.apache.batik.css.engine.CSSStylableElement elt,
String text)
overrideStyleTextChanged 在接口中 org.apache.batik.css.engine.CSSNavigableDocumentListenerpublic void overrideStylePropertyRemoved(org.apache.batik.css.engine.CSSStylableElement elt,
String name)
overrideStylePropertyRemoved 在接口中 org.apache.batik.css.engine.CSSNavigableDocumentListenerpublic void overrideStylePropertyChanged(org.apache.batik.css.engine.CSSStylableElement elt,
String name,
String val,
String prio)
overrideStylePropertyChanged 在接口中 org.apache.batik.css.engine.CSSNavigableDocumentListenerpublic void setMainProperty(String name, org.apache.batik.css.engine.value.Value v, boolean important)
Copyright © 2025. All rights reserved.