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

MailStack

inherits from StackOfCards
inherits from SortedStackOfCards
inherits from HasSortKeys
inherits from CanOfferPurgingSuggestions

... <- FixedList <- ObjectList <- DenseObjectList <- StackOfCards <- MailStack



Operations

Get list of all operations

AddElementAt
AddToSendQueue
CompareItemsBySortKey
RemoveAt
SearchForSuggestions
SecondarySortKeys
SuggestionSearchStatus


Attributes

Get list of all attributes

Class MailStack defines no new attributes.


Fields

Field Type
StackOfCards: protoCard: Card
canWrap: Boolean
canDelete: Boolean
containsNewItems: Boolean
disableCardTracking: Boolean
stackScene: StackScene
MailStack: sortKey: OperationNumber
reverseOrder: Boolean


Instance template

instance MailStack tag;
      protoCard: nilObject;
        canWrap: false;
      canDelete: false;
containsNewItems: false;
disableCardTracking: false;
     stackScene: nilObject;
        sortKey: nilOperation;
   reverseOrder: false;
end instance;

Class definition

Define Class MailStack;
    inherits from StackOfCards, SortedStackOfCards, HasSortKeys, CanOfferPurgingSuggestions;

    field sortKey: OperationNumber, getter, setter;
    field reverseOrder: Boolean, getter, setter;

    overrides CompareItemsBySortKey;
        // calls CompareCards to determine sorting order;
    
    overrides SecondarySortKeys;
        // fills in list with fixed order: date received; sender name; subject; date sent

    operation AddToSendQueue(dummy: Object), safe;  
        // add entire stack to postoffice send queue

    overrides AddElementAt, RemoveAt;                   
        // keep ContainsNewItems flag updated

    overrides SearchForSuggestions;                 
        // for catching big cards in the inbox
    overrides SuggestionSearchStatus;
end class;