|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject org.fife.rtext.CurrentTextAreaEvent
public class CurrentTextAreaEvent
Event that notifies when a property of the current text area changes.
Field Summary | |
---|---|
static int |
FILE_NAME_CHANGED
Fired when the current text area's filename is changed. |
static int |
IS_MODIFIED_CHANGED
Fired when the current text area is made dirty or saved. |
static int |
SYNTAX_STYLE_CNANGED
Fired when the current text area's syntax style changes. |
static int |
TEXT_AREA_CHANGED
Fired when the currently active text area changes. |
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()
toString
in class java.util.EventObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |