protected class CSSEngine.CSSNavigableDocumentHandler extends java.lang.Object implements CSSNavigableDocumentListener, CSSEngine.MainPropertyReceiver
Modifier and Type | Field and Description |
---|---|
protected 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.
|
Modifier | Constructor and Description |
---|---|
protected |
CSSNavigableDocumentHandler() |
Modifier and Type | Method and Description |
---|---|
void |
attrModified(Element e,
Attr attr,
short attrChange,
java.lang.String prevValue,
java.lang.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(CSSStylableElement elt,
java.lang.String name,
java.lang.String val,
java.lang.String prio)
A property in the override style declaration has been changed.
|
void |
overrideStylePropertyRemoved(CSSStylableElement elt,
java.lang.String name)
A property in the override style declaration has been removed.
|
void |
overrideStyleTextChanged(CSSStylableElement elt,
java.lang.String text)
The text of the override style declaration for this element has been
modified.
|
void |
setMainProperty(java.lang.String name,
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 StyleDeclaration declaration
public void nodeInserted(Node newNode)
nodeInserted
in interface CSSNavigableDocumentListener
public void nodeToBeRemoved(Node oldNode)
nodeToBeRemoved
in interface CSSNavigableDocumentListener
public void subtreeModified(Node rootOfModifications)
subtreeModified
in interface CSSNavigableDocumentListener
public void characterDataModified(Node text)
characterDataModified
in interface CSSNavigableDocumentListener
public void attrModified(Element e, Attr attr, short attrChange, java.lang.String prevValue, java.lang.String newValue)
attrModified
in interface CSSNavigableDocumentListener
public void overrideStyleTextChanged(CSSStylableElement elt, java.lang.String text)
overrideStyleTextChanged
in interface CSSNavigableDocumentListener
public void overrideStylePropertyRemoved(CSSStylableElement elt, java.lang.String name)
overrideStylePropertyRemoved
in interface CSSNavigableDocumentListener
public void overrideStylePropertyChanged(CSSStylableElement elt, java.lang.String name, java.lang.String val, java.lang.String prio)
overrideStylePropertyChanged
in interface CSSNavigableDocumentListener
public void setMainProperty(java.lang.String name, Value v, boolean important)
setMainProperty
in interface CSSEngine.MainPropertyReceiver
Copyright © 2022 Apache Software Foundation. All Rights Reserved.