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

ContainerIcon

inherits from Icon

Object <- Viewable <- Stamp <- Icon <- ContainerIcon



Operations

Get list of all operations

AboutToHide
AboutToShow
Action
CanAcceptCoupon
Draw
Notice
Press
SortContents
Swallow
TapPressCriteria
UpdateTrayImage


Attributes

Get list of all attributes

AutoMove


Fields

Field Type
Viewable: superview: Viewable
relativeOrigin: Dot
contentSize: Dot
viewFlags: Flags
labelStyle: TextStyle
color: Unsigned
altColor: Unsigned
shadow: Shadow
sound: Playable
Stamp: image: Image
HasDestination: destination: Viewable
Icon: nativeContainer: Viewable
nativePosition: Dot
ContainerIcon: images: ObjectList
lastCount: Unsigned
indicateNewContents: Boolean
superDraggable: Boolean
showContainerName: Boolean


Instance template

instance ContainerIcon tag;
 relativeOrigin: <0.0,0.0>;
    contentSize: <0.0,0.0>;
      viewFlags: 0x00000000;
     labelStyle: nilObject;
          color: 0;
       altColor: 0;
         shadow: nilObject;
          sound: nilObject;
          image: nilObject;
    destination: nilObject;
nativeContainer: nilObject;
 nativePosition: <0.0,0.0>;
         images: nilObject;
      lastCount: 0;
indicateNewContents: false;
 superDraggable: false;
showContainerName: false;
end instance;

Class definition

Define Class ContainerIcon;
    inherits from Icon;

    field images:               ObjectList, weak;
    field lastCount:            Unsigned;
    field indicateNewContents:  Boolean;
        // indicate when new contents appear in container (but no code seems to reference this?)
    field superDraggable:       Boolean;
    field showContainerName:    Boolean;

    overrides AboutToShow, AboutToHide;
    overrides Action, Press;
    overrides AutoMove;
    overrides CanAcceptCoupon;
        // rejects image coupons
    overrides Draw;
    overrides Notice;
    overrides Swallow;
    overrides TapPressCriteria;

    operation SortContents(newContainer: Object), safe;
    operation UpdateTrayImage();
end class;