background image
C H A P T E R 6
Pickers, Pop-up Views, and Overviews
6-58
Summary
allCollapsed:
Boolean
,
// roll collapsed if non-nil
index:
integer
,
// index of item to start
// display at
declareSelf:
symbol
,
// 'roll -- do not change
...
}
protoRollBrowser
6
aProtoRollBrowser := {
_proto:
protoRollBrowser,
viewBounds:
boundsFrame
,
viewJustify:
justificationFlags
,
viewFormat:
formatFlags
,
title:
string
,
// text for title at top of roll
rollItems:
array
,
// templates for roll items
rollCollapsed:
Boolean
,
// roll collapsed if non-nil
rollIndex:
integer
,
// index of item to start
// display at
declareSelf:
symbol
,
// 'base -- do not change
...
}
protoRollItem
6
aProtoRollItem := {
_proto:
protoRollItem,
viewBounds:
boundsFrame
,
viewJustify:
justificationFlags
,
viewFormat:
formatFlags
,
overview:
string
,
// text for one-line overview
height:
integer
,
// height of the view in pixels
stepChildren:
Boolean
,
// child views for this roll item
...
}
View Classes
6
clOutlineView
6
myOutline:= {...
viewClass:
clOutline,
viewBounds:
boundsFrame
,
© 2007-2017, o7 studio » при воспроизведении материала сайта ссылка обязательна