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

Quick Search    Search Deep

Class EditorEvent  view EditorEvent download

  extended byjava.util.EventObject
      extended byjavax.ide.editor.EditorEvent
All Implemented Interfaces:

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
Constructor Summary
EditorEvent(Editor editor)
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


public EditorEvent(Editor editor)

Method Detail


public Editor getEditor()
Get the Editor where the event happened. This is functionally equivalent to casting the result of getSource() to a Editor object.