JIDE 3.5.15

com.jidesoft.editor.selection
Class SelectionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.jidesoft.editor.selection.SelectionEvent
All Implemented Interfaces:
Serializable

public class SelectionEvent
extends EventObject

SelectionEvent is used to notify interested parties that selection has been changed in the SelectionModel. The event has both the old selection start/end offset and the new selection start/end offset.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
SelectionEvent(CodeEditor editor, int oldSelectionStart, int oldSelectionEnd, int newSelectionStart, int newSelectionEnd)
           
 
Method Summary
 CodeEditor getCodeEditor()
           
 int getNewSelectionEnd()
           
 int getNewSelectionStart()
           
 int getOldSelectionEnd()
           
 int getOldSelectionStart()
           
 String 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

SelectionEvent

public SelectionEvent(CodeEditor editor,
                      int oldSelectionStart,
                      int oldSelectionEnd,
                      int newSelectionStart,
                      int newSelectionEnd)
Method Detail

getCodeEditor

public CodeEditor getCodeEditor()

getOldSelectionStart

public int getOldSelectionStart()

getOldSelectionEnd

public int getOldSelectionEnd()

getNewSelectionStart

public int getNewSelectionStart()

getNewSelectionEnd

public int getNewSelectionEnd()

toString

public String toString()
Overrides:
toString in class EventObject

JIDE 3.5.15