|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.columbia.coms6901.pingtel.pingim.ActionListener
Listens for form actions. Includes methods for returning action codes.
Field Summary | |
private com.pingtel.xpressa.awt.form.SimpleListForm |
formList
used if form is a SimpleListForm |
private com.pingtel.xpressa.awt.form.SimpleTextForm |
formText
used if form is a SimpleTextForm |
private int |
iFormType
the form type for this form |
private static int |
SIMPLELISTFORM
form is of type SimpleListForm |
private static int |
SIMPLETEXTFORM
form is of type SimpleTextForm |
private java.lang.String |
sState
the state of the form (e.g., text or list) |
Constructor Summary | |
ActionListener(com.pingtel.xpressa.awt.form.SimpleListForm form)
Instantiates new ActionListener |
|
ActionListener(com.pingtel.xpressa.awt.form.SimpleTextForm form)
Instantiates new ActionListener |
Method Summary | |
void |
actionEvent(com.pingtel.xpressa.awt.event.PActionEvent event)
Called whenever a form action is performed |
java.lang.String |
getLastAction()
Gets the action code of the last action performed |
int |
getSelectedIndex()
Gets selection index for list forms. |
Methods inherited from class java.lang.Object |
|
Field Detail |
private static final int SIMPLETEXTFORM
private static final int SIMPLELISTFORM
private java.lang.String sState
private com.pingtel.xpressa.awt.form.SimpleTextForm formText
private com.pingtel.xpressa.awt.form.SimpleListForm formList
private int iFormType
Constructor Detail |
public ActionListener(com.pingtel.xpressa.awt.form.SimpleTextForm form)
form
- A PingTel SimpleTextFormpublic ActionListener(com.pingtel.xpressa.awt.form.SimpleListForm form)
form
- A PingTel SimpleListFormMethod Detail |
public void actionEvent(com.pingtel.xpressa.awt.event.PActionEvent event)
actionEvent
in interface com.pingtel.xpressa.awt.event.PActionListener
PActionEvent
- The eventpublic java.lang.String getLastAction()
public int getSelectedIndex()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |