An abstract base class providing common functionality and specifying the required interface for derived classes.
More...
Public Member Functions |
| | SequentialLayoutContainer (const String &type, const String &name) |
| | Constructor for Window base class.
|
|
virtual | ~SequentialLayoutContainer (void) |
| | Destructor for Window base class.
|
|
size_t | getPositionOfChild (Window *wnd) const |
| | Gets the position of given child window.
|
|
size_t | getPositionOfChild (const String &wnd) const |
| | Gets the position of given child window.
|
|
Window * | getChildAtPosition (size_t position) const |
| | Gets the child window that currently is at given position.
|
|
virtual void | swapChildPositions (size_t wnd1, size_t wnd2) |
| | Swaps windows at given positions.
|
|
void | swapChildren (Window *wnd1, Window *wnd2) |
| | Swaps positions of given windows.
|
|
void | swapChildren (const String &wnd1, Window *wnd2) |
| | Swaps positions of given windows.
|
|
void | swapChildren (Window *wnd1, const String &wnd2) |
| | Swaps positions of given windows.
|
|
void | swapChildren (const String &wnd1, const String &wnd2) |
| | Swaps positions of given windows.
|
|
virtual void | moveChildToPosition (Window *wnd, size_t position) |
| | Moves a window that is alrady child of thi layout container to given position (if the window is currently in a position that is smaller than given position, given position is automatically decremented.
|
|
void | moveChildToPosition (const String &wnd, size_t position) |
| | Moves a window that is alrady child of thi layout container to given position (if the window is currently in a position that is smaller than given position, given position is automatically decremented.
|
| void | moveChild (Window *window, int delta=1) |
| | Moves a window forward or backward, depending on delta (-1 moves it backward one step, 1 moves it forward one step)
|
|
void | addChildToPosition (Window *window, size_t position) |
| | Adds a window to given position.
|
|
void | removeChildFromPosition (size_t position) |
| | Removes a window from given position.
|
Static Public Attributes |
|
static const String | EventNamespace |
| | Namespace for global events.
|
|
static const String | EventChildOrderChanged |
| | fired when child windows get rearranged
|
Protected Member Functions |
| virtual void | onChildOrderChanged (WindowEventArgs &e) |
| | Handler called when children of this window gets rearranged in any way.
|
An abstract base class providing common functionality and specifying the required interface for derived classes.
Sequential Layout Container provide means for automatic positioning of windows in sequence