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

LessonCard

inherits from Card
inherits from CanInstallSelf

Object <- Viewable <- Card <- LessonCard



Operations

Get list of all operations

AboutToHide
AboutToShow
DefaultReceiverForSelf
Notice


Attributes

Get list of all attributes

Class LessonCard 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
Card: prototypeForm: Form
stack: StackOfCards
noEnvelope: Boolean
sentFlag: Boolean
isEnvelope: Boolean
isStationery: Boolean
substitute: Boolean
suppressCardData: Boolean
autoAddress: Boolean
wasSeen: Boolean
autoPencil: Boolean
noAutoKeyboard: Boolean
tempTOCEntry: Boolean
rightPageEntry: Boolean
noDrawing: Boolean
dontPurge: Boolean
locked: Boolean
isConfirmed: Boolean
shrinkToFit: Boolean
noFileAfterSend: Boolean
noSubstituteCard: Boolean
isReadOnly: Boolean
dontAppearInLog: Boolean
deliveryReport: Boolean
createdPostR1: Boolean
onePagePerCard: Boolean
LessonCard: lessonButton: Button
repeatName: Text
normalText: Text
repeatText: Text
conditions: ObjectList
lessonPosition: Unsigned


Instance template

instance LessonCard tag;
 relativeOrigin: <0.0,0.0>;
    contentSize: <0.0,0.0>;
      viewFlags: 0x00000000;
     labelStyle: nilObject;
          color: 0;
       altColor: 0;
         shadow: nilObject;
          sound: nilObject;
  prototypeForm: nilObject;
          stack: nilObject;
     noEnvelope: false;
       sentFlag: false;
     isEnvelope: false;
   isStationery: false;
     substitute: false;
suppressCardData: false;
    autoAddress: false;
        wasSeen: false;
     autoPencil: false;
 noAutoKeyboard: false;
   tempTOCEntry: false;
 rightPageEntry: false;
      noDrawing: false;
      dontPurge: false;
         locked: false;
    isConfirmed: false;
    shrinkToFit: false;
noFileAfterSend: false;
noSubstituteCard: false;
     isReadOnly: false;
dontAppearInLog: false;
 deliveryReport: false;
  createdPostR1: false;
 onePagePerCard: false;
   lessonButton: nilObject;
     repeatName: nilObject;
     normalText: nilObject;
     repeatText: nilObject;
     conditions: nilObject;
 lessonPosition: 0;
end instance;

Class definition

Define Class LessonCard;
    inherits from Card;
    inherits from CanInstallSelf;
    
    field lessonButton:     Button;         
        // lesson-starting button; hidden if conditions not met
    field repeatName:       Text;           
        // name for lessonButton after lesson is complete
    field normalText:       Text;           
        // text for lessonField if conditions are met before lesson is complete
    field repeatText:       Text;           
        // text for lessonField if conditions are met after lesson is complete
    field conditions:       ObjectList;     
        // list of conditions that must be met to show lessonButton
    field lessonPosition:   Unsigned;       
        // specifies lesson order. use 0 to specify no order.

    overrides AboutToShow, AboutToHide, Notice;
        //  observes its lesson to notice when it is complete
    overrides DefaultReceiverForSelf;
        // installs itself into the getting started stack.
end class;