Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berry::IShellListener Struct Reference

#include <berryIShellListener.h>

Classes

struct  Events
 

Public Member Functions

virtual ~IShellListener ()
 
virtual void ShellActivated (const ShellEvent::Pointer &e)
 
virtual void ShellClosed (const ShellEvent::Pointer &e)
 
virtual void ShellDeactivated (const ShellEvent::Pointer &e)
 
virtual void ShellDeiconified (const ShellEvent::Pointer &e)
 
virtual void ShellIconified (const ShellEvent::Pointer &e)
 

Detailed Description

Classes which implement this interface provide methods that deal with changes in state of Shells.

After creating an instance of a class that implements this interface it can be added to a shell using the AddShellListener method and removed using the RemoveShellListener method. When the state of the shell changes, the appropriate method will be invoked.

See also
ShellEvent

Definition at line 44 of file berryIShellListener.h.

Constructor & Destructor Documentation

berry::IShellListener::~IShellListener ( )
virtual

Definition at line 48 of file berryIShellListener.cpp.

Member Function Documentation

void berry::IShellListener::ShellActivated ( const ShellEvent::Pointer e)
virtual

Sent when a shell becomes the active window.

Parameters
ean event containing information about the activation

Definition at line 52 of file berryIShellListener.cpp.

Referenced by berry::IShellListener::Events::AddListener(), and berry::IShellListener::Events::RemoveListener().

void berry::IShellListener::ShellClosed ( const ShellEvent::Pointer e)
virtual

Sent when a shell is closed.

Parameters
ean event containing information about the close

Definition at line 54 of file berryIShellListener.cpp.

Referenced by berry::IShellListener::Events::AddListener(), and berry::IShellListener::Events::RemoveListener().

void berry::IShellListener::ShellDeactivated ( const ShellEvent::Pointer e)
virtual

Sent when a shell stops being the active window.

Parameters
ean event containing information about the deactivation

Definition at line 56 of file berryIShellListener.cpp.

Referenced by berry::IShellListener::Events::AddListener(), and berry::IShellListener::Events::RemoveListener().

void berry::IShellListener::ShellDeiconified ( const ShellEvent::Pointer e)
virtual

Sent when a shell is un-minimized.

Parameters
ean event containing information about the un-minimization

Definition at line 58 of file berryIShellListener.cpp.

Referenced by berry::IShellListener::Events::AddListener(), and berry::IShellListener::Events::RemoveListener().

void berry::IShellListener::ShellIconified ( const ShellEvent::Pointer e)
virtual

Sent when a shell is minimized.

Parameters
ean event containing information about the minimization

Definition at line 60 of file berryIShellListener.cpp.

Referenced by berry::IShellListener::Events::AddListener(), and berry::IShellListener::Events::RemoveListener().


The documentation for this struct was generated from the following files: