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

CategoryBox

inherits from Box
inherits from InfoTopic
inherits from CanInstallSelf

Object <- Viewable <- Box <- CategoryBox



Operations

Get list of all operations

CanAccept
CanAcceptCoupon
ConstrainToolTarget
DefaultReceiverForSelf
Swallow
Tap
Touch


Attributes

Get list of all attributes

AuthoringModeOnly
CategoryContents
UseScaledText


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
InfoTopic: info: Object
CategoryBox: categoryContents: ObjectList
categoryType: ClassNumber
authoringModeOnly: Boolean


Instance template

instance CategoryBox 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;
           info: nilObject;
categoryContents: nilObject;
   categoryType: nilClass;
authoringModeOnly: false;
end instance;

Class definition

Define Class CategoryBox;
    inherits from Box, InfoTopic, CanInstallSelf;

    field categoryContents: ObjectList;
    field categoryType:     ClassNumber;
        // specifies the type of thing that the category box contains
    field authoringModeOnly:    Boolean, getter;

    attribute CategoryContents: ObjectList;
        // list of viewables to display when this category box is tapped
    attribute AuthoringModeOnly: Boolean, readOnly;
        // Specifies whether the category box is to be installed 
        // only in authoring mode.
    
    overrides CanAccept, CanAcceptCoupon, Swallow;
    overrides ConstrainToolTarget;
    overrides DefaultReceiverForSelf;
    overrides Touch, Tap;
#ifdef SCALED_SCREEN
    overrides UseScaledText;
#endif
end class;