Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


javax.ide.editor
Class EditorEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.ide.editor.EditorEvent

All Implemented Interfaces:
java.io.Serializable

public final class EditorEvent
extends java.util.EventObject

The DocumentEvent is the parameter passed to the EditorListener methods when the state of Editor has changed.

The EditorEvent source is the editor instance whose state is changing. The convenience method getEditor() can be used to retrieve the editor instance.

See Also:
Serialized Form

Field Summary

 

Fields inherited from class java.util.EventObject
source

 

Constructor Summary
EditorEvent(Editor editor)
          Constructor.

 

Method Summary
 Editor getEditor()
          Get the Editor where the event happened.

 

Methods inherited from class java.util.EventObject
getSource, toString

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

EditorEvent

public EditorEvent(Editor editor)
Constructor.
Parameters:
editor - the editor where the event happened.

Method Detail

getEditor

public Editor getEditor()
Get the Editor where the event happened. This is functionally equivalent to casting the result of getSource() to a Editor object.
Returns:
the Editor whose state has changed.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


Copyright © 1997, 2012, Oracle. All rights reserved.