|
Class: InputFieldSpec
Object
|
+--UISpecification
|
+--ComponentSpec
|
+--NamedSpec
|
+--MenuComponentSpec
|
+--InputFieldSpec
|
+--ComboBoxSpec
|
+--EditFieldWithCompletionSpec
|
+--FilenameInputFieldSpec
- Package:
- stx:libui
- Category:
- Interface-Support-UI-Specs
- Version:
- rev:
1.204
date: 2023/06/16 13:40:23
- user: cg
- file: InputFieldSpec.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) 1995 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:InputFieldSpec andSelector:#basicsEditSpec
|
-
channelsAndModifiedEditSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
Usage example(s):
UIPainter new openOnClass:InputFieldSpec andSelector:#channelsAndModifiedEditSpec
|
-
detailsAcceptSubSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
Usage example(s):
UIPainter new openOnClass:InputFieldSpec andSelector:#detailsAcceptSubSpec
|
-
detailsEditSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
Usage example(s):
UIPainter new openOnClass:InputFieldSpec andSelector:#detailsEditSpec
|
-
subSpecForEntryCompletionBlockHolder
-
This resource specification was automatically generated
by the UIPainter of ST/X.
Usage example(s):
UIPainter new openOnClass:InputFieldSpec andSelector:#subSpecForEntryCompletionBlockHolder
|
interface-painter
-
addBindingsTo: env for: inst channel: aChannel
-
add bindings as required to allow the GUI Painter to operate on an instance of me
-
commonReplacementClasses
-
used by the UIPainter's 'replace-by' function
-
slices
-
return the slices for the attribute sections in the GUI Painter
accessing
-
acceptIfUnchanged
-
-
acceptIfUnchanged: aBoolean
-
-
acceptOnLeave
-
-
acceptOnLeave: aBoolean
-
-
acceptOnLostFocus
-
make the default true; seems to be a good default.
-
acceptOnLostFocus: aBoolean
-
Modified (format): / 24-11-2017 / 00:24:06 / cg
-
acceptOnPointerLeave
-
-
acceptOnPointerLeave: aBoolean
-
-
acceptOnReturn
-
-
acceptOnReturn: aBoolean
-
-
acceptOnTab
-
-
acceptOnTab: aBoolean
-
-
alignment
-
-
alignment: aSymbolOrNil
-
-
autoSelectInitialText
-
-
autoSelectInitialText: aBoolean
-
-
callbacksSpec
-
-
callbacksSpec: something
-
-
converter
-
-
converter: aspectSelector
-
Modified (format): / 16-06-2023 / 09:28:44 / cg
-
emptyFieldReplacementText
-
-
emptyFieldReplacementText: aStringOrNil
-
-
entryCompletionBlock
-
-
entryCompletionBlock: something
-
-
formatString
-
-
formatString: something
-
-
group
-
-
group: something
-
-
hasBorder
-
-
hasBorder: aBoolean
-
-
hasKeyboardFocusInitially
-
(comment from inherited method)
this is true, if will catch the focus initially (there should only be one...)
-
hasKeyboardFocusInitially: aBoolean
-
-
immediateAccept
-
true
-
immediateAccept: aBoolean
-
-
isReadOnly
-
return true, if the text is readonly.
-
isReadOnly: aBoolean
-
-
maxValue
-
-
maxValue: aNumberOrNil
-
-
minValue
-
return the value of the instance variable 'minValue' (automatically generated)
-
minValue: aNumberOrNil
-
-
numChars
-
-
numChars: anIntegerOrNil
-
-
translateEmptyFieldReplacementText
-
-
translateEmptyFieldReplacementText: aBoolean
-
-
type
-
-
type: something
-
-
valueChangeCallBackSelector
-
-
valueChangeCallBackSelector: aSymbolOrNil
-
accessing-channels
-
acceptChannel
-
-
acceptChannel: something
-
-
modifiedChannel
-
-
modifiedChannel: aSymbolOrNil
-
-
x_acceptChannel
-
return the value of the instance variable 'acceptChannel'.
This MUST not be named acceptChannel, as there is such channel when a spec is edited
-
x_acceptChannel: something
-
set the value of the instance variable 'acceptChannel'
This MUST not be named acceptChannel, as there is such channel when a spec is edited
-
x_modifiedChannel
-
return the value of the instance variable 'modifiedChannel'
This MUST not be named modifiedChannel, as there is such channel when a spec is edited
-
x_modifiedChannel: something
-
set the value of the instance variable 'modifiedChannel'
This MUST not be named modifiedChannel, as there is such channel when a spec is edited
accessing-color & font
-
backgroundColor
-
-
backgroundColor: something
-
-
foregroundColor
-
-
foregroundColor: something
-
building
-
defineCallBacksFor: aBuilder view: aView
-
transform ST-80 Style callBackSpec
-
getMaxValue: aBuilder
-
maxValue: either a valueHolder or a constant value
-
getMinValue: aBuilder
-
minValue: either a valueHolder or a constant value
-
modelInBuilder: aBuilder
-
redefined to get a model with optional typeconverter
-
nameShownWhileEditingFor: aView
-
-
setAcceptAttributesIn: aView with: aBuilder
-
for editfields and friends
-
setAttributesIn: aView with: aBuilder
-
set my attributes to aView
-
setChannelsIn: anEditField with: aBuilder
-
set my model attributes to anEditField (or its model)
-
setKeyboardFocusAttributesIn: aView with: aBuilder
-
(comment from inherited method)
helper - common code for InputField and TextEditor
-
setModelAttributeIn: anEditField with: aBuilder
-
set my model attributes to anEditField (or its model)
-
typeConverterOn: aModel builder: aBuilder
-
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.)
parsing a view
-
fromView: aView callBack: aBlock
-
extract attributes from aView
queries
-
hasMinMax
-
-
userFriendlyName
-
answer a good noticeable name of the widget for the GUI Painter and the documentation
-
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
visiting
-
acceptUISpecVisitor: aVisitor
-
Double dispatch back to the visitor, passing my type encoded in
the selector (visitor pattern)
|