UISelectionPanel.st
changeset 753 45be0e91a172
parent 726 2a09f1934fa5
child 795 9987c25de0f9
equal deleted inserted replaced
752:2dc82cdfdd90 753:45be0e91a172
   352 ! !
   352 ! !
   353 
   353 
   354 !UISelectionPanel class methodsFor:'standard specifications'!
   354 !UISelectionPanel class methodsFor:'standard specifications'!
   355 
   355 
   356 standardButtons
   356 standardButtons
   357     "this window spec was automatically generated by the ST/X UIPainter"
   357     "This resource specification was automatically generated
   358 
   358      by the UIPainter of ST/X."
   359     "do not manually edit this - the painter/builder may not be able to
   359 
   360      handle the specification if its corrupted."
   360     "Do not manually edit this!! If it is corrupted,
       
   361      the UIPainter may not be able to read the specification."
   361 
   362 
   362     "
   363     "
   363      UIPainter new openOnClass:UISelectionPanel andSelector:#standardButtons
   364      UIPainter new openOnClass:UISelectionPanel andSelector:#standardButtons
   364      UISelectionPanel new openInterface:#standardButtons
   365      UISelectionPanel new openInterface:#standardButtons
   365     "
   366     "
   370      
   371      
   371        #(#FullSpec
   372        #(#FullSpec
   372           #window: 
   373           #window: 
   373            #(#WindowSpec
   374            #(#WindowSpec
   374               #name: 'Buttons'
   375               #name: 'Buttons'
   375               #layout: #(#LayoutFrame 147 0 281 0 625 0 484 0)
   376               #layout: #(#LayoutFrame 141 0 235 0 619 0 438 0)
   376               #label: 'Buttons'
   377               #label: 'Buttons'
   377               #min: #(#Point 10 10)
   378               #min: #(#Point 10 10)
   378               #max: #(#Point 1280 1024)
   379               #max: #(#Point 1280 1024)
   379               #bounds: #(#Rectangle 147 281 626 485)
   380               #bounds: #(#Rectangle 141 235 620 439)
   380               #usePreferredExtent: false
   381               #usePreferredExtent: false
   381           )
   382           )
   382           #component: 
   383           #component: 
   383            #(#SpecCollection
   384            #(#SpecCollection
   384               #collection: 
   385               #collection: 
   415                  #(#ToggleSpec
   416                  #(#ToggleSpec
   416                     #name: 'Toggle'
   417                     #name: 'Toggle'
   417                     #layout: #(#LayoutFrame 157 0 15 0 293 0 37 0)
   418                     #layout: #(#LayoutFrame 157 0 15 0 293 0 37 0)
   418                     #label: 'Toggle'
   419                     #label: 'Toggle'
   419                     #isTriggerOnDown: true
   420                     #isTriggerOnDown: true
   420                     #showLamp: true
       
   421                     #lampColor: #(#Color 100.0 100.0 0.0)
   421                     #lampColor: #(#Color 100.0 100.0 0.0)
   422                 )
   422                 )
   423                  #(#RadioButtonSpec
   423                  #(#RadioButtonSpec
   424                     #name: 'Radio Button'
   424                     #name: 'Radio Button'
   425                     #layout: #(#LayoutFrame 157 0.0 47 0 293 0 69 0)
   425                     #layout: #(#LayoutFrame 157 0.0 47 0 293 0 69 0)
   426                     #label: 'Radio Button'
   426                     #label: 'Radio Button'
   427                     #isTriggerOnDown: true
   427                     #isTriggerOnDown: true
   428                     #showLamp: true
       
   429                     #lampColor: #(#Color 100.0 100.0 0.0)
   428                     #lampColor: #(#Color 100.0 100.0 0.0)
   430                 )
   429                 )
   431                  #(#CheckBoxSpec
   430                  #(#CheckBoxSpec
   432                     #name: 'Check Box'
   431                     #name: 'Check Box'
   433                     #layout: #(#LayoutFrame 157 0 79 0 293 0 101 0)
   432                     #layout: #(#LayoutFrame 157 0 79 0 293 0 101 0)
   449                     #resizeForLabel: true
   448                     #resizeForLabel: true
   450                     #canUIDrag: false
   449                     #canUIDrag: false
   451                 )
   450                 )
   452                  #(#ButtonSpec
   451                  #(#ButtonSpec
   453                     #name: 'Model Button'
   452                     #name: 'Model Button'
   454                     #layout: #(#LayoutFrame 309 0 15 0 444 0 37 0)
   453                     #layout: #(#LayoutFrame 309 0 15 0 445 0 37 0)
   455                     #label: 'Model Button'
   454                     #label: 'Model Button'
   456                 )
   455                 )
   457                  #(#LabelSpec
   456                  #(#LabelSpec
   458                     #name: 'UpDownButtonLabel'
   457                     #name: 'UpDownButtonLabel'
   459                     #layout: #(#AlignmentOrigin 309 0 54 0 0 0)
   458                     #layout: #(#AlignmentOrigin 361 0 54 0 0 0)
   460                     #label: 'UpDown Button'
   459                     #label: 'UpDown Button'
   461                     #style: #(#FontDescription #helvetica #medium #roman 10)
   460                     #style: #(#FontDescription #helvetica #medium #roman 10)
   462                     #adjust: #left
   461                     #adjust: #left
   463                     #resizeForLabel: true
   462                     #resizeForLabel: true
   464                     #canUIDrag: false
   463                     #canUIDrag: false
   465                 )
   464                 )
   466                  #(#UpDownButtonSpec
   465                  #(#UpDownButtonSpec
   467                     #name: 'UpDown Button'
   466                     #name: 'UpDown Button'
   468                     #layout: #(#LayoutFrame 422 0 47 0 444 0 91 0)
   467                     #layout: #(#LayoutFrame 309 0 47 0 354 0 69 0)
       
   468                     #orientation: #horizontal
   469                 )
   469                 )
   470                  #(#LabelSpec
   470                  #(#LabelSpec
   471                     #name: 'ArrowButtonsLabel'
   471                     #name: 'ArrowButtonsLabel'
   472                     #layout: #(#AlignmentOrigin 309 0 86 0 0 0)
   472                     #layout: #(#AlignmentOrigin 361 0 86 0 0 0)
   473                     #label: 'Arrow Buttons'
   473                     #label: 'Arrow Button'
   474                     #style: #(#FontDescription #helvetica #medium #roman 10)
   474                     #style: #(#FontDescription #helvetica #medium #roman 10)
   475                     #adjust: #left
   475                     #adjust: #left
   476                     #resizeForLabel: true
   476                     #resizeForLabel: true
   477                     #canUIDrag: false
   477                     #canUIDrag: false
   478                 )
   478                 )
   479                  #(#ArrowButtonSpec
   479                  #(#ArrowButtonSpec
   480                     #name: 'Arrow Button - Up'
   480                     #name: 'Arrow Button'
   481                     #layout: #(#LayoutFrame 309 0 111 0 331 0 133 0)
   481                     #layout: #(#LayoutFrame 309 0 79 0 331 0 101 0)
   482                     #isTriggerOnDown: true
       
   483                     #direction: #up
       
   484                 )
       
   485                  #(#ArrowButtonSpec
       
   486                     #name: 'Arrow Button - Down'
       
   487                     #layout: #(#LayoutFrame 347 0 111 0 369 0 133 0)
       
   488                     #isTriggerOnDown: true
       
   489                     #direction: #down
       
   490                 )
       
   491                  #(#ArrowButtonSpec
       
   492                     #name: 'Arrow Button - Left'
       
   493                     #layout: #(#LayoutFrame 385 0 111 0 407 0 133 0)
       
   494                     #isTriggerOnDown: true
       
   495                     #direction: #left
       
   496                 )
       
   497                  #(#ArrowButtonSpec
       
   498                     #name: 'Arrow Button - Right'
       
   499                     #layout: #(#LayoutFrame 422 0 111 0 444 0 133 0)
       
   500                     #isTriggerOnDown: true
   482                     #isTriggerOnDown: true
   501                     #direction: #right
   483                     #direction: #right
   502                 )
   484                 )
   503               )
   485               )
   504           )
   486           )
   913           )
   895           )
   914       )
   896       )
   915 !
   897 !
   916 
   898 
   917 standardMenus
   899 standardMenus
   918     "this window spec was automatically generated by the ST/X UIPainter"
   900     "This resource specification was automatically generated
   919 
   901      by the UIPainter of ST/X."
   920     "do not manually edit this - the painter/builder may not be able to
   902 
   921      handle the specification if its corrupted."
   903     "Do not manually edit this!! If it is corrupted,
       
   904      the UIPainter may not be able to read the specification."
   922 
   905 
   923     "
   906     "
   924      UIPainter new openOnClass:UISelectionPanel andSelector:#standardMenus
   907      UIPainter new openOnClass:UISelectionPanel andSelector:#standardMenus
   925      UISelectionPanel new openInterface:#standardMenus
   908      UISelectionPanel new openInterface:#standardMenus
   926     "
   909     "
   931      
   914      
   932        #(#FullSpec
   915        #(#FullSpec
   933           #window: 
   916           #window: 
   934            #(#WindowSpec
   917            #(#WindowSpec
   935               #name: 'Menus'
   918               #name: 'Menus'
   936               #layout: #(#LayoutFrame 147 0 281 0 623 0 470 0)
   919               #layout: #(#LayoutFrame 56 0 405 0 532 0 594 0)
   937               #label: 'Menus'
   920               #label: 'Menus'
   938               #min: #(#Point 10 10)
   921               #min: #(#Point 10 10)
   939               #max: #(#Point 1280 1024)
   922               #max: #(#Point 1280 1024)
   940               #bounds: #(#Rectangle 147 281 624 471)
   923               #bounds: #(#Rectangle 56 405 533 595)
   941               #usePreferredExtent: false
   924               #usePreferredExtent: false
   942           )
   925           )
   943           #component: 
   926           #component: 
   944            #(#SpecCollection
   927            #(#SpecCollection
   945               #collection: 
   928               #collection: 
   958                     #canUIDrag: false
   941                     #canUIDrag: false
   959                 )
   942                 )
   960                  #(#PopUpListSpec
   943                  #(#PopUpListSpec
   961                     #name: 'PopUp List'
   944                     #name: 'PopUp List'
   962                     #layout: #(#LayoutFrame 15 0 72 0 140 0 94 0)
   945                     #layout: #(#LayoutFrame 15 0 72 0 140 0 94 0)
   963                     #label: 'Popup List'
   946                     #label: 'PopUp List'
   964                     #style: #(#FontDescription #helvetica #medium #roman 10)
   947                     #style: #(#FontDescription #helvetica #medium #roman 10)
   965                     #useIndex: false
   948                     #useIndex: false
   966                 )
   949                 )
   967                  #(#ComboListSpec
   950                  #(#ComboListSpec
   968                     #name: 'Combo List'
   951                     #name: 'Combo List'
   983                     #layout: #(#LayoutFrame 15 0 130 0 140 0 150 0)
   966                     #layout: #(#LayoutFrame 15 0 130 0 140 0 150 0)
   984                 )
   967                 )
   985                  #(#LabelSpec
   968                  #(#LabelSpec
   986                     #name: 'ComboBoxLabel'
   969                     #name: 'ComboBoxLabel'
   987                     #layout: #(#LayoutFrame 17 0 132 0 79 0 150 0)
   970                     #layout: #(#LayoutFrame 17 0 132 0 79 0 150 0)
   988                     #label: 'ComboBox'
   971                     #label: 'Combo Box'
   989                     #style: #(#FontDescription #helvetica #medium #roman 10)
   972                     #style: #(#FontDescription #helvetica #medium #roman 10)
   990                     #adjust: #left
   973                     #adjust: #left
   991                     #resizeForLabel: true
   974                     #resizeForLabel: true
   992                     #canUIDrag: false
   975                     #canUIDrag: false
   993                 )
   976                 )
  1034           )
  1017           )
  1035       )
  1018       )
  1036 !
  1019 !
  1037 
  1020 
  1038 standardMisc
  1021 standardMisc
  1039     "this window spec was automatically generated by the ST/X UIPainter"
  1022     "This resource specification was automatically generated
  1040 
  1023      by the UIPainter of ST/X."
  1041     "do not manually edit this - the painter/builder may not be able to
  1024 
  1042      handle the specification if its corrupted."
  1025     "Do not manually edit this!! If it is corrupted,
       
  1026      the UIPainter may not be able to read the specification."
  1043 
  1027 
  1044     "
  1028     "
  1045      UIPainter new openOnClass:UISelectionPanel andSelector:#standardMisc
  1029      UIPainter new openOnClass:UISelectionPanel andSelector:#standardMisc
  1046      UISelectionPanel new openInterface:#standardMisc
  1030      UISelectionPanel new openInterface:#standardMisc
  1047     "
  1031     "
  1052      
  1036      
  1053        #(#FullSpec
  1037        #(#FullSpec
  1054           #window: 
  1038           #window: 
  1055            #(#WindowSpec
  1039            #(#WindowSpec
  1056               #name: 'Misc'
  1040               #name: 'Misc'
  1057               #layout: #(#LayoutFrame 147 0 281 0 614 0 565 0)
  1041               #layout: #(#LayoutFrame 44 0 354 0 511 0 638 0)
  1058               #label: 'Misc'
  1042               #label: 'Misc'
  1059               #min: #(#Point 10 10)
  1043               #min: #(#Point 10 10)
  1060               #max: #(#Point 1280 1024)
  1044               #max: #(#Point 1280 1024)
  1061               #bounds: #(#Rectangle 147 281 615 566)
  1045               #bounds: #(#Rectangle 44 354 512 639)
  1062               #usePreferredExtent: false
  1046               #usePreferredExtent: false
  1063           )
  1047           )
  1064           #component: 
  1048           #component: 
  1065            #(#SpecCollection
  1049            #(#SpecCollection
  1066               #collection: 
  1050               #collection: 
  1106                     #resizeForLabel: true
  1090                     #resizeForLabel: true
  1107                     #canUIDrag: false
  1091                     #canUIDrag: false
  1108                 )
  1092                 )
  1109                  #(#LabelSpec
  1093                  #(#LabelSpec
  1110                     #name: 'SliderLabel'
  1094                     #name: 'SliderLabel'
  1111                     #layout: #(#AlignmentOrigin 93 0 129 0 1 0)
  1095                     #layout: #(#AlignmentOrigin 95 0 129 0 1 0)
  1112                     #label: 'Slider'
  1096                     #label: 'Slider'
  1113                     #style: #(#FontDescription #helvetica #medium #roman 10)
  1097                     #style: #(#FontDescription #helvetica #medium #roman 10)
  1114                     #resizeForLabel: true
  1098                     #resizeForLabel: true
  1115                     #canUIDrag: false
  1099                     #canUIDrag: false
  1116                 )
  1100                 )
  1117                  #(#SliderSpec
  1101                  #(#SliderSpec
  1118                     #name: 'Slider'
  1102                     #name: 'Slider'
  1119                     #layout: #(#LayoutFrame 103 0 126 0 218 0 144 0)
  1103                     #layout: #(#LayoutFrame 100 0 126 0 215 0 144 0)
  1120                     #orientation: #horizontal
  1104                     #orientation: #horizontal
  1121                     #start: 0
       
  1122                     #stop: 100
       
  1123                     #step: 1
       
  1124                 )
  1105                 )
  1125                  #(#LabelSpec
  1106                  #(#LabelSpec
  1126                     #name: 'ThumbWheelLabel'
  1107                     #name: 'ThumbWheelLabel'
  1127                     #layout: #(#AlignmentOrigin 93 0 166 0 1 0)
  1108                     #layout: #(#AlignmentOrigin 95 0 157 0 1 0)
  1128                     #label: 'Thumb Wheel'
  1109                     #label: 'Thumb Wheel'
  1129                     #style: #(#FontDescription #helvetica #medium #roman 10)
  1110                     #style: #(#FontDescription #helvetica #medium #roman 10)
  1130                     #resizeForLabel: true
  1111                     #resizeForLabel: true
  1131                     #canUIDrag: false
  1112                     #canUIDrag: false
  1132                 )
  1113                 )
  1133                  #(#ThumbWheelSpec
  1114                  #(#ThumbWheelSpec
  1134                     #name: 'Thumb Wheel'
  1115                     #name: 'Thumb Wheel'
  1135                     #layout: #(#LayoutFrame 103 0 161 0 218 0 181 0)
  1116                     #layout: #(#LayoutFrame 100 0 152 0 215 0 172 0)
  1136                     #orientation: #horizontal
  1117                     #orientation: #horizontal
  1137                     #start: 0
       
  1138                     #stop: 360
  1118                     #stop: 360
  1139                     #step: 1
  1119                 )
  1140                 )
  1120                  #(#LabelSpec
  1141                  #(#LabelSpec
  1121                     #name: 'RegionLabel'
  1142                     #name: 'ProgressIndicatorLabel'
  1122                     #layout: #(#AlignmentOrigin 95 0 189 0 1 0)
  1143                     #layout: #(#AlignmentOrigin 339 0 129 0 1 0)
  1123                     #label: 'Region'
       
  1124                     #style: #(#FontDescription #helvetica #medium #roman 10)
       
  1125                     #adjust: #left
       
  1126                     #resizeForLabel: true
       
  1127                     #canUIDrag: false
       
  1128                 )
       
  1129                  #(#RegionSpec
       
  1130                     #name: 'Region'
       
  1131                     #layout: #(#LayoutFrame 100 0 183 0 215 0 212 0)
       
  1132                     #lineWidth: 2
       
  1133                     #regionType: #ellipse
       
  1134                 )
       
  1135                  #(#LabelSpec
       
  1136                     #name: 'SeparatorLabel'
       
  1137                     #layout: #(#AlignmentOrigin 95 0 219 0 1 0)
       
  1138                     #label: 'Separator'
       
  1139                     #style: #(#FontDescription #helvetica #medium #roman 10)
       
  1140                     #adjust: #left
       
  1141                     #resizeForLabel: true
       
  1142                     #canUIDrag: false
       
  1143                 )
       
  1144                  #(#DividerSpec
       
  1145                     #name: 'Separator'
       
  1146                     #layout: #(#LayoutFrame 100 0 225 0 215 0 229 0)
       
  1147                 )
       
  1148                  #(#LabelSpec
       
  1149                     #name: 'ProgressIndicatorsLabel'
       
  1150                     #layout: #(#AlignmentOrigin 345 0 129 0 1 0)
  1144                     #label: 'Progress Indicator'
  1151                     #label: 'Progress Indicator'
  1145                     #style: #(#FontDescription #helvetica #medium #roman 10)
  1152                     #style: #(#FontDescription #helvetica #medium #roman 10)
  1146                     #adjust: #left
  1153                     #adjust: #left
  1147                     #resizeForLabel: true
  1154                     #resizeForLabel: true
  1148                     #canUIDrag: false
  1155                     #canUIDrag: false
  1149                 )
  1156                 )
  1150                  #(#ProgressIndicatorSpec
  1157                  #(#ProgressIndicatorSpec
  1151                     #name: 'Progress Indicator'
  1158                     #name: 'Progress Indicator'
  1152                     #layout: #(#LayoutFrame 350 0 126 0 445 0 144 0)
  1159                     #layout: #(#LayoutFrame 350 0 126 0 445 0 144 0)
  1153                     #showPercentage: true
  1160                 )
  1154                 )
  1161                  #(#LabelSpec
  1155                  #(#LabelSpec
  1162                     #name: 'RoundProgressIndicatorsLabel'
  1156                     #name: 'SeparatorLabel'
  1163                     #layout: #(#AlignmentOrigin 345 0 149 0 1 0)
  1157                     #layout: #(#AlignmentOrigin 339 0 161 0 1 0)
  1164                     #label: 'Round
  1158                     #label: 'Separator'
  1165 Progress Indicator'
  1159                     #style: #(#FontDescription #helvetica #medium #roman 10)
  1166                     #style: #(#FontDescription #helvetica #medium #roman 10)
  1160                     #adjust: #left
  1167                     #adjust: #left
  1161                     #resizeForLabel: true
  1168                     #resizeForLabel: true
  1162                     #canUIDrag: false
  1169                     #canUIDrag: false
  1163                 )
  1170                 )
  1164                  #(#DividerSpec
  1171                  #(#RoundProgressIndicatorSpec
  1165                     #name: 'Separator'
  1172                     #name: 'Round Progress Indicator'
  1166                     #layout: #(#LayoutFrame 350 0 167 0 445 0 171 0)
  1173                     #layout: #(#LayoutFrame 350 0 148 0 445 0 243 0)
  1167                     #orientation: #horizontal
  1174                     #level: 0
  1168                 )
  1175                     #borderWidth: 1
  1169                  #(#LabelSpec
       
  1170                     #name: 'RegionLabel'
       
  1171                     #layout: #(#AlignmentOrigin 339 0 201 0 1 0)
       
  1172                     #label: 'Region'
       
  1173                     #style: #(#FontDescription #helvetica #medium #roman 10)
       
  1174                     #adjust: #left
       
  1175                     #resizeForLabel: true
       
  1176                     #canUIDrag: false
       
  1177                 )
       
  1178                  #(#RegionSpec
       
  1179                     #name: 'Region'
       
  1180                     #layout: #(#LayoutFrame 350 0 183 0 445 0 236 0)
       
  1181                     #lineWidth: 2
       
  1182                     #regionType: #ellipse
       
  1183                 )
  1176                 )
  1184               )
  1177               )
  1185           )
  1178           )
  1186       )
  1179       )
  1187 !
  1180 !