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

GadgetWindow

inherits from TitledWindow
inherits from BalloonSpout

... <- Viewable <- Box <- Window <- TitledWindow <- GadgetWindow



Operations

Get list of all operations

Appear
BalloonDot
CanAccept
ChangedContents
Disappear
MakeActive
MakeValid
SetUpTargetWindow
ZoomFromWhere


Attributes

Get list of all attributes

Target


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


Instance template

instance GadgetWindow 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;
end instance;

Class definition

 
 
Define Class GadgetWindow;
    inherits from TitledWindow;
    inherits from BalloonSpout;
    has dispatcher hintdata;

    field target: Object, weak, getter;
        // used by Target attribute

    attribute Target: Object, safe;
        // the viewable (usually a gadget) that the window points to
        // setter dirties balloon box of self before and after setting value in field

    operation SetUpTargetWindow(viewTarget: Viewable; attributeTarget: Object);
        //  set target of self to viewTarget; set target of all controls in self to attributeTarget

    overrides Appear;
        // positions self if autoPosition flag in windowFlags is set; calls TargetChanged on target if it's a gadget
    overrides Disappear;
        // calls TargetChanged on target if it's a gadget
    overrides CanAccept;
        // rejects its own target
    overrides BalloonDot;
        // gets the dot from its target
    overrides ZoomFromWhere;
        // gets the zoom origin from BalloonDot
    overrides ChangedContents;
        // calls TargetChanged on target if it's a gadget
    overrides MakeValid;
        // adds self to iMakeActive list
    overrides MakeActive;
        // calls TargetChanged on target if it's a gadget
end class;