Apple Newton Utilities Podręcznik Użytkownika Strona 586

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 942
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 585
CHAPTER 15
Filing
15-20 Summary
Summary 15
This section summarizes the data structures, protos, functions, and methods used
by the Filing service.
Data Structures for Filing 15
Application Base View Slots 15
myAppBaseView :=
{_parent: {…},// root view
_proto: {// myAppBaseViewTemplate
_proto: {…}, // protoApp,
// slots you supply in myAppBaseViewTemplate
appObjectUnfiled: "Unfiled Items",
appAll: "All Items",
appObjectFileThisOn: "File this item on",
storesFilter: NIL,
doCardRouting: 1,
GetTargetInfo: <function, 1 arg(s) #6000F951>,
labelsFilter: NIL,
appObjectFileThisIn: "File this item in",
appSymbol: |myApp:mySig|,
…},
// my filing button template, defined in app base view
myfilingButton: {_parent: <2> // myAppBaseView,
_proto: protoFilingButton, …},
// my new folder tab template, defined in app base view
myNewFolderTab: {…}, // see summary on page 15-21
…}
Target Information Frame 15
// returned by the GetTargetInfo method
{target: item,// the item to file or route
targetView: view, // filing messages are sent to this view
targetStore: store, // store on which target resides
// this frame may also include your own slots
…}
Przeglądanie stron 585
1 2 ... 581 582 583 584 585 586 587 588 589 590 591 ... 941 942

Komentarze do niniejszej Instrukcji

Brak uwag