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

CorridorDirectory

inherits from Box

Object <- Viewable <- Box <- CorridorDirectory



Operations

Get list of all operations

CanAcceptCoupon
Draw
Tap


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
CorridorDirectory: image: Image
target: Object


Instance template

instance CorridorDirectory 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;
          image: nilObject;
         target: nilObject;
end instance;

Class definition

Define Class CorridorDirectory;
    inherits from Box;
    
    field image: Image, getter, sharedSetter;
    field target: Object, getter, setter, weak;
    
    attribute Target: Object, safe;

    overrides CanAcceptCoupon;
        // accepts sound and image coupons, rejects color coupons, otherwise calls inherited
    overrides Draw;
        // calls inherited, then draws the image
    overrides Tap;
        // sets the target of target to self, then shows or hides the target.
end class;