Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.ide.editor
Class EditorEvent  view EditorEvent download EditorEvent.java

java.lang.Object
  extended byjava.util.EventObject
      extended byjavax.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() 55 can be used to retrieve the editor instance.


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.

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.