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

HasNumberedPages

mixes in with Scene

HasNumberedPages



Operations

Get list of all operations

CaptionInfo
GoRelative
TypeKeys


Attributes

Get list of all attributes

CanWrap
CaptionPhrase
CaptionTemplate
PageCount
PageNumber
ShowNameBarInfo


Fields

No fields are defined by HasNumberedPages or any of its superclasses.


Instance template

Class HasNumberedPages cannot be instantiated.


Class definition

Define Class HasNumberedPages;
    mixes in with Scene;
    has dispatcher hintdata;
    
    attribute CanWrap: Boolean, readOnly;
        // returns false
        // override sometimes to return true if left/right arrows should wrap between last and first page
    overrides CaptionInfo;
        // determines whether to show arrows based on number of pages and current page
        // displays phrase returned from CaptionPhrase
    attribute CaptionPhrase: Text, readOnly;
        // called by CaptionInfo to get text displayed between left/right arrows in name bar
        // returns result of calling MapText with iCaptionTextMapping and CaptionTemplate(self)
        // override occasionally to substitute dynamic information other than page number and count
        // override CaptionTemplate instead to change just the static parts of the caption
    attribute CaptionTemplate: Text, readOnly;
        // called by CaptionPhrase to get text template to be mapped with iCaptionTextMapping
        // returns ephemeral copy of iStandardCaptionTemplate, which is "/page number/ of /page count/"
        // override sometimes to change static parts of the caption, for instance to add a word to the end
        // override CaptionPhrase instead to change caption more dynamically    

    overrides GoRelative;
        // sets page number to next, previous, first, or last card in stack, depending on flags

    attribute PageCount: Unsigned, readOnly, noGetter;
        // must override to return maximum page number;
    attribute PageNumber: Unsigned, noGetter, noSetter;
        // must override getter to return current page number as displayed in name bar;
        // must override setter to switch displayed page;

    attribute ShowNameBarInfo: Boolean;

    overrides TypeKeys;
        // arrows do next card and previous card; sends characters to card directly (needed?)
end class;