API  1.0.0
CPTabViewItem Class Reference

#import <CPTabViewItem.h>

+ Inheritance diagram for CPTabViewItem:

Instance Methods

(CPView) - auxiliaryView 
 
(BOOL) - enabled 
 
(void) - encodeWithCoder: 
 
(CGRect) - frame 
 
(id) - identifier 
 
(CPImage) - image 
 
(id) - init 
 
(id) - initWithCoder: 
 
(id) - initWithIdentifier: 
 
(CPString) - label 
 
(BOOL) - selected 
 
(void) - setAuxiliaryView: 
 
(void) - setEnabled: 
 
(void) - setFrame: 
 
(void) - setIdentifier: 
 
(void) - setImage: 
 
(void) - setLabel: 
 
(void) - setSelected: 
 
(void) - setTag: 
 
(void) - setView: 
 
(void) - setViewController: 
 
(void) - setWidth: 
 
(CPTabState) - tabState 
 
(CPTabView) - tabView 
 
(CPInteger) - tag 
 
(CPView) - view 
 
(CPViewController) - viewController 
 
(float) - width 
 
- Instance Methods inherited from CPObject
(void) - addObserver:forKeyPath:options:context: 
 
(void) - applyChange:toKeyPath: 
 
(id) - autorelease 
 
(id) - awakeAfterUsingCoder: 
 
(void) - awakeFromCib 
 
(void) - bind:toObject:withKeyPath:options: 
 
(Class) - classForCoder 
 
(Class) - classForKeyedArchiver 
 
(CPString) - className 
 
(id) - copy 
 
(void) - dealloc 
 
(CPString) - description 
 
(CPDictionary) - dictionaryWithValuesForKeys: 
 
(void) - didChange:valuesAtIndexes:forKey: 
 
(void) - didChangeValueForKey: 
 
(void) - didChangeValueForKey:withSetMutation:usingObjects: 
 
(void) - doesNotRecognizeSelector: 
 
(CPArray) - exposedBindings 
 
(id) - forwardingTargetForSelector: 
 
(void) - forwardInvocation: 
 
(unsigned) - hash 
 
(BOOL) - implementsSelector: 
 
(CPDictionary) - infoForBinding: 
 
(BOOL) - isEqual: 
 
(BOOL) - isKindOfClass: 
 
(BOOL) - isMemberOfClass: 
 
(BOOL) - isProxy 
 
(IMP) - methodForSelector: 
 
(CPMethodSignature) - methodSignatureForSelector: 
 
(id) - mutableArrayValueForKey: 
 
(id) - mutableArrayValueForKeyPath: 
 
(id) - mutableCopy 
 
(id) - mutableSetValueForKey: 
 
(id) - mutableSetValueForKeyPath: 
 
(id) - performSelector: 
 
(id) - performSelector:withObject: 
 
(void) - performSelector:withObject:afterDelay: 
 
(void) - performSelector:withObject:afterDelay:inModes: 
 
(id) - performSelector:withObject:withObject: 
 
(id) - performSelector:withObjects: 
 
(void) - release 
 
(void) - removeObserver:forKeyPath: 
 
(id) - replacementObjectForArchiver: 
 
(id) - replacementObjectForCoder: 
 
(id) - replacementObjectForKeyedArchiver: 
 
(BOOL) - respondsToSelector: 
 
(id) - retain 
 
(id) - self 
 
(void) - setValue:forKey: 
 
(void) - setValue:forKeyPath: 
 
(void) - setValue:forUndefinedKey: 
 
(void) - setValuesForKeysWithDictionary: 
 
(CPString) - UID 
 
(void) - unbind: 
 
(Class) - valueClassForBinding: 
 
(id) - valueForKey: 
 
(id) - valueForKeyPath: 
 
(id) - valueForUndefinedKey: 
 
(void) - willChange:valuesAtIndexes:forKey: 
 
(void) - willChangeValueForKey: 
 
(void) - willChangeValueForKey:withSetMutation:usingObjects: 
 

Class Methods

(CPTabViewItem) + tabViewItemWithViewController: 
 
- Class Methods inherited from CPObject
(BOOL) + accessInstanceVariablesDirectly 
 
(id) + alloc 
 
(id) + allocWithCoder: 
 
(BOOL) + automaticallyNotifiesObserversForKey: 
 
(void) + cancelPreviousPerformRequestsWithTarget: 
 
(void) + cancelPreviousPerformRequestsWithTarget:selector:object: 
 
(Class) + class 
 
(BOOL) + conformsToProtocol: 
 
(void) + exposeBinding: 
 
(void) + initialize 
 
(IMP) + instanceMethodForSelector: 
 
(BOOL) + instancesImplementSelector: 
 
(BOOL) + instancesRespondToSelector: 
 
(BOOL) + isBindingExclusive: 
 
(BOOL) + isSubclassOfClass: 
 
(CPSet) + keyPathsForValuesAffectingValueForKey: 
 
(void) + load 
 
(id) + new 
 
(void) + object:performSelector:withObject:afterDelay:inModes: 
 
(void) + setVersion: 
 
(Class) + superclass 
 
(int) + version 
 

Detailed Description

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 2 of file CPTabViewItem.h.

Method Documentation

◆ auxiliaryView()

- (CPView) auxiliaryView
implementation

Returns the tab's auxiliary view

Definition at line 228 of file CPTabViewItem.j.

◆ enabled()

- (BOOL) enabled
implementation

Synthesized accessor method.

Provided by category CPTabViewItem(CPSynthesizedAccessors).

Definition at line 358 of file CPTabViewItem.j.

