|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectphenote.gui.field.CharFieldGui
phenote.gui.field.AbstractAutoCompList
phenote.gui.field.TermCompList
public class TermCompList
| Field Summary |
|---|
| Fields inherited from class phenote.gui.field.CharFieldGui |
|---|
fieldHeight, inputSize, selectionModel |
| Constructor Summary | |
|---|---|
TermCompList(CharField cf,
int minCompChars)
|
|
| Method Summary | |
|---|---|
protected void |
checkPostCompButton(boolean allow)
no-op - overridden by term comp list - set to false for now for terms in comp window - resursion coming... |
(package private) void |
enableTermInfoListening()
This is touchy stuff - so i want to be able to display info about term in TermInfo when user mouses over terms in combo boxes JList. |
protected CharFieldValue |
getCharFieldValue()
Returns the current value as a "character-independent" value (character is null). |
protected javax.swing.JButton |
getCompButton()
Overridden by TermCompList |
org.obo.datamodel.OBOClass |
getCurrentOboClass()
Throws exception if there isnt a current obo class, if the user has typed something that isnt yet a term - hasnt selected a term |
protected java.lang.String |
getCurrentTermRelName()
Return the name of the current term or relation - was gonna call this item name but that gets confused with "items" in combo box |
protected javax.swing.JComboBox |
getOntologyChooser()
|
protected void |
getSearchItems(java.lang.String input,
SearchListener l,
boolean thread)
now threaded so cant return - when done sets AbstractAutoCompList.ListSearchListener.newResults |
protected TermCompList |
getTermComp()
|
protected boolean |
hasCompButton()
Overridden by TermCompList |
protected boolean |
hasOntologyChooser()
|
protected boolean |
isTermCompList()
|
protected void |
setCharFieldValue(CharFieldValue value)
|
protected void |
setCurrentValidItem(boolean useTopHit)
The user has selected a term from the list, validate and set current obo class if doesnt validate throw ex called by updateModel to get valid term. |
protected void |
setModelToNull()
|
protected void |
setOboClass(org.obo.datamodel.OBOClass term)
rename setTerm? |
(package private) void |
setOntologyChooserFromTerm(org.obo.datamodel.OBOClass term)
for post comp gui to set ontol chooser - overridden by term comp |
protected void |
updateModel(boolean useTopHit)
edits one or more selected chars if there is valid input, if not sets model to null if useTopHit is false then only set model if have selected comp term (user selected from list). |
| Methods inherited from class phenote.gui.field.AbstractAutoCompList |
|---|
canGetUIJList, clear, doMouseOver, getCompList, getCompListSearcher, getFirstCompListObj, getJComboBox, getMinCompChars, getSearchParams, getSelectedObject, getTableCellEditor, getText, getUIJList, getUserInputGui, hasFocus, hasMoreThanOneOntology, isCompList, setForegroundColor, setMinCompChars, setTestMode, setText, setText, simulateKeyStroke, simulateLKeyStroke, updateModel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TermCompList(CharField cf,
int minCompChars)
| Method Detail |
|---|
protected boolean isTermCompList()
isTermCompList in class CharFieldGuiprotected TermCompList getTermComp()
getTermComp in class CharFieldGuiprotected boolean hasCompButton()
CharFieldGui
hasCompButton in class CharFieldGuiprotected javax.swing.JButton getCompButton()
CharFieldGui
getCompButton in class CharFieldGuiprotected void checkPostCompButton(boolean allow)
CharFieldGui
checkPostCompButton in class CharFieldGuiprotected void setCharFieldValue(CharFieldValue value)
setCharFieldValue in class AbstractAutoCompListprotected CharFieldValue getCharFieldValue()
CharFieldGui
getCharFieldValue in class AbstractAutoCompListvoid setOntologyChooserFromTerm(org.obo.datamodel.OBOClass term)
CharFieldGui
setOntologyChooserFromTerm in class CharFieldGui
protected void getSearchItems(java.lang.String input,
SearchListener l,
boolean thread)
getSearchItems in class AbstractAutoCompList
protected void setCurrentValidItem(boolean useTopHit)
throws OboException
OboExceptionprotected java.lang.String getCurrentTermRelName()
AbstractAutoCompList
getCurrentTermRelName in class AbstractAutoCompListprotected void setOboClass(org.obo.datamodel.OBOClass term)
setOboClass in class CharFieldGui
public org.obo.datamodel.OBOClass getCurrentOboClass()
throws CharFieldGuiEx
getCurrentOboClass in class CharFieldGuiCharFieldGuiExprotected void updateModel(boolean useTopHit)
updateModel in class AbstractAutoCompListprotected void setModelToNull()
setModelToNull in class AbstractAutoCompListvoid enableTermInfoListening()
protected boolean hasOntologyChooser()
hasOntologyChooser in class AbstractAutoCompListprotected javax.swing.JComboBox getOntologyChooser()
getOntologyChooser in class CharFieldGui
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||