org.lobobrowser.html.domimpl

Interface DocumentNotificationListener

public interface DocumentNotificationListener

Method Summary

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.

Method Details

allInvalidated

public void allInvalidated()
This is called when the whole document is potentially invalid, e.g. when a new style sheet has been added.

externalScriptLoading

public void externalScriptLoading(NodeImpl node)
Called when a external script (a SCRIPT tag with a src attribute) is about to start loading.
Parameters:
node -

invalidated

public 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.
Parameters:
node -

lookInvalidated

public void lookInvalidated(NodeImpl node)
Called if something such as a color or decoration has changed. This would be something which does not affect the rendered size.
Parameters:
node -

nodeLoaded

public void nodeLoaded(NodeImpl node)
Called when the node (with all its contents) is first created by the parser.
Parameters:
node -

positionInvalidated

public void positionInvalidated(NodeImpl node)
Changed if the position of the node in a parent has changed.
Parameters:
node -

sizeInvalidated

public void sizeInvalidated(NodeImpl node)
Called if a property related to the node's size has changed.
Parameters:
node -