eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTMLDocumentViewerApplication':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: HTMLDocumentViewerApplication


Inheritance:

   Object
   |
   +--Model
      |
      +--ApplicationModel
         |
         +--HTMLDocumentViewerApplication

Package:
stx:libhtml
Category:
System-Documentation
Version:
rev: 1.27 date: 2019/07/31 15:09:58
user: cg
file: HTMLDocumentViewerApplication.st directory: libhtml
module: stx stc-classLibrary: libhtml
Author:
cg

Description:


documentation to be added.


[instance variables:]

[class variables:]


Related information:



Class protocol:

interface specs
o  windowSpec
This resource specification was automatically generated
by the UIPainter of ST/X.

usage example(s):

     UIPainter new openOnClass:HTMLDocumentViewerApplication andSelector:#windowSpec
     HTMLDocumentViewerApplication new openInterface:#windowSpec
     HTMLDocumentViewerApplication open

menu specs
o  extraMenu
This resource specification was automatically generated
by the MenuEditor of ST/X.

usage example(s):

     MenuEditor new openOnClass:HTMLDocumentViewerApplication andSelector:#extraMenu
     (Menu new fromLiteralArrayEncoding:(HTMLDocumentViewerApplication extraMenu)) startUp

o  fileMenu
This resource specification was automatically generated
by the MenuEditor of ST/X.

usage example(s):

     MenuEditor new openOnClass:HTMLDocumentViewerApplication andSelector:#fileMenu
     (Menu new fromLiteralArrayEncoding:(HTMLDocumentViewerApplication fileMenu)) startUp

o  mainMenu
This resource specification was automatically generated
by the MenuEditor of ST/X.

usage example(s):

     MenuEditor new openOnClass:HTMLDocumentViewerApplication andSelector:#mainMenu
     (Menu new fromLiteralArrayEncoding:(HTMLDocumentViewerApplication mainMenu)) startUp

o  navigationMenu
This resource specification was automatically generated
by the MenuEditor of ST/X.

usage example(s):

     MenuEditor new openOnClass:HTMLDocumentViewerApplication andSelector:#navigationMenu
     (Menu new fromLiteralArrayEncoding:(HTMLDocumentViewerApplication navigationMenu)) startUp

o  toolbarMenu
This resource specification was automatically generated
by the MenuEditor of ST/X.

usage example(s):

     MenuEditor new openOnClass:HTMLDocumentViewerApplication andSelector:#toolbarMenu
     (Menu new fromLiteralArrayEncoding:(HTMLDocumentViewerApplication toolbarMenu)) startUp

o  toolsMenu
This resource specification was automatically generated
by the MenuEditor of ST/X.

usage example(s):

     MenuEditor new openOnClass:HTMLDocumentViewerApplication andSelector:#toolsMenu
     (Menu new fromLiteralArrayEncoding:(HTMLDocumentViewerApplication toolsMenu)) startUp

o  viewMenu
This resource specification was automatically generated
by the MenuEditor of ST/X.

startup-basic
o  openFullOnFile: aFilenameOrString anchor: localAnchor text: htmlText top: topDirectory extent: extent title: title buttonSpec: buttonSpec uriDisplay: showUri infoDisplay: showInfo


Instance protocol:

accessing
o  anchor: localAnchor

o  file: aFilenameOrString
htmlView homeText:htmlText.

o  nameSpaceForExecution: aNameSpace

o  positionOnAnchor: localAnchor

o  showInfoDisplay: showInfo
self halt.

o  showUriDisplay: showUri

o  text: htmlText

o  topDirectory: topDirectory

aspects
o  editTextHolder

o  htmlTextHolder

o  infoLabelHolder

o  isEditingHolder

o  menuBackEnabledHolder

o  uriFieldVisibleHolder

o  uriHolder

change & update
o  scrollHtmlViewFromEditTextView
find the last element before that sourceposition

o  update: something with: aParameter from: changedObject
(comment from inherited method)
dependent is notified of some change -
Default is to try update:with:

o  updateHtmlTextFromEditor

initialization & release
o  closeRequest
This is a hook method generated by the Browser/CodeGeneratorTool.
It will be invoked when your app/dialog-window is about to be
closed (this method has a chance to suppress the close).
See also #closeDownViews, which is invoked when the close is really done.

usage example(s):

The 'super closeRequest' at the end will initiate the real closeDown

o  postBuildHTMLView: aView

menu actions
o  doEditHtml: aBoolean
add an editor pane, to allow immediate editing

o  doSaveAs
This method was generated by the Browser/CodeGeneratorTool.
It will be invoked when the menu-item 'save/saveAs' is selected.

o  menuFileBrowserOnPageSource

o  menuGoBack

o  menuGotoStartPage

o  menuOpenSettings

o  menuPrint

o  menuReload

o  menuShowPageSource

o  openDocumentation
This method was generated by the Browser/CodeGeneratorTool.
It will be invoked when the menu-item 'help-documentation' is selected.

usage example(s):

self openDocumentationFile:'help//TOP.html'.

private queries
o  hasUnsavedChanges
Return true, if any unsaved changes are present
(i.e. the contents needs to be saved or else will be lost)


Examples:


Starting the application:
  HTMLDocumentViewerApplication open

more examples to be added:
  ... add code fragment for 
  ... executable example here ...


ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Tue, 19 Mar 2024 05:02:42 GMT