[operations] [attributes] [fields] [template] [definition]
[implementation] [documentation]
To use the search tool you need to use a browser which supports JAVA (c)

[next] [prev] [superclass] [next peer] [prev peer] [subclass] [index] [hierarchy]

ConfirmationDialogBoolean

inherits from ConfirmationDialog

... <- Box <- Window <- TitledWindow <- ConfirmationDialog <- ConfirmationDialogBoolean



Operations

Get list of all operations

AboutToHide
Confirm
PerformWithConfirmation
PerformWithConfirmationFancy
PerformWithConfirmationFancyPassBoolean


Attributes

Get list of all attributes

Class ConfirmationDialogBoolean defines no new attributes.


Fields

Field Type
Viewable: superview: Viewable
relativeOrigin: Dot
contentSize: Dot
viewFlags: Flags
labelStyle: TextStyle
color: Unsigned
altColor: Unsigned
shadow: Shadow
sound: Playable
HasBorder: border: Border
Window: canCoexist: Boolean
persistentWindow: Boolean
dontAutoExtend: Boolean
ignoreGrid: Boolean
closeAfterTouch: Boolean
closeBeforeTouch: Boolean
autoPosition: Boolean
noCloseBox: Boolean
downArrowVisible: Boolean
upArrowVisible: Boolean
rightArrowVisible: Boolean
leftArrowVisible: Boolean
autoMoveContents: Boolean
searchable: Boolean
customTitleColor: Boolean
scaleWindowTitle: Boolean
noBuiltInArrows: Boolean
noZoom: Boolean
autoCopyWindow: Boolean
TitledWindow: titleColor: Unsigned
titleHeight: Micron
dependents: ObjectList
ConfirmationDialog: promptField: TextField
target: Object
operationNumber: OperationNumber
sound: Sound
stamp: Stamp
yesButton: Button
noButton: Button
ConfirmationDialogBoolean: operationParameter: Boolean


Instance template

instance ConfirmationDialogBoolean tag;
 relativeOrigin: <0.0,0.0>;
    contentSize: <0.0,0.0>;
      viewFlags: 0x00000000;
     labelStyle: nilObject;
          color: 0;
       altColor: 0;
         shadow: nilObject;
          sound: nilObject;
         border: nilObject;
     canCoexist: false;
persistentWindow: false;
 dontAutoExtend: false;
     ignoreGrid: false;
closeAfterTouch: false;
closeBeforeTouch: false;
   autoPosition: false;
     noCloseBox: false;
downArrowVisible: false;
 upArrowVisible: false;
rightArrowVisible: false;
leftArrowVisible: false;
autoMoveContents: false;
     searchable: false;
customTitleColor: false;
scaleWindowTitle: false;
noBuiltInArrows: false;
         noZoom: false;
 autoCopyWindow: false;
     titleColor: 0;
    titleHeight: <0.0>;
     dependents: nilObject;
    promptField: nilObject;
         target: nilObject;
operationNumber: nilOperation;
          sound: nilObject;
          stamp: nilObject;
      yesButton: nilObject;
       noButton: nilObject;
operationParameter: false;
end instance;

Class definition

Define Class ConfirmationDialogBoolean;
    inherits from ConfirmationDialog;
    
    field operationParameter: Boolean;
        // parameter for operation that's called on target when yes button pressed
        // set up in PerformWithConfirmationFancyPassBoolean
    
    operation PerformWithConfirmationFancyPassBoolean(prompt: Text; target: Object; operationNumber: OperationNumber; operationParameter: Boolean; sound: Sound; image: Image; buttonNames: Text; forceConfirm:  Boolean), safe, common;
        // like PerformWithConfirmationFancy, except takes a Boolean parameter to pass to the specified operation
    
    overrides Confirm;
        // called when yes button pressed; calls operation on target
        // override rarely

    overrides AboutToHide;                  
        // overridden to return to a default state so that un-shadowing is likely

#ifdef DEBUG
    overrides PerformWithConfirmation;
    overrides PerformWithConfirmationFancy;
        // PerformWithConfirmation and PerformWithConfirmationFancy should never be called on a
        // ConfirmationDialogBoolean, assert that's the case
#endif
end class;