VdexReload 1.1.3 API

uk.ac.reload.editor.metadata.formview
Class MetadataField

java.lang.Object
  extended byuk.ac.reload.editor.gui.ReloadFormField
      extended byuk.ac.reload.editor.metadata.formview.MetadataField
All Implemented Interfaces:
ReloadDocumentListener
Direct Known Subclasses:
MetadataComboBox, MetadataTextField

public abstract class MetadataField
extends ReloadFormField
implements ReloadDocumentListener

The Reload MD Form Widget


Field Summary
 
Fields inherited from class uk.ac.reload.editor.gui.ReloadFormField
_element, _reloadDocument, _schemaElement
 
Constructor Summary
MetadataField(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 ReloadDocument (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

MetadataField

public MetadataField(ReloadSchemaDocument doc,
                     ReloadSchemaElement schemaElement)
Constructor

Parameters:
doc - the metadata document schemaElement the schemaElement bound to this MetadataField
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 ReloadDocument (nothing is done)

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

VdexReload 1.1.3 API