|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
jaxe.JaxeEditEvent
public class JaxeEditEvent
EditEvent for changes in the document
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
JaxeEditEvent(java.lang.Object source,
int offs,
java.lang.String text)
Creates an event with plain text |
|
JaxeEditEvent(java.lang.Object source,
JaxeElement e)
Creates an event with JaxeElements |
Method Summary | |
---|---|
void |
consume()
Sets the used status to true |
JaxeElement |
getJaxeElement()
Returns the JaxeElement or null if event is used with text |
int |
getOffset()
Returns the offset in the document |
java.lang.String |
getText()
Returns the text or null is event is used with JaxeElement |
boolean |
isConsumed()
Status, if the event hast been uses; |
java.lang.String |
toString()
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 |
Constructor Detail |
---|
public JaxeEditEvent(java.lang.Object source, JaxeElement e)
source
- Eventsourceoffs
- Offset in documente
- JaxeElementpublic JaxeEditEvent(java.lang.Object source, int offs, java.lang.String text)
source
- Eventsourceoffs
- Offset in documenttext
- TextMethod Detail |
---|
public JaxeElement getJaxeElement()
public int getOffset()
public boolean isConsumed()
public void consume()
public java.lang.String getText()
public java.lang.String toString()
toString
in class java.util.EventObject
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |