Skip to content

Scamper Architecture

Bop-Bop edited this page Jul 29, 2016 · 22 revisions

Class Diagram

Class Descriptions:

Scamper: main class, responsible for moth of the functionality, e.g. download of websites, displaying on the UI and User Applications.

WebPageMorph: displays the currently opened website in the UI.

HtmlGridlayout: defines the layout policy, that is used for displaying Html-Elements on the WebPageMorph.

Htmlgridposition: provides information on the current Gridposition.

HtmlGridSpace: provides information on the Gridspaces.

ScamperButton: button customized to fit into Scampers UI.

BrowserUrl: responsible for downloading internal websites

ScamperWorker: responsible for downloading elements, that aren't completly contained in the HtmlDocument of a website, e.g. download of pictures. This is done in the background.

HtmlBlockMorph: provides a superclass, for the derived classes HtmlBodyMorph, HtmlDocumentMorph, HtmlLinkMorph und HtmlTableMorph. They represent the HtmlDOMNodes and model the structure of a HtmlDocument as Morphs, that can be dislpayed on the WebPageMorph.

HtmlInlineMorph: displays the text in HtmlDocuments as a TextMorph.