|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
org.fife.rtext.CurrentTextAreaEvent
Event that notifies when a property of the current text area changes.
| Field Summary | |
static int |
FILE_NAME_CHANGED
|
static int |
IS_MODIFIED_CHANGED
|
static int |
SYNTAX_STYLE_CNANGED
|
static int |
TEXT_AREA_CHANGED
|
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
CurrentTextAreaEvent(AbstractMainView mainView,
int type,
java.lang.Object oldValue,
java.lang.Object newValue)
Constructor. |
|
| Method Summary | |
AbstractMainView |
getMainView()
Returns the main view whose current text area (or a property of it) changed. |
java.lang.Object |
getNewValue()
Returns the new value of the current text area property. |
java.lang.Object |
getOldValue()
Returns the old value of the current text area property. |
int |
getType()
Returns the type of property that changed. |
java.lang.String |
toString()
Returns a string representation of this event. |
| 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 TEXT_AREA_CHANGED
public static final int IS_MODIFIED_CHANGED
public static final int FILE_NAME_CHANGED
public static final int SYNTAX_STYLE_CNANGED
| Constructor Detail |
public CurrentTextAreaEvent(AbstractMainView mainView,
int type,
java.lang.Object oldValue,
java.lang.Object newValue)
mainView - The main view whose current text area (or a property
of it) changed.type - The type of property that changed.oldValue - The old value of the property.newValue - The new value of the property.| Method Detail |
public java.lang.Object getNewValue()
public java.lang.Object getOldValue()
public AbstractMainView getMainView()
public int getType()
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||