ManaPlus
|
#include <guitableactionlistener.h>
Public Member Functions | |
GuiTableActionListener (GuiTable *const table, Widget *const widget, const int row, const int column) | |
~GuiTableActionListener () | |
void | action (const ActionEvent &actionEvent) |
Public Member Functions inherited from ActionListener | |
virtual | ~ActionListener () |
Protected Attributes | |
GuiTable * | mTable |
int | mRow |
int | mColumn |
Widget * | mWidget |
Additional Inherited Members | |
Protected Member Functions inherited from ActionListener | |
ActionListener () | |
Definition at line 33 of file guitableactionlistener.h.
GuiTableActionListener::GuiTableActionListener | ( | GuiTable *const | table, |
Widget *const | widget, | ||
const int | row, | ||
const int | column | ||
) |
Definition at line 30 of file guitableactionlistener.cpp.
GuiTableActionListener::~GuiTableActionListener | ( | ) |
Definition at line 48 of file guitableactionlistener.cpp.
References mWidget, Widget::removeActionListener(), Widget::setParent(), and Widget2::setWindow().
|
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 58 of file guitableactionlistener.cpp.
References Widget::distributeActionEvent(), mColumn, mRow, mTable, and GuiTable::setSelected().
|
protected |
Definition at line 50 of file guitableactionlistener.h.
Referenced by action().
|
protected |
Definition at line 49 of file guitableactionlistener.h.
Referenced by action().
|
protected |
Definition at line 48 of file guitableactionlistener.h.
Referenced by action().
|
protected |
Definition at line 51 of file guitableactionlistener.h.
Referenced by ~GuiTableActionListener().