Public Member Functions | Public Attributes | Protected Member Functions

fl7::faces::Window Class Reference

#include <Window.h>

Inheritance diagram for fl7::faces::Window:
fl7::faces::Fusion fl7::faces::Collection fl7::faces::Face fl7::faces::Frame fl7::faces::Popup cyber::editor::gui::BaseWnd fl7::faces::Dialog fl7Wnd gui::ControlPanelWnd gui::FileMenuWnd gui::SettingsWnd gui::ToolboxWnd pl7::console::ConsoleWnd pl7::console::HintBox

List of all members.

Public Member Functions

bool IsOpen () const
int GetZOrder () const
const ContainerGetChildContainer () const
ContainerGetChildContainer ()
FaceGetFocus () 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)

Detailed Description

The base class for windows.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

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).


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines