eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'DidYouKnowTipViewer':

Home

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

Class: DidYouKnowTipViewer


Inheritance:

   Object
   |
   +--Model
      |
      +--ApplicationModel
         |
         +--DidYouKnowTipViewer

Package:
stx:libhtml
Category:
System-Documentation
Version:
rev: 1.33 date: 2018/07/28 08:07:17
user: cg
file: DidYouKnowTipViewer.st directory: libhtml
module: stx stc-classLibrary: libhtml
Author:
cg (cg@AQUA-DUO)

Description:


shows 'did you know' tips.
The tips are found in a folder as individual html documents,
which are chosen randomly.


[instance variables:]

[class variables:]


Related information:



Class protocol:

image specs
o  stxIcon
stxIcon

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

usage example(s):

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

o  windowSpecToAddTip
This resource specification was automatically generated
by the UIPainter of ST/X.

usage example(s):

     UIPainter new openOnClass:DidYouKnowTipViewer andSelector:#windowSpecToAddTip
     DidYouKnowTipViewer new openInterface:#windowSpecToAddTip

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

usage example(s):

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


Instance protocol:

aspects
o  allTipsShownHolder

o  currentTipTextHolder

o  currentTipURLHolder

o  htmlTextForNewTip

o  iconHolder

o  infoHolder

o  nextTipEnabledHolder

o  publishTipToExeptHolder

o  showEnglishTips

o  showTipOfTheDayAtStartupHolder

o  textAcceptChannel

o  tipTitleHolder

initialization
o  defaultIcon

o  initialize

o  postBuildWith: aBuilder

menu actions
o  checkTipsDirectory

o  chooseTip

o  clearHistory

o  doAddTip
send an email to stx-support@exept.de

o  openAddTipWindow

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

o  openEditorOnCurrentTip

menu-dynamic
o  historyMenu

private
o  addToTipHistory: aTipName

o  chooseRandomTip
self new chooseRandomTip

o  isInTipHistory: aTip

o  noMoreTipsInfoText

o  noTipsInfoText

o  showNextTip
self new showNextTip

o  showNoMoreTipsInfo

o  showNoTipsInfo

o  showText: tipText

o  showTipFile: tipFilename
tipText := tipFilename contentsOfEntireFile.

o  showTipFromHistory: tipName

o  tipsDirectory


Examples:


Starting the application:
  DidYouKnowTipViewer open



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Thu, 28 Mar 2024 20:55:19 GMT