Object <- Viewable <- Card <- DeliveryReportCard |
|
|
CardData DeliveryTime Explanation HasNondelivery Lines MessageID OriginalCard |
Recipient ReportStatus SmallCardImage Subject TinyImage TypeDescription |
instance DeliveryReportCard 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; startOffset: 0; currentIndex: 0; subject: nilObject; reportStatus: nilObject; messageID: nilObject; timeSent: nilObject; originalCard: nilObject; numNondeliveries: 0; expanded: false; singleLineContent: false; end instance;
Define Class DeliveryReportCard; inherits from Card, HasMultiLineCellContents; field subject: Text, getter, setter; field reportStatus: ReportList, getter, setter; field messageID: Text, getter, setter; field timeSent: Time; field originalCard: Viewable, weak, setter; field numNondeliveries: Unsigned; field expanded: Boolean, getter; // true iff card is expanded field singleLineContent: Boolean; // true iff card contains only one recipient attribute Subject: Text; attribute ReportStatus: ReportList; attribute MessageID: Text; attribute Recipient: SimpleContact, readOnly; attribute DeliveryTime: Object, readOnly; attribute Explanation: Object, readOnly; attribute CardData: Object, readOnly; attribute OriginalCard: Viewable; attribute HasNondelivery: Boolean, readOnly; overrides CompareCards; overrides SmallCardImage; overrides TinyImage; overrides CopyNearWithFunction; overrides DefaultScene; overrides AttachmentPosition; overrides TypeDescription; operation UpdateReportStatus(recipient: Object; time: Time; reason: Text; explanation: Object; failed: Boolean): Object; operation DateSent(var millisecs: Unsigned): Signed; operation SetDateSent(newDate: Signed; newTime: Unsigned); operation ReaddressPrompt(): Object; operation LastUpdateDate(): Signed; operation CardContentDescription(): Object; operation CardDateSent(): Object; operation CardSubject(): Object; operation CardReceiverName(): Object; operation DeleteCurrentCardWithConfirmation(), safe, common; operation DeleteCard(); operation GoToPrevious(), safe, common; operation GoToNext(), safe, common; operation SetCurrentIndexFromRecipient(recipient: Object): Unsigned; operation DeleteCurrentRecipient(); // for HasMultiLineCellContents overrides Lines; overrides InfoAt; overrides CanExpandCollapse; overrides ExpandOrCollapse; end class;