|
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.MetadataComboBox
A Combo Box widget. Derived from JComboBox. This can hold an Element or an Attribute.
Field Summary | |
protected ReloadComboBox |
_comboBox
The combo box for displaying element vocabulary list |
protected ReloadVocabularyList |
_rvList
The element vocabulary list |
Fields inherited from class uk.ac.reload.editor.gui.ReloadFormField |
_element, _reloadDocument, _schemaElement |
Constructor Summary | |
MetadataComboBox(Metadata metadata,
ReloadSchemaElement schemaElement,
ReloadVocabularyList rvList)
Constructor |
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent event)
Action to be performed when the ComboBox component's value is changed |
void |
destroy()
Clean up |
java.awt.Component |
getComponent()
Get the ComboBox component |
java.lang.String |
getValue()
Get the value of this Widget |
void |
setValue(java.lang.String value)
Set the value of the Widget |
void |
vocabularyListChanged(ReloadVocabularyListenerEvent event)
Listen to changed in the vocabulary list of this element and update the ComboBox list |
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 ReloadComboBox _comboBox
protected ReloadVocabularyList _rvList
Constructor Detail |
public MetadataComboBox(Metadata metadata, ReloadSchemaElement schemaElement, ReloadVocabularyList rvList)
metadata
- the metadata JDOM document
schemaElement the ReloadSchemaElement bound to this MetadataComboBox
rvList the vocabulary list of this elementMethod Detail |
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 actionPerformed(java.awt.event.ActionEvent event)
actionPerformed
in interface java.awt.event.ActionListener
public void vocabularyListChanged(ReloadVocabularyListenerEvent event)
vocabularyListChanged
in interface ReloadVocabularyListener
event
- the ReloadVocabularyListenerEvent
|
VdexReload 1.1.3 API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |