|
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.vocabulary.formview.VocabularyField
uk.ac.reload.editor.vocabulary.formview.VocabularyTextField
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 | |
VocabularyTextField(Vocabulary vocabulary,
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 |
java.lang.String |
getValue()
Get the value of this Widget |
protected ReloadWidget |
getVocabularyTextFieldWidget(ReloadSchemaElement schemaElement)
Get a Text Widget suitable for the VX Form display |
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.vocabulary.formview.VocabularyField |
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 VocabularyTextField(Vocabulary vocabulary, ReloadSchemaElement schemaElement)
vocabulary
- the vocabulary JDOM document
schemaElement the ReloadSchemaElement bound to this VocabularyTextFieldMethod Detail |
protected ReloadWidget getVocabularyTextFieldWidget(ReloadSchemaElement schemaElement)
schemaElement
- the schema element bound to this widget
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 |