|
Class: TextEditorSpec
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
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.
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
-
-
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
-
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 aspects default value
visiting
-
acceptUISpecVisitor: aVisitor
-
Double dispatch back to the visitor, passing my type encoded in
the selector (visitor pattern)
|