Design Pattern Examples
Overview of object-oriented design patterns
handlerchain Directory Reference
Directory dependency graph for handlerchain:
handlerchain

Files

file  handlerchain/__init__.py [code]
 Python implementation of the HandlerChain Pattern example.
 
file  handlerchain_class.py [code]
 Implementation of the IMessageHandler interface and the HandlerChain class used in the HandlerChain pattern.
 
file  handlerchain_exercise.py [code]
 Implementation of the HandlerChain_Exercise() function as used in the HandlerChain Pattern.
 
file  handlerchain_message_class.py [code]
 Implementation of the Message and MessagePosition classes used in the HandlerChain pattern.
 
file  handlerchain_messagewindow_class.py [code]
 Implementation of the MessageWindow and WindowRectangle classes, along with the static class MessageWindowFactory used in the HandlerChain pattern.