eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ActiveHelpView':

Home

everywhere
www.exept.de
for:
[back]

Class: ActiveHelpView


Inheritance:

   Object
   |
   +--GraphicsContext
      |
      +--DeviceGraphicsContext
         |
         +--GraphicsMedium
            |
            +--DisplaySurface
               |
               +--SimpleView
                  |
                  +--View
                     |
                     +--ActiveHelpView

Package:
stx:libview2
Category:
Interface-Help
Version:
rev: 1.32 date: 2009/11/17 13:30:13
user: cg
file: ActiveHelpView.st directory: libview2
module: stx stc-classLibrary: libview2
Author:
Claus Gittinger

Description:


a bubbleHelp view.

Instances of myself show up either as a comics-like talking
view, or as a simple square popup. This is configured via the
styleSheet; the default is simple-square. 
To get the fancy comics style, add a resource 'activeHelpStyle' with 
a symbol-value of #cartoon.
However, be aware that some servers have performance problems with
these view-shapes (or do not support shapes at all).
Therefore, the default style is a rectangular popupView.


Related information:

    ActiveHelp

Class protocol:

instance creation
o  for: someText
create a bubble-view for some text

o  for: someText onDevice: aDevice
create a bubble-view for some text

o  with: aView
create a talking-view wrapping some other view


Instance protocol:

accessing
o  contents: someText
set the text

o  shapeStyle: aStyleSymbol
set the shapeStyle
currently, only nil, #cartoon or #cartoon2 are supported

o  withView: aView
set the component view

initialization
o  initStyle
setup viewStyle specifics

o  realize

private
o  computeShape
compute the shape, based upon the size of my component view

o  resizeToFit
resize myself to make the component view fit

queries
o  isPopUpView
return true - I am a popUp type of view (no decoration, pop-to-top)



ST/X 6.1.1; WebServer 1.620 at exept:8081; Thu, 17 May 2012 15:51:16 GMT