|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
java.awt.AWTEvent
org.wings.event.SDocumentEvent
public class SDocumentEvent
A document event fire on any document change (i.e. change of a text in a STextField).
| Field Summary | |
|---|---|
static int |
CHANGE
An style attribute changed. |
static int |
INSERT
A string has been inserted. |
static int |
REMOVE
A string has been removed. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
SDocumentEvent(SDocument document,
int offset,
int length,
int type)
|
|
| Method Summary | |
|---|---|
SDocument |
getDocument()
Gets the source document of the change event. |
int |
getLength()
Returns the length of the change. |
int |
getOffset()
Returns the offset where the change in the document starts. |
int |
getType()
Gets the type of the Event. |
| Methods inherited from class java.awt.AWTEvent |
|---|
consume, getID, isConsumed, paramString, setSource, toString |
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int CHANGE
public static final int INSERT
public static final int REMOVE
| Constructor Detail |
|---|
public SDocumentEvent(SDocument document,
int offset,
int length,
int type)
| Method Detail |
|---|
public SDocument getDocument()
public int getOffset()
public int getLength()
public int getType()
INSERT or REMOVE
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||