DialogBox.st
changeset 356 5f20a808ff76
parent 354 dcad6936bfa6
child 357 732f59def851
--- a/DialogBox.st	Sun Feb 11 10:55:05 1996 +0100
+++ b/DialogBox.st	Sun Feb 11 11:13:35 1996 +0100
@@ -52,51 +52,53 @@
     construction.
 
     Historic note:
-	originally, ST/X had separate classes for the various entry methods;
-	there were YesNoBox, EnterBox, InfoBox and so on.
-	ST-80 has all this defined in the common Dialog.
-	Therefore, for compatibility, many ST/X methods defined here in Dialogs 
-	class protocol simply dispatch to some other boxes class method.
-
+        originally, ST/X had separate classes for the various entry methods;
+        there were YesNoBox, EnterBox, InfoBox and so on.
+        ST-80 has all this defined in the common Dialog.
+        Therefore, for compatibility, many ST/X methods defined here in Dialogs 
+        class protocol simply dispatch to some other boxes class method.
+        In the future, those existing subclasses' functionality is going to
+        be moved full into Dialog, and the subclasses will be replaced by dummy
+        delegators. (They will be kept for backward compatibility, though).
 
 
     instance variables:
 
-	buttonPanel      <PanelView>    contains the button(s)
-
-	okButton         <Button>       the ok-Button
-
-	okAction         <Block>        the action to be performed when ok is pressed,
-					or return is pressed.
-
-	acceptReturnAsOK <Boolean>      if true, pressing the return-key counts
-					as if ok was pressed. Default is true.
-
-	abortButton      <Button>       the cancel-Button
-
-	abortAction      <Block>        the action to be performed when cancel is
-					pressed.
-
-	yPosisition      <Integer>      current y position when adding components
-
-	leftIndent       <Integer>      left inset to use when adding components
-
-	rightIndent      <Integer>      right inset to use when adding components
-
-	addedComponents  <Collection>   programmatically added components
-
-	inputFieldGroup  <EnterFieldGroup>   
-					for added input fields
-
-	acceptOnLeave    <Boolean>      if true (the default) and there are 
-					tabable inputFields, accept and close when
-					the last field is left. If false, the ok
-					button must be pressed to close the box.
-
-	acceptedValue    v(<Boolean>)   valueHolder on a boolean
-					after close: holds true if box was accepted
-					(i.e. ok-Button was pressed), false if box was
-					closed via cancel or window manager.
+        buttonPanel      <PanelView>    contains the button(s)
+
+        okButton         <Button>       the ok-Button
+
+        okAction         <Block>        the action to be performed when ok is pressed,
+                                        or return is pressed.
+
+        acceptReturnAsOK <Boolean>      if true, pressing the return-key counts
+                                        as if ok was pressed. Default is true.
+
+        abortButton      <Button>       the cancel-Button
+
+        abortAction      <Block>        the action to be performed when cancel is
+                                        pressed.
+
+        yPosisition      <Integer>      current y position when adding components
+
+        leftIndent       <Integer>      left inset to use when adding components
+
+        rightIndent      <Integer>      right inset to use when adding components
+
+        addedComponents  <Collection>   programmatically added components
+
+        inputFieldGroup  <EnterFieldGroup>   
+                                        for added input fields
+
+        acceptOnLeave    <Boolean>      if true (the default) and there are 
+                                        tabable inputFields, accept and close when
+                                        the last field is left. If false, the ok
+                                        button must be pressed to close the box.
+
+        acceptedValue    v(<Boolean>)   valueHolder on a boolean
+                                        after close: holds true if box was accepted
+                                        (i.e. ok-Button was pressed), false if box was
+                                        closed via cancel or window manager.
 
         
     For compatibility with ST-80, this class is also available under
@@ -3422,5 +3424,5 @@
 !DialogBox class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg/DialogBox.st,v 1.42 1996-02-10 16:57:06 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/DialogBox.st,v 1.43 1996-02-11 10:13:35 cg Exp $'
 ! !