Design Pattern Examples
Overview of object-oriented design patterns
handlerchain_messagewindow_class.py File Reference

Implementation of the MessageWindow and WindowRectangle classes, along with the static class MessageWindowFactory used in the HandlerChain pattern. More...

Go to the source code of this file.

Classes

class  WindowRectangle
 Represents a rectangular region, with upper left and lower right coordinates. More...
 
class  MessageWindow
 Represents a rectangular region that can handle messages directed to that region. More...
 
class  MessageWindowFactory
 Represents a class factory for instances of the MessageWindow class. More...
 
class  MessageWindowHandlers
 Contains the various message handlers that operate on MessageWindow class instances. More...
 

Namespaces

namespace  DesignPatternExamples_python
 The DesignPatternExamples_python package, containing 20 examples of design patterns, each in their own namespace.
 
namespace  DesignPatternExamples_python.handlerchain
 
namespace  DesignPatternExamples_python.handlerchain.handlerchain_messagewindow_class
 

Detailed Description

Implementation of the MessageWindow and WindowRectangle classes, along with the static class MessageWindowFactory used in the HandlerChain pattern.

Definition in file handlerchain_messagewindow_class.py.