Today's Menu  Portugal
journal and plan nutrition
Instance Methods | List of all members
Z7EmpaneledTableView Class Reference

#import <Z7EmpaneledTableView.h>

Inheritance diagram for Z7EmpaneledTableView:
Inheritance graph
[legend]
Collaboration diagram for Z7EmpaneledTableView:
Collaboration graph
[legend]

Instance Methods

(id) - initWithFrame:
 
(void) - setViewForHead:
 
(void) - spaceForSectionHead:
 
(void) - measureForSectionHead:
 
(void) - setViewForTail:
 
(float) - getViewHeightReqmt
 

Detailed Description

Definition at line 13 of file Z7EmpaneledTableView.h.

Method Documentation

◆ getViewHeightReqmt()

- (float) getViewHeightReqmt

Reimplemented in Z7MessagesPanelTableView, V7GoogDriveTableView, and V7UsdaFoodsTableView.

Definition at line 65 of file Z7EmpaneledTableView.m.

66 {
67  NSLog(@"Z7EmpaneledTableView.getHgtReq: head: %3.2f foot: %3.2f", headerHeight, footerHeight);
68  return headerHeight + sectionHeaderHeight + footerHeight;
69 }
float sectionHeaderHeight
float footerHeight

◆ initWithFrame:()

- (id) initWithFrame: (CGRect)  frame

Definition at line 22 of file Z7EmpaneledTableView.m.

22  :(CGRect)frame
23 {
24  self = [super initWithFrame:frame style:UITableViewStylePlain];
25  if (self) {
26  headerHeight = 0.0f;
27  footerHeight = 0.0f;
28  }
29  return self;
30 }
float footerHeight

◆ measureForSectionHead:()

- (void) measureForSectionHead: (float)  headViewHeight

Definition at line 31 of file Z7EmpaneledTableView.m.

31  :(float) headerHght
32 {
33  sectionHeaderHeight = headerHght;
34 }
float sectionHeaderHeight

◆ setViewForHead:()

- (void) setViewForHead: (UIView<Z6ContainedView> *)  headView

Definition at line 41 of file Z7EmpaneledTableView.m.

41  : (UIView<Z6ContainedView> *) headView
42 {
43  headerHeight = [headView heightRequirement];
44  NSLog(@"Z7EmpaneledTableView.setViewForHead: head: %3.2f", headerHeight);
45  [self setTableHeaderView:headView];
46 }

◆ setViewForTail:()

- (void) setViewForTail: (UIView<Z6ContainedView> *)  tailView

Definition at line 47 of file Z7EmpaneledTableView.m.

47  : (UIView<Z6ContainedView> *) tailView
48 {
49  footerHeight = [tailView heightRequirement];
50  [self setTableFooterView:tailView];
51 }
float footerHeight

◆ spaceForSectionHead:()

- (void) spaceForSectionHead: (UIView<Z6ContainedView> *)  headView

Definition at line 35 of file Z7EmpaneledTableView.m.

35  : (UIView<Z6ContainedView> *) headView
36 {
37  sectionHeaderHeight = [headView heightRequirement];
38  NSLog(@"Z7EmpaneledTableView.spaceForSectionHead: head: %3.2f", headerHeight);
39 }
float sectionHeaderHeight

The documentation for this class was generated from the following files: