diff options
Diffstat (limited to 'libjava/javax/swing/event/DocumentEvent.java')
-rw-r--r-- | libjava/javax/swing/event/DocumentEvent.java | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/libjava/javax/swing/event/DocumentEvent.java b/libjava/javax/swing/event/DocumentEvent.java index 6ce9dd5..e86f3e4 100644 --- a/libjava/javax/swing/event/DocumentEvent.java +++ b/libjava/javax/swing/event/DocumentEvent.java @@ -41,7 +41,7 @@ package javax.swing.event; import javax.swing.text.*; /** - * DocumentEvent interface + * DocumentEvent public interface * @author Andrew Selkirk * @author Ronald Veldema */ @@ -52,9 +52,9 @@ public interface DocumentEvent { //------------------------------------------------------------- /** - * ElementChange interface + * ElementChange public interface */ - public static interface ElementChange { + public interface ElementChange { //------------------------------------------------------------- // Methods ---------------------------------------------------- @@ -64,25 +64,25 @@ public interface DocumentEvent { * getIndex * @returns int */ - public int getIndex(); + int getIndex(); /** * getElement * @returns Element */ - public Element getElement(); + Element getElement(); /** * getChildrenRemoved * @returns Element[] */ - public Element[] getChildrenRemoved(); + Element[] getChildrenRemoved(); /** * getChildrenAdded * @returns Element[] */ - public Element[] getChildrenAdded(); + Element[] getChildrenAdded(); } // ElementChange @@ -90,7 +90,7 @@ public interface DocumentEvent { /** * EventType */ - public static final class EventType { + class EventType { //------------------------------------------------------------- // Variables -------------------------------------------------- @@ -99,17 +99,17 @@ public interface DocumentEvent { /** * INSERT */ - public static final EventType INSERT = new EventType("INSERT"); // TODO + EventType INSERT = new EventType("INSERT"); // TODO /** * REMOVE */ - public static final EventType REMOVE = new EventType("REMOVE"); // TODO + EventType REMOVE = new EventType("REMOVE"); // TODO /** * CHANGE */ - public static final EventType CHANGE = new EventType("CHANGE"); // TODO + EventType CHANGE = new EventType("CHANGE"); // TODO /** * typeString @@ -154,32 +154,32 @@ public interface DocumentEvent { * getType * @returns EventType */ - public EventType getType(); + EventType getType(); /** * getOffset * @returns int */ - public int getOffset(); + int getOffset(); /** * getLength * @returns int */ - public int getLength(); + int getLength(); /** * getDocument * @returns Document */ - public Document getDocument(); + Document getDocument(); /** * getChange * @param element TODO * @returns ElementChange */ - public ElementChange getChange(Element element); + ElementChange getChange(Element element); } // DocumentEvent |