com.jidesoft.editor.selection
Class SelectionEvent
java.lang.Object
java.util.EventObject
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
Constructor Summary |
SelectionEvent(CodeEditor editor,
int oldSelectionStart,
int oldSelectionEnd,
int newSelectionStart,
int newSelectionEnd)
|
SelectionEvent
public SelectionEvent(CodeEditor editor,
int oldSelectionStart,
int oldSelectionEnd,
int newSelectionStart,
int newSelectionEnd)
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