eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'TextEditorSpec':

Home

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

Class: TextEditorSpec


Inheritance:

   Object
   |
   +--UISpecification
      |
      +--ComponentSpec
         |
         +--NamedSpec
            |
            +--MenuComponentSpec
               |
               +--ViewWithScrollerSpec
                  |
                  +--TextEditorSpec
                     |
                     +--TextCollectorSpec
                     |
                     +--WorkspaceSpec

Package:
stx:libui
Category:
Interface-Support-UI-Specs
Version:
rev: 1.123 date: 2023/04/03 11:52:34
user: stefan
file: TextEditorSpec.st directory: libui
module: stx stc-classLibrary: libui

Description:


Not normally used by applications.

Notice: 
    this class was implemented using protocol information
    from alpha testers, literature and by reading public domain code
    - it may be incomplete or oncompatible to the corresponding ST-80 class. 
    If you encounter any incompatibilities, please forward a note 
    describing the incompatibility verbal (i.e. no code) to the ST/X team.

copyright

COPYRIGHT (c) 1996 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.

Class protocol:

image specs
o  icon
This resource specification was automatically generated
by the ImageEditor of ST/X.

Usage example(s):

     ImageEditor openOnClass:self andSelector:#icon

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

Usage example(s):

     UIPainter new openOnClass:TextEditorSpec andSelector:#basicsEditSpec

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

Usage example(s):

     UIPainter new openOnClass:TextEditorSpec andSelector:#channelsEditSpec

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

Usage example(s):

     UIPainter new openOnClass:TextEditorSpec andSelector:#detailsEditSpec

interface-painter
o  addBindingsTo: env for: anInstance channel: aChannel
add bindings as required to allow the GUI Painter to operate on an instance of me

o  slices
return the slices for the attribute sections in the GUI Painter

queries
o  supportsDrag

o  supportsDrop

o  supportsSubComponents
answer whether instances of the spec class support sub components

o  viewClass
only needed for completeness;
UIPainter needs it to generate a replace-by list


Instance protocol:

accessing
o  acceptCallBack
return the value of the instance variable 'acceptCallBack' (automatically generated)

o  acceptCallBack: aspectName
set the value of the instance variable 'acceptCallBack' (automatically generated)

o  allowDoIt
return the value of the instance variable 'allowDoIt' (automatically generated)

o  allowDoIt: aBoolean

o  callbacksSpec
return the value of the instance variable 'callbacksSpec' (automatically generated)

o  callbacksSpec: something
set the value of the instance variable 'callbacksSpec' (automatically generated)

o  hasHorizontalScrollBar
return the value of the instance variable 'hasHorizontalScrollBar' (automatically generated)

o  hasHorizontalScrollBar: aBoolean
set the value of the instance variable 'hasHorizontalScrollBar' (automatically generated)

o  hasKeyboardFocusInitially
(comment from inherited method)
this is true, if will catch the focus initially (there should only be one...)

o  hasKeyboardFocusInitially: aBoolean

o  hasVerticalScrollBar
return the value of the instance variable 'hasVerticalScrollBar' (automatically generated)

o  hasVerticalScrollBar: aBoolean
set the value of the instance variable 'hasVerticalScrollBar' (automatically generated)

o  isReadOnly
return true, if the text is readonly.

o  isReadOnly: aBoolean
set the value of the instance variable 'isReadOnly' (automatically generated)

o  miniScrollerHorizontal
return the value of the instance variable 'miniScrollerHorizontal' (automatically generated)

o  miniScrollerHorizontal: aBoolean
set the value of the instance variable 'miniScrollerHorizontal' (automatically generated)

o  miniScrollerVertical
return the value of the instance variable 'miniScrollerVertical' (automatically generated)

o  miniScrollerVertical: aBoolean
set the value of the instance variable 'miniScrollerVertical' (automatically generated)

o  showingCode

o  showingCode: aBoolean

o  tabRequiresControl

o  tabRequiresControl: aBoolean

accessing-channels
o  acceptChannel
return the value of the instance variable 'acceptChannel' (automatically generated)

o  acceptChannel: aspectName
set the value of the instance variable 'acceptChannel' (automatically generated)

o  modifiedChannel
return the value of the instance variable 'modifiedChannel' (automatically generated)

o  modifiedChannel: aspectName
set the value of the instance variable 'modifiedChannel' (automatically generated)

o  x_acceptChannel
return the value of the instance variable 'acceptChannel' (automatically generated)

o  x_acceptChannel: something
set the value of the instance variable 'acceptChannel' (automatically generated)

o  x_modifiedChannel
return the value of the instance variable 'modifiedChannel' (automatically generated)

o  x_modifiedChannel: something
set the value of the instance variable 'modifiedChannel' (automatically generated)

building
o  createViewFor: aBuilder in: aView
low level create - no attributes are set.

o  defineCallBacksFor: aBuilder view: aView
transform ST-80 Style callBackSpec

o  nameShownWhileEditingFor: aView

o  setAttributesIn: aView with: aBuilder
set my attributes to aView

o  setChannelsIn: aView with: aBuilder
set channels in aView

o  setKeyboardFocusAttributesIn: aView with: aBuilder
(comment from inherited method)
helper - common code for InputField and TextEditor

o  setModelAttributeIn: aView with: aBuilder
set my model attributes to aView (or its model)

converting
o  fromLiteralArrayEncoding: aSpecArray
read my attributes from aSpecArray

o  skippedInLiteralEncoding
define the inst-slots which are skipped when generating a literalArrayEncoding;
(to skip the ones with default values.)

queries
o  viewClass
return the corresponding view class of the spec

queries-UIDefiner
o  actionSelectors
returns the list of action selectors

o  aspectSelectors
add more aspect selectors (these generate aspect methods in the definer)

o  defaultModelClassFor: someAspect
used by the UIPainters aspectGenerator

o  defaultModelValueFor: someAspect
used by the UIDefiner - return the aspect's default value

visiting
o  acceptUISpecVisitor: aVisitor
Double dispatch back to the visitor, passing my type encoded in
the selector (visitor pattern)



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sun, 24 Nov 2024 10:22:28 GMT