|
RSE Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISystemCombo
We have a number of composite widgets that include a combo-box. This interface enforces some common methods on all of them to make it easier to code to this in a consistent manner.
Method Summary | |
---|---|
void |
addSelectionListener(SelectionListener listener)
Register a listener interested in an item is selected in the combo box |
void |
clearSelection()
Clear the entered/selected contents of the combo box. |
void |
clearTextSelection()
Clear the entered/selected contents of the combo box. |
Combo |
getCombo()
Return the embedded combo box widget |
int |
getSelectionIndex()
Get the index number of the currently selected item. |
String |
getText()
Query the combo field's current contents |
void |
removeSelectionListener(SelectionListener listener)
Remove a previously set combo box selection listener. |
void |
select(int selIdx)
Select the combo dropdown list entry at the given index |
void |
setAutoUpperCase(boolean enable)
Set auto-uppercase. |
void |
setButtonToolTipText(String tip)
Set the tooltip text for the history button |
void |
setEnabled(boolean enabled)
Disable/Enable all the child controls |
boolean |
setFocus()
Set the focus to the combo field |
void |
setSelectionIndex(int selIdx)
Same as select(int) |
void |
setToolTipText(String tip)
Set the tooltip text for the combo field |
void |
setWidthHint(int widthHint)
Set the width hint for the combo box widget (in pixels). |
Method Detail |
---|
Combo getCombo()
void setAutoUpperCase(boolean enable)
void setWidthHint(int widthHint)
String getText()
void setEnabled(boolean enabled)
void setToolTipText(String tip)
void setButtonToolTipText(String tip)
boolean setFocus()
void select(int selIdx)
void setSelectionIndex(int selIdx)
select(int)
void clearSelection()
void clearTextSelection()
int getSelectionIndex()
void addSelectionListener(SelectionListener listener)
removeSelectionListener(SelectionListener)
void removeSelectionListener(SelectionListener listener)
addSelectionListener(SelectionListener)
|
RSE Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |