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

Box

inherits from Viewable
inherits from HasBorder

Object <- Viewable <- Box



Operations

Get list of all operations

CanAccept
CanAcceptCoupon
CanBeTransparent
DrawAttentionTo


Attributes

Get list of all attributes

Class Box 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


Instance template

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

Class definition

Define Class Box;
    inherits from Viewable;
    inherits from HasBorder;

    overrides CanAccept;
        // returns true if CanContain, inherited will accept, and morsel fits entirely
        // inside or option key is down
    overrides CanAcceptCoupon;
        // rejects Playables
    overrides CanBeTransparent;
        // returns true only if not a subclass
    overrides DrawAttentionTo;
        // blinks the content box
end class;