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

Quick Search    Search Deep

org.bdgp.apps.dagedit.gui.event
Class TextEditorUpdateEvent  view TextEditorUpdateEvent download TextEditorUpdateEvent.java

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.bdgp.apps.dagedit.gui.event.TextEditorUpdateEvent
All Implemented Interfaces:
java.io.Serializable

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
source
 
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

newDefinition

protected java.lang.String newDefinition

dbxrefChanges

protected java.util.Vector dbxrefChanges
Constructor Detail

TextEditorUpdateEvent

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

setDbxrefUpdates

public void setDbxrefUpdates(java.util.Vector in)

getDbxrefUpdates

public java.util.Vector getDbxrefUpdates()

setNewDefinition

public void setNewDefinition(java.lang.String newDefinition)

getNewDefinition

public java.lang.String getNewDefinition()