# HG changeset patch # User Claus Gittinger # Date 878172866 -3600 # Node ID 5a78ebab56ffb1e1418c3fe04724dd331f37ab94 # Parent 68b0e0a329a4ed63b831b757c8352457014276cd more helpTexts diff -r 68b0e0a329a4 -r 5a78ebab56ff UISpecificationTool.st --- a/UISpecificationTool.st Thu Oct 30 00:12:57 1997 +0100 +++ b/UISpecificationTool.st Thu Oct 30 01:54:26 1997 +0100 @@ -65,15 +65,42 @@ ^ super helpSpec addPairsFrom:#( +#acceptImmediate +'input will we sent to the model immediately (every key)' + +#acceptOnLeave +'input will we sent to the model when the field is left via cursor keys' + +#acceptOnReturn +'input will we sent to the model when the return key is pressed' + +#acceptOnTab +'input will we sent to the model when the tab key is pressed' + +#acceptOnLostFocus +'input will we sent to the model when the mouse leaves the field, or its tabbed' + +#readOnly +'the field is readOnly - its contents cannot be modified by the user (however, the program can)' + +#resizeForLabel +'if on, the widget is allowed to resize itself to fit the labelString - if off, the size is frozen.' + #action 'action selector sent to the application when the button is activated. (either on-press or on-release; this depends on the setting of triggerOnDown flag). The selector may be for a one-arg message; in this case, the argument is passed (a string).' +#actionArg +'action argument passed to action method, if action selector is a one-arg selector (i.e. ends with '':''). The arg is passed as a string.' + #arbitraryView 'the class of the arbitrary component or an aspect selector which provides a widget class.' #autoRepeat 'repeat the action as long as the button is pressed; to have this behavior the ''isTriggerOnDown'' state must be enabled.' +#backgroundChannel +'a holder, which provides the widgets backgroundColor. Useful if the labels bg color is to be changed dynamically (alerts).' + #backgroundColor 'set the background color if the color-checkBox is turned on. Otherwise, the widget uses its default background color (which is specified in the styleSheet).' @@ -81,7 +108,7 @@ 'show/dont show a return-key image after the label' #booleanHolder -'a boolean holder which keeps the state' +'aspect of a boolean holder which keeps the state' #borderWidth 'width of the border' @@ -108,7 +135,7 @@ 'double click action which is evaluated on double click in case of a non-nil selection. If the selector ends with '':'' the method is invoked with the current selection as argument.' #enableChannel -'enable the view - selection changes are allowed. This field specifies the name of the aspect (-method or binding) in your application, which is supposed to return a valueHolder on to the boolean enable-flag.' +'enableHolder for the view. This field specifies the name of the aspect (-method or binding) in your application, which is supposed to return a valueHolder on to the boolean enable-flag. This is convenient, if many widgets are to be enabled/disabled depending on the setting of a single flag, because the application can change them all with a single setting of the enableHolders value.' #fileSelectionTreeRoot 'a holder, which keeps the pathname of the root directory (first entry in the list).' @@ -116,9 +143,21 @@ #fontMenu 'set the font for the widget if the font-checkBox is turned on. Otherwise, the widget uses its default font (which is specified in the viewStyle).' +#forceRecursiveBackground +'also change all subcomponents viewBackground (recursively).' + #foregroundColor 'set the foreground color if the color-checkBox is turned on. Otherwise, the widget uses its default foreground color (which is specified in the styleSheet).' +#lampColor +'set the lamp color if the color-checkBox is turned on. Otherwise, the widget uses its default lamp color (which is specified in the styleSheet).' + +#arrowButtonDirection +'the direction of the arrow.' + +#foregroundChannel +'a holder, which provides the widgets foregroundColor. Useful if the labels fg color is to be changed dynamically (alerts).' + #galleryLabels 'a list of tab labels' @@ -131,6 +170,12 @@ #gallerySelectors 'the list of selectors specify which interface specification should be used dependent on the tab pressed. Each selector must return an interfaceSpec. On default the #windowSpec method is used' +#hasBorder +'currently ignored - kept to avoid loosing information of imported VW window specs' + +#showLamp +'enable/disable display of the toggles lamp.' + #hierarchicalList 'gets a hierarchical list or a holder which keeps a hierarchical list entry; the value must understand the TreeItem protocol.' @@ -149,6 +194,15 @@ #id 'the symbolic name of the component. This ID can be used by the application to access components, using #componentAt:' +#initiallyInvisible +'if on, the widget is initially invisible (to be made visible programatically with "(self componentAt:) beVisible")).' + +#initiallyDisabled +'if on, the widget is initially disabled (to be enabled programatically with "(self componentAt:) enable").' + +#inputFieldGroup +'symbolic ID of the input group - fields within a group can be reached via cursor up/down.' + #isMultiSelect 'enable/disable multiple selections.' @@ -158,6 +212,12 @@ #label 'the label of the widget. If ''label is image'' is off, this is the label string. Otherwise, it specifies the applications selector, which returns the label - either a string or a bitmap image.' +#labelChannel +'a holder, which provides the widgets label. Useful if the label is to be changed dynamically.' + +#labelIsImage +'if ''label is image'' is off (the default), the widgets label is the string as entered in the label aspect. Otherwise, its the name of the message sent to the application - this should return a string or bitmap image, which is used as logo in the widget.' + #level 'the 3D-level relative to its superView. If left blank, the components default is used.' @@ -210,7 +270,7 @@ 'draw only one tab per line' #selectionHolder -'the one which keeps the selection.' +'the aspect of the valueHolder which holds the selection or input value.' #setMaxExtent 'set the maximum size from the topViews current size.' @@ -233,6 +293,9 @@ #sizeAsDefault 'let the widget compute its size to include space for the default (return) image. Useful for buttons which are not default buttons initially, but may become a default button dynamically.' +#tabable +'if on, the widget can be reached by tabbing.' + #tabLabels 'a list or list holder which provides the labels assigned to the tabs.' @@ -240,7 +303,10 @@ 'where to place the tabs' #tabWidget -'select the tab style' +'select the tab style (windows- or mac look)' + +#translateLabel +'if on, the labelString is translated via the resource mechanism to a national language string (if a translation for that string is present in the resource file of the application).' #typeConverter 'convert the fields string value to some other object. Needed if the aspectValue is not a string (typically numbers).' @@ -248,6 +314,15 @@ #useIndex 'set/clear the useIndex flag. If set, the index of the selection is stored into the model; otherwise the selected string.' +#usePreferredExtent +'Take the top components preferredExtent as extent of the topView. Only possible if there is exactly one top component (typically: a panel).' + +#radioButtonGroup +'the aspect of the valueHolder which holds the selection of a radioButtonGroup. When clicked, each button writes its value into that aspect; vice versa, if the groupValue is changed to the value of one of the buttons, that button turns itself on.' + +#radioButtonValue +'the value associated with that radioButton. When clicked, this will be stored into the group-model. If left empty, buttons are numbered sequentially, starting with 1.' + #valueChangeSelector 'name of a method in the application which is invoked whenever the selection changed. If the selector ends with '':'' the method is invoked with the current selection.' @@ -271,7 +346,7 @@ ) - "Modified: / 27.10.1997 / 22:30:27 / cg" + "Modified: / 30.10.1997 / 01:18:16 / cg" ! ! !UISpecificationTool class methodsFor:'interface specs'!