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

Quick Search    Search Deep

Class TextEditorUpdateEvent  view TextEditorUpdateEvent download

  extended byjava.util.EventObject
      extended byorg.bdgp.apps.dagedit.gui.event.TextEditorUpdateEvent
All Implemented Interfaces:

public class TextEditorUpdateEvent
extends java.util.EventObject

An update to the text editor. This kind of event is intended for use with plugins that fetch some additional information about a term and give the option to fill in the text editor with that info (the change is not committed until the commit button is clicked). This event will eventually allow every aspect of a the text editor to be updated. For now, only the definition can be updated. This class has been constructed in such a way that older code will not be broken as this class grows. Fields that are set to null are ignored, NOT reset. To reset a value, set it to an empty value, such as "" or an empty vector.

Nested Class Summary
static class TextEditorUpdateEvent.DbxrefUpdate
Field Summary
protected  java.util.Vector dbxrefChanges
protected  java.lang.String newDefinition
Fields inherited from class java.util.EventObject
Constructor Summary
TextEditorUpdateEvent(java.lang.Object source)
Method Summary
 java.util.Vector getDbxrefUpdates()
 java.lang.String getNewDefinition()
 void setDbxrefUpdates(java.util.Vector in)
 void setNewDefinition(java.lang.String newDefinition)
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

Field Detail


protected java.lang.String newDefinition


protected java.util.Vector dbxrefChanges
Constructor Detail


public TextEditorUpdateEvent(java.lang.Object source)
Method Detail


public void setDbxrefUpdates(java.util.Vector in)


public java.util.Vector getDbxrefUpdates()


public void setNewDefinition(java.lang.String newDefinition)


public java.lang.String getNewDefinition()