Public Member Functions | |
(id) | - initWithItemIdentifier: [implementation] |
(CPString) | - itemIdentifier [implementation] |
(CPToolbar) | - toolbar [implementation] |
(CPString) | - label [implementation] |
(void) | - setLabel: [implementation] |
(CPString) | - paletteLabel [implementation] |
(void) | - setPaletteLabel: [implementation] |
(CPString) | - toolTip [implementation] |
(void) | - setToolTip: [implementation] |
(int) | - tag [implementation] |
(void) | - setTag: [implementation] |
(id) | - target [implementation] |
(void) | - setTarget: [implementation] |
(SEL) | - action [implementation] |
(void) | - setAction: [implementation] |
(BOOL) | - isEnabled [implementation] |
(void) | - setEnabled: [implementation] |
(CPImage) | - image [implementation] |
(void) | - setImage: [implementation] |
(void) | - setAlternateImage: [implementation] |
(CPImage) | - alternateImage [implementation] |
(CPView) | - view [implementation] |
(void) | - setView: [implementation] |
(CGSize) | - minSize [implementation] |
(void) | - setMinSize: [implementation] |
(CGSize) | - maxSize [implementation] |
(void) | - setMaxSize: [implementation] |
(int) | - visibilityPriority [implementation] |
(void) | - setVisibilityPriority: [implementation] |
(id) | - copy [implementation] |
Definition at line 65 of file CPToolbarItem.j.
- (SEL) action | [implementation] |
Returns the action that is triggered when the user clicks this item.
Definition at line 242 of file CPToolbarItem.j.
- (CPImage) alternateImage | [implementation] |
Returns the alternate image. This image is displayed on the item when the user is clicking it.
Definition at line 339 of file CPToolbarItem.j.
- (id) copy | [implementation] |
Definition at line 451 of file CPToolbarItem.j.
- (CPImage) image | [implementation] |
Returns the item's image
Definition at line 289 of file CPToolbarItem.j.
- (id) initWithItemIdentifier: | (CPString) | anItemIdentifier | [implementation] |
Initializes the toolbar item with a specified identifier.
anItemIdentifier | the item's identifier |
Definition at line 95 of file CPToolbarItem.j.
- (BOOL) isEnabled | [implementation] |
Returns YES
if the item is enabled.
Definition at line 266 of file CPToolbarItem.j.
- (CPString) itemIdentifier | [implementation] |
Returns the item's identifier.
Definition at line 119 of file CPToolbarItem.j.
- (CPString) label | [implementation] |
Returns the item's label
Definition at line 135 of file CPToolbarItem.j.
- (CGSize) maxSize | [implementation] |
Returns the item's maximum size.
Definition at line 400 of file CPToolbarItem.j.
- (CGSize) minSize | [implementation] |
Returns the item's minimum size.
Definition at line 380 of file CPToolbarItem.j.
- (CPString) paletteLabel | [implementation] |
Returns the palette label.
Definition at line 152 of file CPToolbarItem.j.
- (void) setAction: | (SEL) | anAction | [implementation] |
Sets the action that is triggered when the user clicks this item.
anAction | the new action |
Definition at line 254 of file CPToolbarItem.j.
- (void) setAlternateImage: | (CPImage) | anImage | [implementation] |
Sets the alternate image. This image is displayed on the item when the user is clicking it.
anImage | the new alternate image |
Definition at line 328 of file CPToolbarItem.j.
- (void) setEnabled: | (BOOL) | shouldBeEnabled | [implementation] |
Sets whether the item is enabled.
aFlag | YES enables the item |
Definition at line 278 of file CPToolbarItem.j.
- (void) setImage: | (CPImage) | anImage | [implementation] |
Sets the item's image.
anImage | the new item image |
Definition at line 301 of file CPToolbarItem.j.
- (void) setLabel: | (CPString) | aLabel | [implementation] |
Sets the item's label.
aLabel | the new label for the item |
Definition at line 144 of file CPToolbarItem.j.
- (void) setMaxSize: | (CGSize) | aMaxSize | [implementation] |
Sets the item's new maximum size.
aMaxSize | the new maximum size |
Definition at line 409 of file CPToolbarItem.j.
- (void) setMinSize: | (CGSize) | aMinSize | [implementation] |
Sets the item's minimum size.
aMinSize | the new minimum size |
Definition at line 389 of file CPToolbarItem.j.
- (void) setPaletteLabel: | (CPString) | aPaletteLabel | [implementation] |
Sets the palette label
aPaletteLabel | the new palette label |
Definition at line 161 of file CPToolbarItem.j.
- (void) setTag: | (int) | aTag | [implementation] |
Sets the item's tag.
aTag | the new tag for the item |
Definition at line 206 of file CPToolbarItem.j.
- (void) setTarget: | (id) | aTarget | [implementation] |
Sets the target of the action that is triggered when the user clicks this item. nil
will cause the action to be passed on to the first responder.
aTarget | the new target |
Definition at line 230 of file CPToolbarItem.j.
- (void) setToolTip: | (CPString) | aToolTip | [implementation] |
Sets the item's tooltip. A tooltip pops up next to the cursor when the user hovers over the item with the mouse.
aToolTip | the new item tool tip |
Definition at line 183 of file CPToolbarItem.j.
- (void) setView: | (CPView) | aView | [implementation] |
Sets the item's view
aView | the item's new view |
Definition at line 359 of file CPToolbarItem.j.
- (void) setVisibilityPriority: | (int) | aVisibilityPriority | [implementation] |
Sets the item's visibility priority. The value must be one of:
CPToolbarItemVisibilityPriorityStandard CPToolbarItemVisibilityPriorityLow CPToolbarItemVisibilityPriorityHigh CPToolbarItemVisibilityPriorityUser
aVisiblityPriority | the priority |
Definition at line 442 of file CPToolbarItem.j.
- (int) tag | [implementation] |
Returns the item's tag.
Definition at line 194 of file CPToolbarItem.j.
- (id) target | [implementation] |
Returns the item's action target.
Definition at line 217 of file CPToolbarItem.j.
- (CPToolbar) toolbar | [implementation] |
Returns the toolbar of which this item is a part.
Definition at line 127 of file CPToolbarItem.j.
- (CPString) toolTip | [implementation] |
Returns the item's tooltip. A tooltip pops up next to the cursor when the user hovers over the item with the mouse.
Definition at line 171 of file CPToolbarItem.j.
- (CPView) view | [implementation] |
Returns the item's view.
Definition at line 350 of file CPToolbarItem.j.
- (int) visibilityPriority | [implementation] |
Returns the item's visibility priority. The value will be one of:
CPToolbarItemVisibilityPriorityStandard CPToolbarItemVisibilityPriorityLow CPToolbarItemVisibilityPriorityHigh CPToolbarItemVisibilityPriorityUser
Definition at line 427 of file CPToolbarItem.j.