phenote.gui.field
Class PickListFieldGui

java.lang.Object
  extended by phenote.gui.field.CharFieldGui
      extended by phenote.gui.field.PickListFieldGui
All Implemented Interfaces:
ca.odell.glazedlists.event.ListEventListener<CharacterI>, java.util.EventListener

public class PickListFieldGui
extends CharFieldGui


Field Summary
 
Fields inherited from class phenote.gui.field.CharFieldGui
fieldHeight, inputSize, selectionModel
 
Constructor Summary
PickListFieldGui(CharField charField)
           
 
Method Summary
protected  CharFieldValue getCharFieldValue()
          Returns the current value as a "character-independent" value (character is null).
 javax.swing.table.TableCellEditor getTableCellEditor()
           
protected  java.lang.String getText()
           
protected  javax.swing.JComponent getUserInputGui()
          Get the component used for user input - text field or jCombo
protected  boolean hasFocus()
           
protected  void setCharFieldValue(CharFieldValue value)
           
protected  void setText(java.lang.String text)
           
protected  void updateModel()
          Main method for subclasses to edit model with current value
 
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, setGuiForMultipleValues, setGuiForNoSelection, 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
 

Constructor Detail

PickListFieldGui

public PickListFieldGui(CharField charField)
Method Detail

getTableCellEditor

public javax.swing.table.TableCellEditor getTableCellEditor()
Specified by:
getTableCellEditor 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

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

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