|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.xoetrope.swing.XComboBox.SystemSelectionManager
public class XComboBox.SystemSelectionManager
A search manager for finding list entries as the user types a value
| Constructor Summary | |
|---|---|
XComboBox.SystemSelectionManager(boolean search)
Setup a key selection manager |
|
| Method Summary | |
|---|---|
java.lang.String |
getSearchString()
|
boolean |
isSearchable()
Is the current key selectionmanager searchable |
int |
selectionForKey(char key,
javax.swing.ComboBoxModel model)
Given aKey and the model, returns the row
that should become selected. |
void |
setAlphaNumOnly(boolean s)
|
void |
setPause(long p)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XComboBox.SystemSelectionManager(boolean search)
search - true to search using keys as they are typed to form a search word,
or false to use only the key as the first character of the search - match
only the first letter.| Method Detail |
|---|
public int selectionForKey(char key,
javax.swing.ComboBoxModel model)
aKey and the model, returns the row
that should become selected. Return -1 if no match was
found.
selectionForKey in interface javax.swing.JComboBox.KeySelectionManagerkey - a char value, usually indicating a keyboard key that
was pressedmodel - a ComboBoxModel -- the component's data model, containing
the list of selectable items
public boolean isSearchable()
public java.lang.String getSearchString()
public void setPause(long p)
public void setAlphaNumOnly(boolean s)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||