VdexReload 1.1.3 API

uk.ac.reload.editor.gui
Class ReloadFormField

java.lang.Object
  extended byuk.ac.reload.editor.gui.ReloadFormField
Direct Known Subclasses:
MetadataField, VocabularyField

public abstract class ReloadFormField
extends java.lang.Object

An Edit Field Form Text widget abstract class


Field Summary
protected  org.jdom.Element _element
          The Element we represent
protected  ReloadSchemaDocument _reloadDocument
          The owner
protected  ReloadSchemaElement _schemaElement
          Our schema template
 
Constructor Summary
ReloadFormField()
          Default Constructor
ReloadFormField(ReloadSchemaDocument reloadDocument, org.jdom.Element element, ReloadSchemaElement schemaElement)
          Constructor
ReloadFormField(ReloadSchemaDocument reloadDocument, ReloadSchemaElement schemaElement)
          Constructor
 
Method Summary
abstract  void destroy()
          Clean up
abstract  java.awt.Component getComponent()
          Get the component used
abstract  java.lang.String getValue()
          Get the value of this Widget
abstract  void setValue(java.lang.String value)
          Set the value of the Widget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_reloadDocument

protected ReloadSchemaDocument _reloadDocument
The owner


_element

protected org.jdom.Element _element
The Element we represent


_schemaElement

protected ReloadSchemaElement _schemaElement
Our schema template

Constructor Detail

ReloadFormField

public ReloadFormField()
Default Constructor


ReloadFormField

public ReloadFormField(ReloadSchemaDocument reloadDocument,
                       ReloadSchemaElement schemaElement)
Constructor

Parameters:
reloadDocument - the owner document
schemaElement - the schema template bound to this element

ReloadFormField

public ReloadFormField(ReloadSchemaDocument reloadDocument,
                       org.jdom.Element element,
                       ReloadSchemaElement schemaElement)
Constructor

Parameters:
reloadDocument - the owner document
element - the element we represent
schemaElement - the schema template bound to this element
Method Detail

getValue

public abstract java.lang.String getValue()
Get the value of this Widget

Returns:
The value contained in the Widget

setValue

public abstract void setValue(java.lang.String value)
Set the value of the Widget

Parameters:
value - The value to be set to this widget

getComponent

public abstract java.awt.Component getComponent()
Get the component used

Returns:
the component used

destroy

public abstract void destroy()
Clean up


VdexReload 1.1.3 API