[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]

BackupWindow

inherits from GadgetWindow

... <- Box <- Window <- TitledWindow <- GadgetWindow <- BackupWindow



Operations

Get list of all operations

AboutToHide
AboutToShow
DoFullBackup
DoFullRestore
LaunchFullBackup
LaunchFullRestore
Notice


Attributes

Get list of all attributes

ContainerDevice


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
BalloonSpout: balloonDot: Dot
GadgetWindow: target: Object
BackupWindow: prototypeName: HasText
backupName: HasText
backupChoices: ChoiceBox
containerDevice: ContainerDevice
storageBox: StorageBox


Instance template

instance BackupWindow 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;
     balloonDot: <0.0,0.0>;
         target: nilObject;
  prototypeName: nilObject;
     backupName: nilObject;
  backupChoices: nilObject;
containerDevice: nilObject;
     storageBox: nilObject;
end instance;

Class definition

Define Class BackupWindow;
    inherits from GadgetWindow;

    field prototypeName: HasText;                   
        // default backupName
    field backupName: HasText;                      
        // name user has entered for package to create for backup
    field backupChoices: ChoiceBox;                 
        // choices for list of ContainerDevices available for backup/restore
    field containerDevice: ContainerDevice, getter, setter; 
        // currently selected ContainerDevices from backupChoices 
    field storageBox: StorageBox;                   
        // storageBox to restore from
    
    operation DoFullBackup();                       
        // perform FullBackup using our containerDevice and backupName fields
    operation DoFullRestore();                      
        // perform FullRestore using our containerDevice and storageBox fields
    operation LaunchFullBackup();                   
        // do some tests, then call DoFullBackup
    operation LaunchFullRestore();                  
        // do some tests, then call ConfirmedFullRestore
    overrides AboutToShow, AboutToHide, Notice;
    attribute ContainerDevice: ContainerDevice, safe;
end class;