|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.microedition.lcdui.Displayable
javax.microedition.lcdui.Screen
javax.microedition.lcdui.Form
dict.me.BaseForm
dict.me.SearchKeysForm
public class SearchKeysForm
Form showing keywords for a pattern.
Field Summary | |
---|---|
private DictForm |
m_parentform
The form to read the search pattern from and where to put the selected keyword into. |
private DictIndexSKeysThread |
m_thr
The thread performing the search. |
Fields inherited from class dict.me.BaseForm |
---|
m_parent |
Constructor Summary | |
---|---|
SearchKeysForm(DictMidlet aParent,
DictForm aParentForm)
Initializes the form and starts searching. |
Method Summary | |
---|---|
void |
addResult(java.lang.String aResult)
Appends the given result to the form. |
void |
commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Displayable s)
Command actions. |
void |
commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Item item)
Reaction for selecting an item. |
void |
doSearch()
Starts searching for keywords. |
Methods inherited from class dict.me.BaseForm |
---|
emptyForm, getIndex, message, progress, ready, showForm |
Methods inherited from class javax.microedition.lcdui.Form |
---|
append, append, append, delete, deleteAll, get, getHeight, getWidth, insert, set, setItemStateListener, size |
Methods inherited from class javax.microedition.lcdui.Displayable |
---|
addCommand, getTicker, getTitle, isShown, removeCommand, setCommandListener, setTicker, setTitle, sizeChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private DictIndexSKeysThread m_thr
private DictForm m_parentform
Constructor Detail |
---|
public SearchKeysForm(DictMidlet aParent, DictForm aParentForm)
aParent
- the parent midlet.aParentForm
- the parent form.Method Detail |
---|
public void doSearch()
public void addResult(java.lang.String aResult)
addResult
in interface IResult
addResult
in class BaseForm
aResult
- the query result to show in the formpublic final void commandAction(javax.microedition.lcdui.Command c, javax.microedition.lcdui.Displayable s)
commandAction
in interface javax.microedition.lcdui.CommandListener
c
- c.getCommandType() contains the action requesteds
- ignoredpublic final void commandAction(javax.microedition.lcdui.Command c, javax.microedition.lcdui.Item item)
commandAction
in interface javax.microedition.lcdui.ItemCommandListener
c
- c.getCommandType() contains the action requested,
c.getLabel() contains the items text.item
- ignored
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |