|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Field Summary | |
---|---|
static String |
Copyright
|
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). |
Field Detail |
public static final String Copyright
Method Detail |
public Combo getCombo()
public void setAutoUpperCase(boolean enable)
public void setWidthHint(int widthHint)
public String getText()
public void setEnabled(boolean enabled)
public void setToolTipText(String tip)
public void setButtonToolTipText(String tip)
public boolean setFocus()
public void select(int selIdx)
public void setSelectionIndex(int selIdx)
select(int)
public void clearSelection()
public void clearTextSelection()
public int getSelectionIndex()
public void addSelectionListener(SelectionListener listener)
removeSelectionListener(SelectionListener)
public void removeSelectionListener(SelectionListener listener)
addSelectionListener(SelectionListener)
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |