|
Java Platform 1.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface for document change notifications.
| Inner Class Summary | |
static interface |
DocumentEvent.ElementChange
Describes changes made to an element. |
static class |
DocumentEvent.EventType
Typesafe enumeration for document event types |
| Method Summary | |
DocumentEvent.ElementChange |
getChange(Element elem)
Gets the change information for the given element. |
Document |
getDocument()
Gets the document that sourced the change event. |
int |
getLength()
Returns the length of the change. |
int |
getOffset()
Returns the offset within the document of the start of the change. |
DocumentEvent.EventType |
getType()
Gets the type of event. |
| Method Detail |
public int getOffset()
public int getLength()
public Document getDocument()
public DocumentEvent.EventType getType()
public DocumentEvent.ElementChange getChange(Element elem)
elem - the element
|
Java Platform 1.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||