... <- Box <- GridView <- ListView <- TargetedListView <- LocationListView |
|
|
Draw DrawCell DrawSelection EditSelectedLocation RowHeight SetIfEmpty Swallow Touch |
Class LocationListView defines no new attributes.
Fields
instance LocationListView tag; relativeOrigin: <0.0,0.0>; contentSize: <0.0,0.0>; viewFlags: 0x00000000; labelStyle: nilObject; color: 0; altColor: 0; shadow: nilObject; sound: nilObject; border: nilObject; scrollOffset: <0.0,0.0>; selectMode: false; showCount: false; useContainerList: false; showColumnTitles: false; keyboardScroll: false; scrollToSelected: false; showColumnLines: false; showRowLines: false; showExtraRowLines: false; showTitleLines: false; menuResizeH: false; alwaysOneSelected: false; setCurrentContact: false; dontTrack: false; showRemaining: false; showColumnTitleAsLetter: false; showColumnTitleAsNumber: false; showRowTitles: false; showRowTitleAsLetter: false; showRowTitleAsNumber: false; useListElementPerCell: false; noPartialCell: false; grayTitleBackground: false; gridViewCenteredTitle: false; forPrinting: false; emboldenGroups: false; confirmOnSelect: false; removePlural: false; listViewArrow: false; cellTextStyle: nilObject; columnTitles: nilObject; emptyMessage: nilObject; selectedColumn: 0; selectedRow: 0; titleTextStyle: nilObject; columnKeysList: nilObject; columnOffsetsList: nilObject; columnFlagsList: nilObject; list: nilObject; summaryString: nilObject; target: nilObject; targetAttribute: nilOperation; image: nilObject; end instance;
Define Class LocationListView; inherits from TargetedListView; field image: Image, getter, sharedSetter; overrides RowHeight; overrides Draw, DrawCell, DrawSelection; overrides Touch; // edits the location if the user taps one of the first 2 columns or if the location's area code is invalid overrides Swallow; // adds location to iDialingLocations and edits the location if appropriate overrides SetIfEmpty; // returns true operation EditSelectedLocation(); // goes to the scene for editing dialing locations end class;