eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ThreeColumnTextView':

Home

everywhere
www.exept.de
for:
[back]

Class: ThreeColumnTextView


Inheritance:

   Object
   |
   +--GraphicsContext
      |
      +--DeviceGraphicsContext
         |
         +--GraphicsMedium
            |
            +--DisplaySurface
               |
               +--SimpleView
                  |
                  +--SyncedMultiColumnTextView
                     |
                     +--ThreeColumnTextView
                        |
                        +--Diff3TextView

Package:
stx:libwidg2
Category:
Views-Text
Version:
rev: ? date: ? ?
user: ?
file: ? directory: libwidg2
module: stx stc-classLibrary: libwidg2

Description:


a view showing two texts side-by-side.
Scrolling is synced, by always scrolling both views.
This type of view is especially useful to show diff-lists,
code-versions, or other one-by-one viewable texts.

Usually, it does not make much sense, to put totally different
or unrelated texts into this kind of view.

See subclass DiffTextView for a real class;
see ChangesBrowsers compare operation for a real application
of this kind of views.


Examples:


ThreeColumnTextViews are currently not directly used by the system. However, it is used as an abstract superclass for Diff3TextView. See more examples there. (you may find nice uses for it anyway ...) ThreeColumnTextView openOn:('smalltalk.rc' asFilename contents) and:('display.rc' asFilename contents) and:('host.rc' asFilename contents) ThreeColumnTextView openOn:('smalltalk.rc' asFilename contents) label:'smalltalk.rc' and:('display.rc' asFilename contents) label:'display.rc' and:('host.rc' asFilename contents) label:'host.rc'

ST/X 6.1.1; WebServer 1.620 at exept:8081; Wed, 23 May 2012 21:35:08 GMT