CPTabView Class Reference

List of all members.

Public Member Functions

(id) - initWithFrame: [implementation]
(void) - viewDidMoveToWindow [implementation]
(void) - layoutSubviews [implementation]
(void) - addTabViewItem: [implementation]
(void) - insertTabViewItem:atIndex: [implementation]
(void) - removeTabViewItem: [implementation]
(int) - indexOfTabViewItem: [implementation]
(int) - indexOfTabViewItemWithIdentifier: [implementation]
(unsigned) - numberOfTabViewItems [implementation]
(CPTabViewItem- tabViewItemAtIndex: [implementation]
(CPArray- tabViewItems [implementation]
(void) - selectFirstTabViewItem: [implementation]
(void) - selectLastTabViewItem: [implementation]
(void) - selectNextTabViewItem: [implementation]
(void) - selectPreviousTabViewItem: [implementation]
(void) - selectTabViewItem: [implementation]
(void) - selectTabViewItemAtIndex: [implementation]
(CPTabViewItem- selectedTabViewItem [implementation]
(void) - setTabViewType: [implementation]
(CPTabViewType) - tabViewType [implementation]
(CGRect) - contentRect [implementation]
(void) - setDelegate: [implementation]
(void) - mouseDown: [implementation]
(id) - initWithCoder: [implementation]
(void) - encodeWithCoder: [implementation]

Static Public Member Functions

(void) + initialize [implementation]
(CPColor) + bezelBorderColor [implementation]


Detailed Description

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.

The class representation of an item in a CPTabView. One tab view item can be shown at a time in a CPTabView.

Definition at line 80 of file CPTabView.j.


Member Function Documentation

- (void) addTabViewItem: (CPTabViewItem aTabViewItem   [implementation]

Adds a CPTabViewItem to the tab view.

Parameters:
aTabViewItem the item to add

Definition at line 228 of file CPTabView.j.

+ (CPColor) bezelBorderColor   [implementation]

Definition at line 136 of file CPTabView.j.

- (CGRect) contentRect   [implementation]

Returns the content rectangle.

Definition at line 468 of file CPTabView.j.

- (void) encodeWithCoder: (CPCoder aCoder   [implementation]

Definition at line 558 of file CPTabView.j.

- (int) indexOfTabViewItem: (CPTabViewItem aTabViewItem   [implementation]

Returns the index of the specified item

Parameters:
aTabViewItem the item to find the index for

Definition at line 271 of file CPTabView.j.

- (int) indexOfTabViewItemWithIdentifier: (CPString anIdentifier   [implementation]

Returns the index of the CPTabViewItem with the specified identifier.

Parameters:
anIdentifier the identifier of the item

Definition at line 280 of file CPTabView.j.

+ (void) initialize   [implementation]

Definition at line 101 of file CPTabView.j.

- (id) initWithCoder: (CPCoder aCoder   [implementation]

Definition at line 534 of file CPTabView.j.

- (id) initWithFrame: (CGRect)  aFrame   [implementation]

Definition at line 141 of file CPTabView.j.

- (void) insertTabViewItem: (CPTabViewItem aTabViewItem
atIndex: (unsigned)  anIndex 
[implementation]

Inserts a CPTabViewItem into the tab view at the specified index.

Parameters:
aTabViewItem the item to insert
anIndex the index for the item

Definition at line 239 of file CPTabView.j.

- (void) layoutSubviews   [implementation]

Definition at line 195 of file CPTabView.j.

- (void) mouseDown: (CPEvent anEvent   [implementation]

Definition at line 516 of file CPTabView.j.

- (unsigned) numberOfTabViewItems   [implementation]

Returns the number of items in the tab view.

Definition at line 295 of file CPTabView.j.

- (void) removeTabViewItem: (CPTabViewItem aTabViewItem   [implementation]

Removes the specified tab view item from the tab view.

Parameters:
aTabViewItem the item to remove

Definition at line 256 of file CPTabView.j.

- (CPTabViewItem) selectedTabViewItem   [implementation]

Returns the current item being displayed.

Definition at line 426 of file CPTabView.j.

- (void) selectFirstTabViewItem: (id)  aSender   [implementation]

Sets the first tab view item in the array to be displayed to the user.

Parameters:
aSender the object making this request

Definition at line 321 of file CPTabView.j.

- (void) selectLastTabViewItem: (id)  aSender   [implementation]

Sets the last tab view item in the array to be displayed to the user.

Parameters:
aSender the object making this request

Definition at line 333 of file CPTabView.j.

- (void) selectNextTabViewItem: (id)  aSender   [implementation]

Sets the next tab item in the array to be displayed.

Parameters:
aSender the object making this request

Definition at line 345 of file CPTabView.j.

- (void) selectPreviousTabViewItem: (id)  aSender   [implementation]

Selects the previous item in the array for display.

Parameters:
aSender the object making this request

Definition at line 360 of file CPTabView.j.

- (void) selectTabViewItem: (CPTabViewItem aTabViewItem   [implementation]

Displays the specified item in the tab view.

Parameters:
aTabViewItem the item to display

Definition at line 375 of file CPTabView.j.

- (void) selectTabViewItemAtIndex: (unsigned)  anIndex   [implementation]

Selects the item at the specified index.

Parameters:
anIndex the index of the item to display.

Definition at line 418 of file CPTabView.j.

- (void) setDelegate: (id)  aDelegate   [implementation]

Sets the delegate for this tab view.

Parameters:
aDelegate the tab view's delegate

Definition at line 492 of file CPTabView.j.

- (void) setTabViewType: (CPTabViewType)  aTabViewType   [implementation]

Sets the tab view type.

Parameters:
aTabViewType the view type

Definition at line 436 of file CPTabView.j.

- (CPTabViewItem) tabViewItemAtIndex: (unsigned)  anIndex   [implementation]

Returns the CPTabViewItem at the specified index.

Definition at line 303 of file CPTabView.j.

- (CPArray) tabViewItems   [implementation]

Returns the array of items that backs this tab view.

Definition at line 311 of file CPTabView.j.

- (CPTabViewType) tabViewType   [implementation]

Returns the tab view type.

Definition at line 459 of file CPTabView.j.

- (void) viewDidMoveToWindow   [implementation]

Definition at line 154 of file CPTabView.j.


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

Generated on Thu Dec 11 01:55:51 2008 for Cappuccino by  doxygen 1.5.7.1