KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > lobobrowser > html > domimpl > DocumentNotificationListener


1 package org.lobobrowser.html.domimpl;
2
3 public interface DocumentNotificationListener {
4     /**
5      * Called if a property related to the node's
6      * size has changed.
7      * @param node
8      */

9     public void sizeInvalidated(NodeImpl node);
10     
11     /**
12      * Called if something such as a color or
13      * decoration has changed. This would be
14      * something which does not affect the
15      * rendered size.
16      * @param node
17      */

18     public void lookInvalidated(NodeImpl node);
19     
20     /**
21      * Changed if the position of the node in a
22      * parent has changed.
23      * @param node
24      */

25     public void positionInvalidated(NodeImpl node);
26     
27     /**
28      * This is called when the node has changed, but
29      * it is unclear if it's a size change or a look
30      * change.
31      * @param node
32      */

33     public void invalidated(NodeImpl node);
34     
35     /**
36      * Called when the node (with all its contents) is first
37      * created by the parser.
38      * @param node
39      */

40     public void nodeLoaded(NodeImpl node);
41
42     /**
43      * Called when a external script (a SCRIPT tag with a src attribute)
44      * is about to start loading.
45      * @param node
46      */

47     public void externalScriptLoading(NodeImpl node);
48
49     /**
50      * This is called when the whole document
51      * is potentially invalid, e.g. when a new
52      * style sheet has been added.
53      */

54     public void allInvalidated();
55 }
56
Popular Tags