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

BookPage

inherits from Card

Object <- Viewable <- Card <- BookPage



Operations

Get list of all operations

AddToTOC
DefaultScene
GoToVia
NewBookmark
RemoveBookmarks
RemoveFromTOC


Attributes

Get list of all attributes

Bookmark
IndexOfPages
Parent


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
BookPage: parent: Object
indexOfPages: ObjectList
bookmark: Object


Instance template

instance BookPage 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;
         parent: nilObject;
   indexOfPages: nilObject;
       bookmark: nilObject;
end instance;

Class definition

Define Class BookPage;
    inherits from Card;

    field parent: Object, getter, setter;
    field indexOfPages: ObjectList, getter, setter;
    field bookmark: Object, getter, setter;

    attribute Parent: Object;
    attribute IndexOfPages: ObjectList, safe;
    attribute Bookmark: Object, safe, common;

    operation NewBookmark(), safe, common;
    operation RemoveBookmarks(), safe, common;
        // removes all bookmarks in card
    operation AddToTOC(), safe;
        // add bookmarked entry to toc
    operation RemoveFromTOC();
        // remove bookmarked entry
    overrides DefaultScene;
        // uses shared iBookScene
    overrides GoToVia;
        // calls GoToAndReveal on the book before displaying the page
        // this sets step-back scene properly
end class;