Class CPTabViewItem

CPObject
    extended byCPTabViewItem

@implementation CPTabViewItem : CPObject

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


Method Summary
-(id)initWithIdentifier:(id)anIdentifier
          Initializes the tab view item with the specified identifier.
-(CPView)auxiliaryView
          Returns the tab's auxillary view.
-(id)identifier
          Returns the tab's identifier.
-(CPString)label
          Returns the CPTabViewItem's label.
-(void)setAuxiliaryView:(CPView)anAuxiliaryView
          Sets the tab's auxillary view.
-(void)setIdentifier:(id)anIdentifier
          Sets the item's identifier.
-(void)setLabel:(CPString)aLabel
          Sets the CPTabViewItem's label.
-(void)setView:(CPView)aView
          Sets the view that gets displayed in this tab.
-(CPTabState)tabState
          Returns the tab's current state.
-(CPTabView)tabView
          Returns the tab view that contains this item.
-(CPView)view
          Returns the tab's view.

Methods inherited from class CPObject
initialize, alloc, class, instanceMethodForSelector, instancesRespondToSelector, isSubclassOfClass, load, new, setVersion, superclass, version, init, autorelease, awakeAfterUsingCoder, class, classForCoder, classForKeyedArchiver, className, copy, dealloc, description, doesNotRecognizeSelector, forwardInvocation, hash, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableCopy, performSelector, performSelector, performSelector, release, replacementObjectForArchiver, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, retain, self, superclass


Method Detail

initWithIdentifier

-(id)initWithIdentifier:(id)anIdentifier
Initializes the tab view item with the specified identifier.
Parameters:
anIdentifier
Returns:
the initialized CPTabViewItem

auxiliaryView

-(CPView)auxiliaryView
Returns the tab's auxillary view

identifier

-(id)identifier
Returns the tab's identifier.

label

-(CPString)label
Returns the CPTabViewItem's label

setAuxiliaryView

-(void)setAuxiliaryView:(CPView)anAuxiliaryView
Sets the tab's auxillary view.
Parameters:
anAuxiliaryView

setIdentifier

-(void)setIdentifier:(id)anIdentifier
Sets the item's identifier.
Parameters:
anIdentifier - the new identifier for the item

setLabel

-(void)setLabel:(CPString)aLabel
Sets the CPTabViewItem's label.
Parameters:
aLabel - the label for the item

setView

-(void)setView:(CPView)aView
Sets the view that gets displayed in this tab.
Parameters:
aView

tabState

-(CPTabState)tabState
Returns the tab's current state.

tabView

-(CPTabView)tabView
Returns the tab view that contains this item.

view

-(CPView)view
Returns the tab's view.

Created on Sat Sep 13 14:15:43 PDT 2008