org.lobobrowser.html.domimpl
public abstract class DocumentNotificationAdapter extends java.lang.Object implements DocumentNotificationListener
DocumentNotificationListener
with blank methods, provided for convenience.Constructor and Description |
---|
DocumentNotificationAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
allInvalidated()
This is called when the whole document
is potentially invalid, e.g.
|
void |
externalScriptLoading(NodeImpl node)
Called when a external script (a SCRIPT tag with a src attribute)
is about to start loading.
|
void |
invalidated(NodeImpl node)
This is called when the node has changed, but
it is unclear if it's a size change or a look
change.
|
void |
lookInvalidated(NodeImpl node)
Called if something such as a color or
decoration has changed.
|
void |
nodeLoaded(NodeImpl node)
Called when the node (with all its contents) is first
created by the parser.
|
void |
positionInvalidated(NodeImpl node)
Changed if the position of the node in a
parent has changed.
|
void |
sizeInvalidated(NodeImpl node)
Called if a property related to the node's
size has changed.
|
void |
structureInvalidated(NodeImpl node)
The children of the node might have changed.
|
public void allInvalidated()
DocumentNotificationListener
allInvalidated
in interface DocumentNotificationListener
public void externalScriptLoading(NodeImpl node)
DocumentNotificationListener
externalScriptLoading
in interface DocumentNotificationListener
public void invalidated(NodeImpl node)
DocumentNotificationListener
invalidated
in interface DocumentNotificationListener
public void lookInvalidated(NodeImpl node)
DocumentNotificationListener
lookInvalidated
in interface DocumentNotificationListener
public void nodeLoaded(NodeImpl node)
DocumentNotificationListener
nodeLoaded
in interface DocumentNotificationListener
public void positionInvalidated(NodeImpl node)
DocumentNotificationListener
positionInvalidated
in interface DocumentNotificationListener
public void sizeInvalidated(NodeImpl node)
DocumentNotificationListener
sizeInvalidated
in interface DocumentNotificationListener
public void structureInvalidated(NodeImpl node)
DocumentNotificationListener
structureInvalidated
in interface DocumentNotificationListener