UISpecificationTool.st
changeset 307 fe559a9136d9
parent 303 798e309561f1
child 346 38ea269664f8
equal deleted inserted replaced
306:e5e33576c3ad 307:fe559a9136d9
    81 'gets a list or list holder'
    81 'gets a list or list holder'
    82 
    82 
    83 #document
    83 #document
    84 'a holder which keeps the document name to be shown.'
    84 'a holder which keeps the document name to be shown.'
    85 
    85 
       
    86 #hierarchicalList
       
    87 'gets a hierarchical list or a holder which keeps a hierarchical list entry; the value must be a member of class TreeItem.'
       
    88 
    86 #maxChars
    89 #maxChars
    87 'set the maximum number of characters that are allowed in the editfield.'
    90 'set the maximum number of characters that are allowed in the editfield.'
    88 
    91 
    89 #action
    92 #action
    90 'action evaluated when the button is pressed or released which depends on the setting of triggerOnDown flag, either set the press-action and clear any release-action or vice versa, set the release-action and clear the press-action.'
    93 'action evaluated when the button is pressed or released which depends on the setting of triggerOnDown flag, either set the press-action and clear any release-action or vice versa, set the release-action and clear the press-action.'
    93 'after open the application specified by the clientKey, this selector if not nil will be evaluated,'
    96 'after open the application specified by the clientKey, this selector if not nil will be evaluated,'
    94 
    97 
    95 #enableChannel
    98 #enableChannel
    96 'enable the view - selection changes are allowed'
    99 'enable the view - selection changes are allowed'
    97 
   100 
       
   101 #middleButtonPressed
       
   102 'called if the middle button is pressed; you can open a menu'
       
   103 
       
   104 #showDirectoyIndication
       
   105 'show or hide the open/closed indicator on nodes which contains children'
       
   106 
       
   107 #oneTabPerLine
       
   108 'draw only one tab per line'
       
   109 
       
   110 #defaultLabel
       
   111 'set the default label which will be set if nothing selected.'
       
   112 
       
   113 #hierarchicalListButton
       
   114 'opens the hierarchical list editor, which generates and installs a hierarchical list.'
       
   115 
       
   116 #arbitraryView
       
   117 'the widget class shown represented by the arbitrary component or a selector which returns a widget class.'
       
   118 
       
   119 #id
       
   120 'enter the name of the field here. This ID can be used by the application to access components, using #componentAt:<key>'
       
   121 
       
   122 #sizeAsDefault
       
   123 'the size of the widget depends on its label. In case of a fixed Layout nothing will change.'
       
   124 
       
   125 #selectionHolder
       
   126 'the one which keeps the selection.'
       
   127 
    98 #canvas
   128 #canvas
    99 'gets a widget placed into the notebook'
   129 'gets a widget placed into the notebook'
   100 
   130 
   101 #oneTabPerLine
       
   102 'draw only one tab per line'
       
   103 
       
   104 #middleButtonPressed
       
   105 'called if the middle button is pressed; you can open a menu'
       
   106 
       
   107 #defaultLabel
       
   108 'set the default label which will be set if nothing selected.'
       
   109 
       
   110 #id
       
   111 'enter the name of the field here. This ID can be used by the application to access components, using #componentAt:<key>'
       
   112 
       
   113 #showDirectoyIndication
       
   114 'show or hide the open/closed indicator on nodes which contains children'
       
   115 
       
   116 #sizeAsDefault
       
   117 'the size of the widget depends on its label. In case of a fixed Layout nothing will change.'
       
   118 
       
   119 #arbitraryView
       
   120 'the widget class shown represented by the arbitrary component or a selector which returns a widget class.'
       
   121 
       
   122 #selectionHolder
       
   123 'the one which keeps the selection and in case of a ''SelectionInList'' model the list.'
       
   124 
       
   125 #level
   131 #level
   126 'set the level relative to its superView'
   132 'set the level relative to its superView'
   127 
   133 
   128 #majorKey
   134 #majorKey
   129 'name of the class which provides the window specification or in case of nil the application itself is used'
   135 'name of the class which provides the window specification or in case of nil the application itself is used'
   130 
   136 
   131 #isMultiSelect
   137 #isMultiSelect
   132 'enable/disable multiple selections.'
   138 'enable/disable multiple selections.'
   133 
   139 
       
   140 #gallerySelection
       
   141 'a holder, which keeps the specification of the current selected widget or nil.'
       
   142 
   134 #gallerySelectors
   143 #gallerySelectors
   135 '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'
   144 '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'
   136 
   145 
   137 #gallerySelection
   146 #beDefault
   138 'a holder, which keeps the specification of the current selected widget or nil.'
   147 'show/dont show a return-key image after the label'
   139 
   148 
   140 #canvasArgument
   149 #canvasArgument
   141 'the argument to the selector or none'
   150 'the argument to the selector or none'
   142 
   151 
   143 #beDefault
   152 #backgroundColor
   144 'show/dont show a return-key image after the label'
   153 'set the background color'
   145 
   154 
   146 #typeConverter
   155 #typeConverter
   147 'convert the fields string value to some object'
   156 'convert the fields string value to some object'
   148 
   157 
   149 #backgroundColor
       
   150 'set the background color'
       
   151 
       
   152 #showLines
   158 #showLines
   153 'show or hide lines'
   159 'show or hide lines'
   154 
   160 
   155 #label
   161 #label
   156 'the label of the widget'
   162 'the label of the widget'
   171 'pressing the button will open the menu editor on the specified menu selector.'
   177 'pressing the button will open the menu editor on the specified menu selector.'
   172 
   178 
   173 #galleryLabels
   179 #galleryLabels
   174 'a list of tab labels'
   180 'a list of tab labels'
   175 
   181 
   176 #selectionModel
       
   177 'the one which keeps the selection and in case of a ''SelectionInList'' model the list.'
       
   178 
       
   179 #tabLabels
   182 #tabLabels
   180 'a list or list holder which provides the labels assigned to the tabs.'
   183 'a list or list holder which provides the labels assigned to the tabs.'
   181 
   184 
       
   185 #fileSelectionTreeRoot
       
   186 'a holder, which keeps the pathname of the root directory (first entry into the list).'
       
   187 
   182 #foregroundColor
   188 #foregroundColor
   183 'set the foreground color'
   189 'set the foreground color'
   184 
   190 
   185 #tabWidget
   191 #tabWidget
   186 'select the tab style'
   192 'select the tab style'
   187 
   193 
       
   194 #clientKey
       
   195 'returns an application which provides the builder. On default the application itself is used.'
       
   196 
   188 #valueChangeSelector
   197 #valueChangeSelector
   189 'called whenever the selection changed. If the selector ends with '':'' the method is invoked with the current selection.'
   198 'called whenever the selection changed. If the selector ends with '':'' the method is invoked with the current selection.'
   190 
   199 
       
   200 #fontMenu
       
   201 'set the font for the widget'
       
   202 
   191 #doubleClickSelector
   203 #doubleClickSelector
   192 'define the double click action which is evaluated on double click in case of a none nil selection. If the selector ends with '':'' the method is invoked with the current selection.'
   204 'define the double click action which is evaluated on double click in case of a none nil selection. If the selector ends with '':'' the method is invoked with the current selection.'
   193 
   205 
   194 #fontMenu
       
   195 'set the font for the widget'
       
   196 
       
   197 #clientKey
       
   198 'returns an application which provides the builder. On default the application itself is used.'
       
   199 
       
   200 #selectionInTreeModel
       
   201 'model which keeps the hierarchical list and the selection. The model returned must be kind of class SelectionInTree'
       
   202 
       
   203 #selectionInTreeModelButton
       
   204 'opens a hierarchical list editor which generates and installs a hierarchical list for the model.'
       
   205 
       
   206 #isTriggerOnDown
   206 #isTriggerOnDown
   207 'if true, the action is evaluated when the button is pressed'
   207 'if true, the action is evaluated when the button is pressed'
   208 
   208 
       
   209 #borderWidth
       
   210 'width of the border'
       
   211 
   209 #useIndex
   212 #useIndex
   210 'set/clear the useIndex flag. If set, the index of the selection is used otherwise the selected string.'
   213 'set/clear the useIndex flag. If set, the index of the selection is used otherwise the selected string.'
   211 
       
   212 #borderWidth
       
   213 'width of the border'
       
   214 
   214 
   215 )
   215 )
   216 ! !
   216 ! !
   217 
   217 
   218 !UISpecificationTool class methodsFor:'interface specs'!
   218 !UISpecificationTool class methodsFor:'interface specs'!