public class LookupComponent
extends java.lang.Object
Has the look and feel of Logger drop down boxes but lots of extra features, such as being editable and updatable on the fly, etc.
Constructor and Description |
---|
LookupComponent(java.lang.String lookupTopic,
LookupList lookupList) |
Modifier and Type | Method and Description |
---|---|
void |
fillList() |
javax.swing.JComponent |
getComponent() |
LookupList |
getLookupList() |
LookupItem |
getSelectedItem() |
java.util.Vector<LookupItem> |
getSelectedList() |
boolean |
isAllowEdits() |
boolean |
isAllowNullSelection() |
void |
setAllowEdits(boolean allowEdits) |
void |
setAllowNullSelection(boolean allowNullSelection) |
boolean |
setComboFromCode() |
void |
setLookupList(LookupList lookupList) |
void |
setNorthTitle(java.lang.String northTitle) |
void |
setSelectedCode(java.lang.String codeText)
Set the code manually, then let the comboBox part
update itself
|
void |
setToolTipText(java.lang.String hint) |
void |
setToolTipText(java.lang.String codeHint,
java.lang.String comboHint) |
void |
setTopic(java.lang.String topicName) |
void |
setWestTitle(java.lang.String westTitle) |
void |
showPopupMenu(java.awt.event.MouseEvent me) |
public LookupComponent(java.lang.String lookupTopic, LookupList lookupList)
public LookupList getLookupList()
public void setLookupList(LookupList lookupList)
lookupList
- the lookupList to setpublic LookupItem getSelectedItem()
public void showPopupMenu(java.awt.event.MouseEvent me)
public boolean setComboFromCode()
public void fillList()
public javax.swing.JComponent getComponent()
public void setWestTitle(java.lang.String westTitle)
public void setNorthTitle(java.lang.String northTitle)
public boolean isAllowNullSelection()
public void setAllowNullSelection(boolean allowNullSelection)
public boolean isAllowEdits()
public void setAllowEdits(boolean allowEdits)
public void setSelectedCode(java.lang.String codeText)
codeText
- public java.util.Vector<LookupItem> getSelectedList()
public void setToolTipText(java.lang.String hint)
public void setToolTipText(java.lang.String codeHint, java.lang.String comboHint)
public void setTopic(java.lang.String topicName)