• Archives
  • Handlers
  • Dispatch
  • Settings
  • Clipboard



Handlers

The Guildhall architecture uses a number of mix-in classes to define commonly used protocols. It defines such classes for event responders, document clients, standard menu handlers, and scrolling fields. It also provides two important abstract classes, one for statics and one for screen input (mouse) tracking.

The AStatics class serves as the respository for applet data that doesn't change once configured. This includes static data such as strings but also images and sounds that are cached after loading them. Typically the structure of an applet's menu bar is configured by its AStatics partner. It could have been done elsewhere but it was convenient to get it out of the way early in the process of developing applets.

AStatics subclasses are automatically recorded with the Guildhall runtime the first time they are referenced. They must not allocate memory prior to the finish of static initialization and are released just before static destructors are called. They are available to any document that needs them, and only one copy is present. They are not a mechanism for sharing information between applets. There are other mechanisms to effect that.

Abstract Classes

  • AStatics
  • ATracker

Mix-in Classes

  • MDocumentClient
  • MEventHandler
  • MFileMenuHandler
  • MEditMenuHandler
  • MScroller

 

Copyright © 1981-2021 Arthur W Cabral. All Rights Reserved. All referenced trademarks are the property of their respective owners. This site does not use cookies. This site does not collect visitor information. The ISP hosting this site collects statistics regarding visitors to this site as part of the normal operation of the website. We do not currently examine those statistics. If that changes, this notice will change.