org.gjt.sp.jedit.msg
Class EditPaneUpdate

java.lang.Object
  extended by org.gjt.sp.jedit.EBMessage
      extended by org.gjt.sp.jedit.msg.EditPaneUpdate
Direct Known Subclasses:
BufferChanging

public class EditPaneUpdate
extends EBMessage

Message sent when an edit pane-related change occurs.

Since:
jEdit 2.5pre1

Field Summary
static java.lang.Object BUFFER_CHANGED
          Edit pane buffer changed.
static java.lang.Object BUFFER_CHANGING
          Edit pane buffer about to change.
static java.lang.Object CREATED
          Edit pane created.
static java.lang.Object DESTROYED
          Edit pane destroyed.
 
Constructor Summary
EditPaneUpdate(EditPane editPane, java.lang.Object what)
          Creates a new edit pane update message.
 
Method Summary
 EditPane getEditPane()
          Returns the edit pane involved.
 java.lang.Object getWhat()
          Returns what caused this edit pane update.
 java.lang.String paramString()
          Returns a string representation of this message's parameters.
 
Methods inherited from class org.gjt.sp.jedit.EBMessage
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CREATED

public static final java.lang.Object CREATED
Edit pane created.


DESTROYED

public static final java.lang.Object DESTROYED
Edit pane destroyed.


BUFFER_CHANGED

public static final java.lang.Object BUFFER_CHANGED
Edit pane buffer changed.


BUFFER_CHANGING

public static final java.lang.Object BUFFER_CHANGING
Edit pane buffer about to change. Note: this could be an instance of BufferChanging class, which also contains information about the new buffer that is about to be opened.

Since:
4.3pre3
Constructor Detail

EditPaneUpdate

public EditPaneUpdate(EditPane editPane,
                      java.lang.Object what)
Creates a new edit pane update message.

Parameters:
editPane - The edit pane
what - What happened
Method Detail

getWhat

public java.lang.Object getWhat()
Returns what caused this edit pane update.


getEditPane

public EditPane getEditPane()
Returns the edit pane involved.


paramString

public java.lang.String paramString()
Description copied from class: EBMessage
Returns a string representation of this message's parameters.

Overrides:
paramString in class EBMessage