Skip to content

Scamper Architecture

AnjoSs edited this page Jul 10, 2018 · 22 revisions

Class Diagram

Class Descriptions:

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

WebClient: supports the Internet Workflow by sending requests via HTTP and ports from server to server, and supporting authentification and cookies

WebPageMorph: displays the currently opened website in the UI.

HtmlDOMNode: represents one node in the HTML Tree with its attributes and styles, which can be defined by CSS

CSSStylessheet:

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.

LayoutPolicy:

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

HtmlBlockLayout:

HtmlInlineLayout:

HtmlInlineMorph: displays the text in HtmlDocuments as a TextMorph.