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.114 date: 2019/05/02 13:55:30
user: cg
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 read public domain code
    - it may not be complete or compatible 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.


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

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  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 aspects default value

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



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 19 Apr 2024 09:50:46 GMT