◆ encodeWithCoder:()

- (void) encodeWithCoder: (CPCoder)  aCoder
implementation

Provided by category CPTabViewItem(CPCoding).

Definition at line 301 of file CPTabViewItem.j.

◆ frame()

- (CGRect) frame
implementation

Synthesized accessor method.

Provided by category CPTabViewItem(CPSynthesizedAccessors).

Definition at line 390 of file CPTabViewItem.j.

◆ identifier()

- (id) identifier
implementation

Returns the tab's identifier.

Definition at line 184 of file CPTabViewItem.j.

◆ image()

- (CPImage) image
implementation

Returns the CPTabViewItem's image

Provided by category CPTabViewItem(CPSynthesizedAccessors).

Definition at line 157 of file CPTabViewItem.j.

◆ init()

- (id) init
implementation

Initializes the receiver

Returns
the initialized receiver

Reimplemented from CPObject.

Definition at line 82 of file CPTabViewItem.j.

◆ initWithCoder:()

- (id) initWithCoder: (CPCoder)  aCoder
implementation

Provided by category CPTabViewItem(CPCoding).

Definition at line 282 of file CPTabViewItem.j.

◆ initWithIdentifier:()

- (id) initWithIdentifier: (id)  anIdentifier
implementation

Initializes the tab view item with the specified identifier.

Returns
the initialized CPTabViewItem

Definition at line 104 of file CPTabViewItem.j.

◆ label()

- (CPString) label
implementation

Returns the CPTabViewItem's label

Definition at line 135 of file CPTabViewItem.j.

◆ selected()

- (BOOL) selected
implementation

Synthesized accessor method.

Provided by category CPTabViewItem(CPSynthesizedAccessors).

Definition at line 374 of file CPTabViewItem.j.

◆ setAuxiliaryView:()

- (void) setAuxiliaryView: (CPView)  anAuxiliaryView
implementation

Sets the tab's auxiliary view.

Parameters
anAuxiliaryViewthe new auxiliary view

Definition at line 220 of file CPTabViewItem.j.

◆ setEnabled:()

- (void) setEnabled: (BOOL)  aValue
implementation

Synthesized accessor method.

Provided by category CPTabViewItem(CPSynthesizedAccessors).

Definition at line 366 of file CPTabViewItem.j.

◆ setFrame:()

- (void) setFrame: (CGRect)  aValue
implementation

Synthesized accessor method.

Provided by category CPTabViewItem(CPSynthesizedAccessors).

Definition at line 398 of file CPTabViewItem.j.

◆ setIdentifier:()

- (void) setIdentifier: (id)  anIdentifier
implementation

Sets the item's identifier.

Parameters
anIdentifierthe new identifier for the item

Definition at line 176 of file CPTabViewItem.j.

◆ setImage:()

- (void) setImage: (CPImage)  anImage
implementation

Sets the CPTabViewItem's image.

Parameters
anImagethe image for the item

Provided by category CPTabViewItem(CPSynthesizedAccessors).

Definition at line 145 of file CPTabViewItem.j.

◆ setLabel:()

- (void) setLabel: (CPString)  aLabel
implementation

Sets the CPTabViewItem's label.

Parameters
aLabelthe label for the item

Definition at line 123 of file CPTabViewItem.j.

◆ setSelected:()

- (void) setSelected: (BOOL)  aValue
implementation

Synthesized accessor method.

Provided by category CPTabViewItem(CPSynthesizedAccessors).

Definition at line 382 of file CPTabViewItem.j.

◆ setTag:()

- (void) setTag: (CPInteger)  aValue
implementation

Synthesized accessor method.

Provided by category CPTabViewItem(CPSynthesizedAccessors).

Definition at line 326 of file CPTabViewItem.j.

◆ setView:()

- (void) setView: (CPView)  aView
implementation

Sets the view that gets displayed in this tab.

Definition at line 193 of file CPTabViewItem.j.

◆ setViewController:()

- (void) setViewController: (CPViewController)  aViewController
implementation

Sets the specified view controller for the tab view item.

Parameters
aViewControlleran instance of CPViewController.

Definition at line 254 of file CPTabViewItem.j.

◆ setWidth:()

- (void) setWidth: (float)  aValue
implementation

Synthesized accessor method.

Provided by category CPTabViewItem(CPSynthesizedAccessors).

Definition at line 414 of file CPTabViewItem.j.

◆ tabState()

- (CPTabState) tabState
implementation

Returns the tab's current state.

Definition at line 166 of file CPTabViewItem.j.

◆ tabView()

- (CPTabView) tabView
implementation

Returns the tab view that contains this item.

Definition at line 237 of file CPTabViewItem.j.

◆ tabViewItemWithViewController:()

+ (CPTabViewItem) tabViewItemWithViewController: (CPViewController)  aViewController
implementation

Definition at line 74 of file CPTabViewItem.j.

◆ tag()

- (CPInteger) tag
implementation

Synthesized accessor method.

Provided by category CPTabViewItem(CPSynthesizedAccessors).

Definition at line 318 of file CPTabViewItem.j.

◆ view()

- (CPView) view
implementation

Returns the tab's view.

Definition at line 207 of file CPTabViewItem.j.

◆ viewController()

- (CPViewController) viewController
implementation

Synthesized accessor method.

Provided by category CPTabViewItem(CPSynthesizedAccessors).

Definition at line 350 of file CPTabViewItem.j.

◆ width()

- (float) width
implementation

Synthesized accessor method.

Provided by category CPTabViewItem(CPSynthesizedAccessors).

Definition at line 406 of file CPTabViewItem.j.


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