phenote.gui.field
Class CharacterListFieldGui
java.lang.Object
phenote.gui.field.CharFieldGui
phenote.gui.field.CharacterListFieldGui
- All Implemented Interfaces:
- ca.odell.glazedlists.event.ListEventListener<CharacterI>, java.util.EventListener
public class CharacterListFieldGui
- extends CharFieldGui
A CharFieldGui which manages a separate CharacterList and CharacterTable representing the contents of the field value it edits.
This way a Character can have a list of Characters as the value for a single field.
- Author:
- Jim Balhoff
| Methods inherited from class phenote.gui.field.CharFieldGui |
addActionListener, alreadyInList, areCharactersEqualForCharField, checkPostCompButton, commitAndSelectNext, editModelEnabled, enableEditModel, fireActionPerformed, focusGained, focusLost, getCharField, getCharFieldEnum, getCompButton, getCompList, getCurrentOboClass, getCurrentRelation, getDisabledTextColor, getEditButton, getEditManager, getEnabledTextColor, getLabel, getListDelButton, getListGui, getListMessage, getMinCompChars, getOntologyChooser, getRetrieveButton, getSelectedChars, getSelectionManager, getTermComp, hasChangedMultipleValues, hasCompButton, hasEditButton, hasListGui, hasOntologyChooser, hasRetrieveButton, isCompList, isInMultipleValueState, isTermCompList, listChanged, makeCharFieldGui, makePostCompTermList, makeRelationList, removeActionListener, setDoingInternalEdit, setEditManager, setEnabledState, setForegroundColor, setHasChangedMultipleValues, setInMultipleValueState, setLabel, setListSelectionModel, setMinCompChars, setMultipleValuesConditions, setOboClass, setOntologyChooserFromTerm, setRel, setSelectionManager, setUpdateGuiOnly, setValueFromChars, shouldResetGuiForMultipleValues, updateGuiOnly |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CharacterListFieldGui
public CharacterListFieldGui(CharField charField)
getTableCellEditor
public javax.swing.table.TableCellEditor getTableCellEditor()
- Specified by:
getTableCellEditor in class CharFieldGui
getCharFieldValue
protected CharFieldValue getCharFieldValue()
- Description copied from class:
CharFieldGui
- Returns the current value as a "character-independent" value (character is null).
- Specified by:
getCharFieldValue in class CharFieldGui
getText
protected java.lang.String getText()
- Specified by:
getText in class CharFieldGui
getUserInputGui
protected javax.swing.JComponent getUserInputGui()
- Description copied from class:
CharFieldGui
- Get the component used for user input - text field or jCombo
- Specified by:
getUserInputGui in class CharFieldGui
hasFocus
protected boolean hasFocus()
- Specified by:
hasFocus in class CharFieldGui
setCharFieldValue
protected void setCharFieldValue(CharFieldValue value)
- Specified by:
setCharFieldValue in class CharFieldGui
setText
protected void setText(java.lang.String text)
- Specified by:
setText in class CharFieldGui
updateModel
protected void updateModel()
- Description copied from class:
CharFieldGui
- Main method for subclasses to edit model with current value
- Specified by:
updateModel in class CharFieldGui
setGuiForNoSelection
protected void setGuiForNoSelection()
- Overrides:
setGuiForNoSelection in class CharFieldGui
setGuiForMultipleValues
protected void setGuiForMultipleValues()
- Overrides:
setGuiForMultipleValues in class CharFieldGui