|
VdexReload 1.1.3 API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.reload.editor.gui.ReloadFormField
uk.ac.reload.editor.metadata.formview.MetadataField
uk.ac.reload.editor.metadata.formview.MetadataTextField
A Text Area widget.
Field Summary | |
protected ReloadWidget |
_reloadWidget
The suitable Component we shall use |
Fields inherited from class uk.ac.reload.editor.gui.ReloadFormField |
_element, _reloadDocument, _schemaElement |
Constructor Summary | |
MetadataTextField(Metadata metadata,
ReloadSchemaElement schemaElement)
Constructor |
Method Summary | |
void |
changedUpdate(javax.swing.event.DocumentEvent evt)
Notify listeners that the textfield value is changed |
void |
destroy()
Clean up |
java.awt.Component |
getComponent()
Get the component that we're using |
protected ReloadWidget |
getMetadataTextFieldWidget(ReloadSchemaElement schemaElement)
Get a Text Widget suitable for the MD Form display |
ReloadButtonTextArea |
getReloadButtonTextArea()
Get a TextArea and Button |
ReloadButtonTextField |
getReloadButtonTextField()
Get a TextField and Button |
java.lang.String |
getValue()
Get the value of this Widget |
void |
insertUpdate(javax.swing.event.DocumentEvent evt)
Notify listeners that the textfield value is inserted |
void |
removeUpdate(javax.swing.event.DocumentEvent evt)
Notify listeners that the textfield value is removed |
void |
setValue(java.lang.String value)
Set the value of the Widget |
Methods inherited from class uk.ac.reload.editor.metadata.formview.MetadataField |
addElement, documentSaved, elementAdded, elementChanged, elementRemoved, fireElementChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected ReloadWidget _reloadWidget
Constructor Detail |
public MetadataTextField(Metadata metadata, ReloadSchemaElement schemaElement)
metadata
- the metadata JDOM document
schemaElement the ReloadSchemaElement bound to this MetadataTextFieldMethod Detail |
protected ReloadWidget getMetadataTextFieldWidget(ReloadSchemaElement schemaElement)
schemaElement
- the schema element bound to this widget
public ReloadButtonTextField getReloadButtonTextField()
public ReloadButtonTextArea getReloadButtonTextArea()
public void destroy()
destroy
in class ReloadFormField
public java.lang.String getValue()
getValue
in class ReloadFormField
public void setValue(java.lang.String value)
setValue
in class ReloadFormField
value
- The value to be set to the widgetpublic java.awt.Component getComponent()
getComponent
in class ReloadFormField
public void removeUpdate(javax.swing.event.DocumentEvent evt)
removeUpdate
in interface javax.swing.event.DocumentListener
public void changedUpdate(javax.swing.event.DocumentEvent evt)
changedUpdate
in interface javax.swing.event.DocumentListener
public void insertUpdate(javax.swing.event.DocumentEvent evt)
insertUpdate
in interface javax.swing.event.DocumentListener
|
VdexReload 1.1.3 API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |