ManaPlus
|
#include <wrongdatanoticelistener.h>
Public Member Functions | |
WrongDataNoticeListener () | |
void | setTarget (TextField *const textField) |
void | action (const ActionEvent &event) |
Public Member Functions inherited from ActionListener | |
virtual | ~ActionListener () |
Private Attributes | |
TextField * | mTarget |
Additional Inherited Members | |
Protected Member Functions inherited from ActionListener | |
ActionListener () | |
Listener used while dealing with wrong data. It is used to direct the focus to the field which contained wrong data when the Ok button was pressed on the error notice.
Definition at line 36 of file wrongdatanoticelistener.h.
WrongDataNoticeListener::WrongDataNoticeListener | ( | ) |
Definition at line 30 of file wrongdatanoticelistener.cpp.
|
virtual |
Called when an action is recieved from a widget. It is used to be able to recieve a notification that an action has occured.
actionEvent | The event of the action. |
Implements ActionListener.
Definition at line 41 of file wrongdatanoticelistener.cpp.
References ActionEvent::getId(), mTarget, and Widget::requestFocus().
void WrongDataNoticeListener::setTarget | ( | TextField *const | textField | ) |
Definition at line 36 of file wrongdatanoticelistener.cpp.
References mTarget.
Referenced by ChangeEmailDialog::action(), ChangePasswordDialog::action(), and RegisterDialog::action().
|
private |
Definition at line 47 of file wrongdatanoticelistener.h.
Referenced by action(), and setTarget().