Public Member Functions | |
(void) | - addTabViewItem: [implementation] |
(CGRect) | - contentRect [implementation] |
(id) | - delegate [implementation] |
(void) | - encodeWithCoder: [implementation] |
(int) | - indexOfTabViewItem: [implementation] |
(int) | - indexOfTabViewItemWithIdentifier: [implementation] |
(id) | - initWithCoder: [implementation] |
(id) | - initWithFrame: [implementation] |
(void) | - insertTabViewItem:atIndex: [implementation] |
(void) | - layoutSubviews [implementation] |
(void) | - mouseDown: [implementation] |
(unsigned) | - numberOfTabViewItems [implementation] |
(void) | - removeTabViewItem: [implementation] |
(CPTabViewItem) | - selectedTabViewItem [implementation] |
(void) | - selectFirstTabViewItem: [implementation] |
(void) | - selectLastTabViewItem: [implementation] |
(void) | - selectNextTabViewItem: [implementation] |
(void) | - selectPreviousTabViewItem: [implementation] |
(void) | - selectTabViewItem: [implementation] |
(void) | - selectTabViewItemAtIndex: [implementation] |
(void) | - setDelegate: [implementation] |
(void) | - setTabViewType: [implementation] |
(CPTabViewItem) | - tabViewItemAtIndex: [implementation] |
(CPArray) | - tabViewItems [implementation] |
(CPTabViewType) | - tabViewType [implementation] |
(void) | - viewDidMoveToWindow [implementation] |
Static Public Member Functions | |
(CPColor) | + bezelBorderColor [implementation] |
(void) | + initialize [implementation] |
This class represents a view that has multiple subviews (CPTabViewItem) presented as individual tabs. Only one CPTabViewItem is shown at a time, and other CPTabViewItems can be made visible (one at a time) by clicking on the CPTabViewItem's tab at the top of the tab view.
THe currently selected CPTabViewItem is the view that is displayed.
Definition at line 82 of file CPTabView.j.
- (void) addTabViewItem: | (CPTabViewItem) | aTabViewItem | [implementation] |
Adds a CPTabViewItem to the tab view.
aTabViewItem | the item to add |
Definition at line 230 of file CPTabView.j.
+ (CPColor) bezelBorderColor | [implementation] |
Definition at line 138 of file CPTabView.j.
- (CGRect) contentRect | [implementation] |
Returns the content rectangle.
Definition at line 479 of file CPTabView.j.
- (id) delegate | [implementation] |
Returns the receiver's delegate.
Definition at line 502 of file CPTabView.j.
- (void) encodeWithCoder: | (CPCoder) | aCoder | [implementation] |
Definition at line 577 of file CPTabView.j.
- (int) indexOfTabViewItem: | (CPTabViewItem) | aTabViewItem | [implementation] |
Returns the index of the specified item
aTabViewItem | the item to find the index for |
Definition at line 282 of file CPTabView.j.
- (int) indexOfTabViewItemWithIdentifier: | (CPString) | anIdentifier | [implementation] |
Returns the index of the CPTabViewItem with the specified identifier.
anIdentifier | the identifier of the item |
Definition at line 291 of file CPTabView.j.
+ (void) initialize | [implementation] |
Definition at line 103 of file CPTabView.j.
- (id) initWithCoder: | (CPCoder) | aCoder | [implementation] |
Definition at line 553 of file CPTabView.j.
- (id) initWithFrame: | (CGRect) | aFrame | [implementation] |
Definition at line 143 of file CPTabView.j.
- (void) insertTabViewItem: | (CPTabViewItem) | aTabViewItem | ||
atIndex: | (unsigned) | anIndex | ||
[implementation] |
Inserts a CPTabViewItem into the tab view at the specified index.
aTabViewItem | the item to insert | |
anIndex | the index for the item |
Definition at line 241 of file CPTabView.j.
- (void) layoutSubviews | [implementation] |
Definition at line 197 of file CPTabView.j.
- (void) mouseDown: | (CPEvent) | anEvent | [implementation] |
Definition at line 535 of file CPTabView.j.
- (unsigned) numberOfTabViewItems | [implementation] |
Returns the number of items in the tab view.
Definition at line 306 of file CPTabView.j.
- (void) removeTabViewItem: | (CPTabViewItem) | aTabViewItem | [implementation] |
Removes the specified tab view item from the tab view.
aTabViewItem | the item to remove |
Definition at line 263 of file CPTabView.j.
- (CPTabViewItem) selectedTabViewItem | [implementation] |
Returns the current item being displayed.
Definition at line 437 of file CPTabView.j.
- (void) selectFirstTabViewItem: | (id) | aSender | [implementation] |
Sets the first tab view item in the array to be displayed to the user.
aSender | the object making this request |
Definition at line 332 of file CPTabView.j.
- (void) selectLastTabViewItem: | (id) | aSender | [implementation] |
Sets the last tab view item in the array to be displayed to the user.
aSender | the object making this request |
Definition at line 344 of file CPTabView.j.
- (void) selectNextTabViewItem: | (id) | aSender | [implementation] |
Sets the next tab item in the array to be displayed.
aSender | the object making this request |
Definition at line 356 of file CPTabView.j.
- (void) selectPreviousTabViewItem: | (id) | aSender | [implementation] |
Selects the previous item in the array for display.
aSender | the object making this request |
Definition at line 371 of file CPTabView.j.
- (void) selectTabViewItem: | (CPTabViewItem) | aTabViewItem | [implementation] |
Displays the specified item in the tab view.
aTabViewItem | the item to display |
Definition at line 386 of file CPTabView.j.
- (void) selectTabViewItemAtIndex: | (unsigned) | anIndex | [implementation] |
Selects the item at the specified index.
anIndex | the index of the item to display. |
Definition at line 429 of file CPTabView.j.
- (void) setDelegate: | (id) | aDelegate | [implementation] |
Sets the delegate for this tab view.
aDelegate | the tab view's delegate |
Definition at line 511 of file CPTabView.j.
- (void) setTabViewType: | (CPTabViewType) | aTabViewType | [implementation] |
Sets the tab view type.
aTabViewType | the view type |
Definition at line 447 of file CPTabView.j.
- (CPTabViewItem) tabViewItemAtIndex: | (unsigned) | anIndex | [implementation] |
Returns the CPTabViewItem at the specified index.
Definition at line 314 of file CPTabView.j.
- (CPArray) tabViewItems | [implementation] |
Returns the array of items that backs this tab view.
Definition at line 322 of file CPTabView.j.
- (CPTabViewType) tabViewType | [implementation] |
Returns the tab view type.
Definition at line 470 of file CPTabView.j.
- (void) viewDidMoveToWindow | [implementation] |
Definition at line 156 of file CPTabView.j.