|
Class: HTMLDocumentViewerApplication
Object
|
+--Model
|
+--ApplicationModel
|
+--HTMLDocumentViewerApplication
- Package:
- stx:libhtml
- Category:
- System-Documentation
- Version:
- rev:
1.37
date: 2022/12/06 14:22:44
- user: cg
- file: HTMLDocumentViewerApplication.st directory: libhtml
- module: stx stc-classLibrary: libhtml
documentation to be added.
[instance variables:]
[class variables:]
copyrightCOPYRIGHT (c) 2014 by Claus Gittinger
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
interface specs
-
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
-
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
|
-
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
|
-
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
|
-
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
|
-
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
|
-
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
|
-
viewMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
startup-basic
-
openFullOnFile: aFilenameOrString anchor: localAnchor text: htmlText top: topDirectory extent: extent title: title buttonSpec: buttonSpec uriDisplay: showUri infoDisplay: showInfo
-
accessing
-
anchor: localAnchor
-
-
file: aFilenameOrStringOrURL
-
htmlView homeText:htmlText.
-
nameSpaceForExecution: aNameSpace
-
-
positionOnAnchor: localAnchor
-
-
showInfoDisplay: showInfo
-
self halt.
-
showUriDisplay: showUri
-
-
text: htmlText
-
-
topDirectory: topDirectory
-
aspects
-
editTextHolder
-
-
htmlTextHolder
-
-
infoLabelHolder
-
-
isEditingHolder
-
-
menuBackEnabledHolder
-
-
uriFieldVisibleHolder
-
-
uriHolder
-
-
uriInputHolder
-
change & update
-
scrollHtmlViewFromEditTextView
-
find the last element before that sourceposition
-
update: something with: aParameter from: changedObject
-
(comment from inherited method)
dependent is notified of some change -
Default is to try update:with:
-
updateHtmlTextFromEditor
-
initialization & release
-
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
|
-
initialize
-
(comment from inherited method)
nothing done here;
but can be redefined in concrete applications
-
postBuildHTMLView: aView
-
menu actions
-
doEditHtml: aBoolean
-
add an editor pane, to allow immediate editing
-
doSaveAs
-
This method was generated by the Browser/CodeGeneratorTool.
It will be invoked when the menu-item 'save/saveAs' is selected.
-
menuFileBrowserOnPageSource
-
-
menuGoBack
-
-
menuGotoStartPage
-
-
menuOpenSettings
-
-
menuOpenWebBrowserOnPage
-
-
menuPrint
-
-
menuReload
-
-
menuShowPageSource
-
-
openDocumentation
-
to open an HTML viewer on some document (under 'doc/online/<language>/' ):
Usage example(s):
self openDocumentationFile:'help//TOP.html'.
|
private queries
-
hasUnsavedChanges
-
Return true, if any unsaved changes are present
(i.e. the contents needs to be saved or else will be lost)
Starting the application:
HTMLDocumentViewerApplication open
|
more examples to be added:
... add code fragment for
... executable example here ...
|
|