background image
C H A P T E R 2 2
Transport Interface
22-38
Summary of the Transport Interface
TranslateError:
function
, // returns a string translation
VerifyRoutingInfo:
function
, // called on send of multiple
// item target that is being split
...
}
protoTransportHeader
22
aHeader := {
_proto: protoTransportHeader, // proto header object
transport:
frame
, // transport object
target:
frame
, // target object
addedHeight:
integer
, // height you're adding to header
context:
view
, // view to notify with InfoChanged msg
changed:
Boolean
, // user changed a field?
BuildText:
function
, // builds additional header lines
AddText:
function
, // adds lines to header
InfoChanged:
function
, // notifies view of changed field
...
}
protoFullRouteSlip
22
aFullRoutingSlip := {
_proto: protoFullRouteSlip, // proto full routing slip
viewJustify:
integer
, // viewJustify flags
envelopeHeight:
integer
, // height of envelope portion
envelopeWidth:
integer
, // width of envelope portion
bottomIndent:
integer
, // height of lower portion
fields:
frame
, // item frame
target:
frame
, // target object
activeFormat:
frame
, // currently selected format
transport:
frame
, // transport object
formatPicker:
frame
, // the format picker child view
sendButton:
frame
, // the send button child view
BottomOfSlip:
function
, // returns bottom of slip
FormatChanged:
function
, // notifies slip of new format
OwnerInfoChanged:
function
, // notifies slip of new sender
PrepareToSend:
function
, // notifies slip when item is sent
ContinueSend:
function
, // continues send process
TransportChanged:
function
, // notifies of transport change
...
}
© 2007-2017, o7 studio » при воспроизведении материала сайта ссылка обязательна