VdexReload 1.1.3 API

uk.ac.reload.editor.vocabulary.formview
Class VocabularyField

java.lang.Object
  extended byuk.ac.reload.editor.gui.ReloadFormField
      extended byuk.ac.reload.editor.vocabulary.formview.VocabularyField
All Implemented Interfaces:
ReloadDocumentListener
Direct Known Subclasses:
VocabularyComboBox, VocabularyTextField

public abstract class VocabularyField
extends ReloadFormField
implements ReloadDocumentListener

The Reload VX Form Widget


Field Summary
 
Fields inherited from class uk.ac.reload.editor.gui.ReloadFormField
_element, _reloadDocument, _schemaElement
 
Constructor Summary
VocabularyField(ReloadSchemaDocument doc, ReloadSchemaElement schemaElement)
          Constructor
 
Method Summary
protected  void addElement(org.jdom.Element element)
          Helper function for handling element added events from the ReloadDocument
 void documentSaved(ReloadSchemaDocument doc)
          Document saved event from the ReloadSchemaDocument (nothing is done)
 void elementAdded(ReloadDocumentListenerEvent event)
          Handling element added event from the ReloadDocument
 void elementChanged(ReloadDocumentListenerEvent event)
          Handling element changed event from the ReloadDocument
 void elementRemoved(ReloadDocumentListenerEvent event)
          Handling element removed event from the ReloadDocument
protected  void fireElementChanged()
          Tell the ReloadDocument that we changed
 
Methods inherited from class uk.ac.reload.editor.gui.ReloadFormField
destroy, getComponent, getValue, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VocabularyField

public VocabularyField(ReloadSchemaDocument doc,
                       ReloadSchemaElement schemaElement)
Constructor

Parameters:
doc - the vocabulary document schemaElement the schemaElement bound to this VocabularyField
Method Detail

fireElementChanged

protected void fireElementChanged()
Tell the ReloadDocument that we changed


elementAdded

public void elementAdded(ReloadDocumentListenerEvent event)
Handling element added event from the ReloadDocument

Specified by:
elementAdded in interface ReloadDocumentListener
Parameters:
event - the ReloadDocumentListenerEvent

addElement

protected void addElement(org.jdom.Element element)
Helper function for handling element added events from the ReloadDocument

Parameters:
element - the element that is added

elementChanged

public void elementChanged(ReloadDocumentListenerEvent event)
Handling element changed event from the ReloadDocument

Specified by:
elementChanged in interface ReloadDocumentListener
Parameters:
event - the ReloadDocumentListenerEvent

elementRemoved

public void elementRemoved(ReloadDocumentListenerEvent event)
Handling element removed event from the ReloadDocument

Specified by:
elementRemoved in interface ReloadDocumentListener
Parameters:
event - the ReloadDocumentListenerEvent

documentSaved

public void documentSaved(ReloadSchemaDocument doc)
Document saved event from the ReloadSchemaDocument (nothing is done)

Specified by:
documentSaved in interface ReloadDocumentListener
Parameters:
doc - the ReloadSchemaDocument

VdexReload 1.1.3 API