#import <CPToolbar.h>
Class Methods | |
(void) | + initialize |
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: |
(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 |
A CPToolbar is displayed at the top of a window with multiple buttons (tools) that offer the user quick access to features.
-(CPArray)toolbarDefaultItemIdentifiers:(CPToolbar)toolbar; Called to obtain the toolbar's default item identifiers. Required.
toolbar | the toolbar to obtain identifiers for |
-(CPArray)toolbarAllowedItemIdentifiers:(CPToolbar)toolbar; Called to obtain the toolbar's default item identifiers. Required.
toolbar | the toolbar to obtain identifiers for |
- (CPToolbarItem)toolbar:(CPToolbar)toolbar itemForItemIdentifier:(CPString)itemIdentifier willBeInsertedIntoToolbar:(BOOL)flag; Called to obtain a toolbar item. Required.
toolbar | the toolbar the item belongs to |
itemIdentifier | the identifier of the toolbar item |
flag | YES means the item will be placed in the toolbar. NO means the item will be displayed for some other purpose (non-functional) |
nil
if no such item belongs in the toolbar Definition at line 2 of file CPToolbar.h.
|
implementation |
Returns the toolbar's delegate
Definition at line 199 of file CPToolbar.j.
|
implementation |
Synthesized accessor method.
Provided by category CPToolbar(CPSynthesizedAccessors).
Definition at line 1374 of file CPToolbar.j.
|
implementation |
Provided by category CPToolbar(CPCoding).
Definition at line 580 of file CPToolbar.j.
|
implementation |
Returns the toolbar's identifier
Definition at line 191 of file CPToolbar.j.
|
implementation |
Initializes the receiver
Reimplemented from CPObject.
Definition at line 159 of file CPToolbar.j.
|
implementation |
Reimplemented from CPObject.
Definition at line 136 of file CPToolbar.j.
|
implementation |
Provided by category CPToolbar(CPCoding).
Definition at line 529 of file CPToolbar.j.
|
implementation |
Initializes the toolbar with the specified identifier.
anIdentifier | the identifier for the toolbar |
Definition at line 169 of file CPToolbar.j.
|
implementation |
Returns YES
if the toolbar is currently visible
Definition at line 207 of file CPToolbar.j.
|
implementation |
Returns all the items in this toolbar.
Definition at line 384 of file CPToolbar.j.
|
implementation |
Returns the toolbar items sorted by their visibilityPriority(ies)
.
Definition at line 400 of file CPToolbar.j.
|
implementation |
Sets the delegate for the toolbar.
aDelegate | the new toolbar delegate |
Definition at line 256 of file CPToolbar.j.
|
implementation |
Synthesized accessor method.
Provided by category CPToolbar(CPSynthesizedAccessors).
Definition at line 285 of file CPToolbar.j.
|
implementation |
Synthesized accessor method.
Provided by category CPToolbar(CPSynthesizedAccessors).
Definition at line 226 of file CPToolbar.j.
|
implementation |
Sets whether the toolbar should be visible.
aFlag | YES makes the toolbar visible |
Definition at line 216 of file CPToolbar.j.
|
implementation |
Synthesized accessor method.
Provided by category CPToolbar(CPSynthesizedAccessors).
Definition at line 1390 of file CPToolbar.j.
|
implementation |
Notifies the toolbar that an item has been changed. This will cause the toolbar to reload its items.
anItem | the item that has been changed |
Definition at line 486 of file CPToolbar.j.
|
implementation |
Validates the visible toolbar items by sending a validate message to each visible toolbar item.
Definition at line 409 of file CPToolbar.j.
|
implementation |
Returns all the visible items in this toolbar
Definition at line 392 of file CPToolbar.j.