#include <Window.h>
Public Member Functions | |
| bool | IsOpen () const |
| int | GetZOrder () const |
| const Container & | GetChildContainer () const |
| Container & | GetChildContainer () |
| Face * | GetFocus () const |
| bool | IsActive () const |
| void | Open () |
| void | Close () |
| void | Activate () |
| void | Deactivate () |
Public Attributes | |
| events::EventHandler < events::EventArgs > | OnOpenEventHandler |
| events::EventHandler < events::EventArgs > | OnCloseEventHandler |
| events::EventHandler < events::ActiveEventArgs > | OnActivateEventHandler |
| events::EventHandler < events::ActiveEventArgs > | OnDeactivateEventHandler |
| friend | Shell |
Protected Member Functions | |
| Window (const unsigned face_class_id, Shell *const shell, const Config::Face &cfg) | |
| virtual | ~Window (void) |
The base class for windows.
| fl7::faces::Window::Window | ( | const unsigned | face_class_id, | |
| Shell *const | shell, | |||
| const Config::Face & | cfg | |||
| ) | [explicit, protected] |
Explicit constructor.
| fl7::faces::Window::~Window | ( | void | ) | [protected, virtual] |
Destructor.
| void fl7::faces::Window::Activate | ( | ) |
Activates this window. If an overlaying dialog is active, this operation has no effect.
| void fl7::faces::Window::Close | ( | ) |
Closes this window.
| void fl7::faces::Window::Deactivate | ( | ) |
Deactivates this window. If the window is not currently active or is the top-most dialog, the operation has no effect.
| Container& fl7::faces::Window::GetChildContainer | ( | ) | [inline] |
Returns the container holding the child faces.
| const Container& fl7::faces::Window::GetChildContainer | ( | ) | const [inline] |
Returns the container holding the child faces.
| Face* fl7::faces::Window::GetFocus | ( | ) | const [inline] |
Returns the currently focused face control (in case this window is active).
| int fl7::faces::Window::GetZOrder | ( | ) | const |
Returns the z-order of this window (0 => top-most).
| bool fl7::faces::Window::IsActive | ( | ) | const |
Checks whether this window is currently active.
| bool fl7::faces::Window::IsOpen | ( | ) | const [inline] |
Returns the flag specifying whether this window if open or closed.
| void fl7::faces::Window::Open | ( | ) |
Opens this window and sets the focus on it to activate it.
Will be called after this window has been activated.
Will be called after this window has been closed (removed from the shell).
Will be called after this window has been deactivated.
Will be called after this window has been initialized (added to the shell).
| friend fl7::faces::Window::Shell |
Reimplemented from fl7::faces::Collection.
1.7.1