|
Class: TextEditorSpec
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
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.
copyrightCOPYRIGHT (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.
image specs
-
icon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
ImageEditor openOnClass:self andSelector:#icon
|
interface specs
-
basicsEditSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
Usage example(s):
UIPainter new openOnClass:TextEditorSpec andSelector:#basicsEditSpec
|
-
channelsEditSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
Usage example(s):
UIPainter new openOnClass:TextEditorSpec andSelector:#channelsEditSpec
|
-
detailsEditSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
Usage example(s):
UIPainter new openOnClass:TextEditorSpec andSelector:#detailsEditSpec
|
interface-painter
-
addBindingsTo: env for: anInstance channel: aChannel
-
add bindings as required to allow the GUI Painter to operate on an instance of me
-
slices
-
return the slices for the attribute sections in the GUI Painter
queries
-
supportsDrag
-
-
supportsDrop
-
-
supportsSubComponents
-
answer whether instances of the spec class support sub components
-
viewClass
-
only needed for completeness;
UIPainter needs it to generate a replace-by list
accessing
-
acceptCallBack
-
return the value of the instance variable 'acceptCallBack' (automatically generated)
-
acceptCallBack: aspectName
-
set the value of the instance variable 'acceptCallBack' (automatically generated)
-
allowDoIt
-
return the value of the instance variable 'allowDoIt' (automatically generated)
-
allowDoIt: aBoolean
-
-
callbacksSpec
-
return the value of the instance variable 'callbacksSpec' (automatically generated)
-
callbacksSpec: something
-
set the value of the instance variable 'callbacksSpec' (automatically generated)
-
hasHorizontalScrollBar
-
return the value of the instance variable 'hasHorizontalScrollBar' (automatically generated)
-
hasHorizontalScrollBar: aBoolean
-
set the value of the instance variable 'hasHorizontalScrollBar' (automatically generated)
-
hasKeyboardFocusInitially
-
(comment from inherited method)
this is true, if will catch the focus initially (there should only be one...)
-
hasKeyboardFocusInitially: aBoolean
-
-
hasVerticalScrollBar
-
return the value of the instance variable 'hasVerticalScrollBar' (automatically generated)
-
hasVerticalScrollBar: aBoolean
-
set the value of the instance variable 'hasVerticalScrollBar' (automatically generated)
-
isReadOnly
-
return true, if the text is readonly.
-
isReadOnly: aBoolean
-
set the value of the instance variable 'isReadOnly' (automatically generated)
-
miniScrollerHorizontal
-
return the value of the instance variable 'miniScrollerHorizontal' (automatically generated)
-
miniScrollerHorizontal: aBoolean
-
set the value of the instance variable 'miniScrollerHorizontal' (automatically generated)
-
miniScrollerVertical
-
return the value of the instance variable 'miniScrollerVertical' (automatically generated)
-
miniScrollerVertical: aBoolean
-
set the value of the instance variable 'miniScrollerVertical' (automatically generated)
-
showingCode
-
-
showingCode: aBoolean
-
-
tabRequiresControl
-
-
tabRequiresControl: aBoolean
-
accessing-channels
-
acceptChannel
-
return the value of the instance variable 'acceptChannel' (automatically generated)
-
acceptChannel: aspectName
-
set the value of the instance variable 'acceptChannel' (automatically generated)
-
modifiedChannel
-
return the value of the instance variable 'modifiedChannel' (automatically generated)
-
modifiedChannel: aspectName
-
set the value of the instance variable 'modifiedChannel' (automatically generated)
-
x_acceptChannel
-
return the value of the instance variable 'acceptChannel' (automatically generated)
-
x_acceptChannel: something
-
set the value of the instance variable 'acceptChannel' (automatically generated)
-
x_modifiedChannel
-
return the value of the instance variable 'modifiedChannel' (automatically generated)
-
x_modifiedChannel: something
-
set the value of the instance variable 'modifiedChannel' (automatically generated)
building
-
createViewFor: aBuilder in: aView
-
low level create - no attributes are set.
-
defineCallBacksFor: aBuilder view: aView
-
transform ST-80 Style callBackSpec
-
nameShownWhileEditingFor: aView
-
-
setAttributesIn: aView with: aBuilder
-
set my attributes to aView
-
setChannelsIn: aView with: aBuilder
-
set channels in aView
-
setKeyboardFocusAttributesIn: aView with: aBuilder
-
(comment from inherited method)
helper - common code for InputField and TextEditor
-
setModelAttributeIn: aView with: aBuilder
-
set my model attributes to aView (or its model)
converting
-
fromLiteralArrayEncoding: aSpecArray
-
read my attributes from aSpecArray
-
skippedInLiteralEncoding
-
define the inst-slots which are skipped when generating a literalArrayEncoding;
(to skip the ones with default values.)
queries
-
viewClass
-
return the corresponding view class of the spec
queries-UIDefiner
-
actionSelectors
-
returns the list of action selectors
-
aspectSelectors
-
add more aspect selectors (these generate aspect methods in the definer)
-
defaultModelClassFor: someAspect
-
used by the UIPainters aspectGenerator
-
defaultModelValueFor: someAspect
-
used by the UIDefiner - return the aspect's default value
visiting
-
acceptUISpecVisitor: aVisitor
-
Double dispatch back to the visitor, passing my type encoded in
the selector (visitor pattern)
|