![]() |
API
0.9.6
|
#import <CPToolbar.h>
Class Methods | |
(void) | + initialize |
![]() | |
(BOOL) | + accessInstanceVariablesDirectly |
(id) | + alloc |
(id) | + allocWithCoder: |
(BOOL) | + automaticallyNotifiesObserversForKey: |
(Class) | + class |
(void) | + exposeBinding: |
(IMP) | + instanceMethodForSelector: |
(BOOL) | + instancesRespondToSelector: |
(BOOL) | + isSubclassOfClass: |
(CPSet) | + keyPathsForValuesAffectingValueForKey: |
(void) | + load |
(id) | + new |
(void) | + setVersion: |
(Class) | + superclass |
(int) | + version |
Additional Inherited Members | |
![]() | |
Class | isa |
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 197 of file CPToolbar.j.
|
implementation |
Synthesized accessor method.
Provided by category CPToolbar(CPSynthesizedAccessors).
Definition at line 1267 of file CPToolbar.j.
|
implementation |
Provided by category CPToolbar(CPCoding).
Definition at line 568 of file CPToolbar.j.
|
implementation |
Returns the toolbar's identifier
Definition at line 189 of file CPToolbar.j.
|
implementation |
Initializes the receiver
Reimplemented from CPObject.
Definition at line 148 of file CPToolbar.j.
|
implementation |
Reimplemented from CPObject.
Definition at line 112 of file CPToolbar.j.
|
implementation |
Provided by category CPToolbar(CPCoding).
Definition at line 517 of file CPToolbar.j.
|
implementation |
Initializes the toolbar with the specified identifier.
anIdentifier | the identifier for the toolbar |
Definition at line 158 of file CPToolbar.j.
|
implementation |
Returns YES
if the toolbar is currently visible
Definition at line 205 of file CPToolbar.j.
|
implementation |
Returns all the items in this toolbar.
Definition at line 373 of file CPToolbar.j.
|
implementation |
Returns the toolbar items sorted by their visibilityPriority(ies)
.
Definition at line 389 of file CPToolbar.j.
|
implementation |
Sets the delegate for the toolbar.
aDelegate | the new toolbar delegate |
Definition at line 254 of file CPToolbar.j.
|
implementation |
Sets the toolbar's display mode. NOT YET IMPLEMENTED.
Provided by category CPToolbar(CPSynthesizedAccessors).
Definition at line 181 of file CPToolbar.j.
|
implementation |
Provided by category CPToolbar(CPSynthesizedAccessors).
Definition at line 224 of file CPToolbar.j.
|
implementation |
Sets whether the toolbar should be visible.
aFlag | YES makes the toolbar visible |
Definition at line 214 of file CPToolbar.j.
|
implementation |
Synthesized accessor method.
Provided by category CPToolbar(CPSynthesizedAccessors).
Definition at line 1283 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 474 of file CPToolbar.j.
|
implementation |
Validates the visible toolbar items by sending a validate message to each visible toolbar item.
Definition at line 398 of file CPToolbar.j.
|
implementation |
Returns all the visible items in this toolbar
Definition at line 381 of file CPToolbar.j.