Public Member Functions | Protected Member Functions
SelectionListener Class Reference

#include <selectionlistener.h>

Inheritance diagram for SelectionListener:
BuyDialog DropDown InventoryWindow SellDialog ServerDialog Setup_Colors ShopWindow TextSelectDialog TradeWindow WindowMenu

Public Member Functions

virtual ~SelectionListener ()
virtual void valueChanged (const SelectionEvent &event)

Protected Member Functions

 SelectionListener ()

Detailed Description

Interface for listening for selection events from widgets.

See also
ListBox::addSelectionListener, ListBox::removeSelectionListener, DropDown::addSelectionListener, DropDown::removeSelectionListener
Olof Naessén

Definition at line 81 of file selectionlistener.h.

Constructor & Destructor Documentation

◆ ~SelectionListener()

virtual SelectionListener::~SelectionListener ( )


Definition at line 87 of file selectionlistener.h.

88  { }

◆ SelectionListener()

SelectionListener::SelectionListener ( )


You should not be able to make an instance of SelectionListener, therefore its constructor is protected.

Definition at line 107 of file selectionlistener.h.

108  { }

Member Function Documentation

◆ valueChanged()

virtual void SelectionListener::valueChanged ( const SelectionEvent event)

Called when the value of a selection has been changed in a Widget. It is used to be able to recieve a notification that a value has been changed.

eventThe event of the value change.

Reimplemented in TradeWindow, TextSelectDialog, ShopWindow, ServerDialog, InventoryWindow, BuyDialog, Setup_Colors, SellDialog, and DropDown.

Definition at line 97 of file selectionlistener.h.

98  { }

The documentation for this class was generated from the following file: