C H A P T E R 4
NewtApp Applications
4-28
Summary of the NewtApp Framework
dateFindSlot:
pathExpression
// Enables dateFind for your
// app. Path must lead to a slot containing a date.
routeScripts: //Contains default Delete and Duplicate
//route scripts.
labelsFilter: //Set dynamically for filing settings
layout:
// Set to the current layout
newtAppBase: //Set dynamically to identify, for
//instance, view to be closed when close box tapped
retargetChain: // Dynamically set array of views
// to update.
targetView: // Dynamically set to the view where
// target soup entry is displayed
target: // Set to the soup entry to be displayed
AddEntryFromStationery: //Returns blank entry with class
func(
stationerySymbol
)....// slot set to
stationerySymbol
AdoptEntryFromStationery: // Returns entry with all slots
func(
adoptee, stationerySymbol, store
)...// from adopted frame
//and class slot set to
stationerySymbol
AdoptSoupEntryFromStationery: //Same as above plus
func(
adoptee, stationerySymbol, store, soup
)... // you specify
//soup & store
FolderChanged: //Changes folder tab to new value
func(
soupName, oldFolder, newFolder
)....
FilterChanged: //Updates folder labels for each soup
func()
.... //in the allSoups frame.
ChainIn: //Adds views needing to be notified for
func(
chainSymbol
) .... //retargeting to
chainSymbol
array.
ChainOut:
//Removes views from
func(
chainSymbol
) .... //
chainSymbol
array.
GetTarget:
//Returns current soup entry.
func()
....
GetTargetView:
//Returns view in which the
func()
.... // target entry is displayed.
DateFind: // Default DateFind method defined in framework.
// Set dateFindSlot in base view to enable it.
func(
date, findType, results, scope, findContext
)....