![]() |
API
0.9.7
|
#import <CPPopover.h>
Instance Methods | |
(BOOL) | - animates |
(int) | - appearance |
(int) | - behavior |
(void) | - close |
(CGSize) | - contentSize |
(CPViewController) | - contentViewController |
(id) | - delegate |
(void) | - encodeWithCoder: |
(CPPopover) | - init |
(id) | - initWithCoder: |
(BOOL) | - isShown |
(IBAction) | - performClose: |
(void) | - popoverWindowDidClose: |
(void) | - popoverWindowDidShow: |
(BOOL) | - popoverWindowShouldClose: |
(CGRect) | - positioningRect |
(void) | - setAnimates: |
(void) | - setAppearance: |
(void) | - setBehavior: |
(void) | - setBehaviour: |
(void) | - setContentSize: |
(void) | - setContentViewController: |
(void) | - setDelegate: |
(void) | - setPositioningRect: |
(void) | - showRelativeToRect:ofView:preferredEdge: |
(unsigned) | - styleMaskForBehavior |
This class represent a widget that displays a popover view relative to another one.
Delegate can implement:
Definition at line 2 of file CPPopover.h.
|
implementation |
Synthesized accessor method.
Provided by category CPPopover(CPSynthesizedAccessors).
Definition at line 405 of file CPPopover.j.
|
implementation |
Synthesized accessor method.
Provided by category CPPopover(CPSynthesizedAccessors).
Definition at line 413 of file CPPopover.j.
|
implementation |
Synthesized accessor method.
Provided by category CPPopover(CPSynthesizedAccessors).
Definition at line 429 of file CPPopover.j.
|
implementation |
Closes the popover
Definition at line 254 of file CPPopover.j.
|
implementation |
Returns the size of the popover's view
Definition at line 120 of file CPPopover.j.
|
implementation |
Synthesized accessor method.
Provided by category CPPopover(CPSynthesizedAccessors).
Definition at line 381 of file CPPopover.j.
|
implementation |
Synthesized accessor method.
Provided by category CPPopover(CPSynthesizedAccessors).
Definition at line 397 of file CPPopover.j.
|
implementation |
Provided by category CPPopover(CPCoding).
Definition at line 363 of file CPPopover.j.
|
implementation |
Initialize the CPPopover witn default values
Definition at line 75 of file CPPopover.j.
|
implementation |
Provided by category CPPopover(CPCoding).
Definition at line 348 of file CPPopover.j.
|
implementation |
|
implementation |
Close the popover
sender | the sender of the action |
Definition at line 285 of file CPPopover.j.
|
implementation |
Definition at line 313 of file CPPopover.j.
|
implementation |
Definition at line 320 of file CPPopover.j.
|
implementation |
Definition at line 302 of file CPPopover.j.
|
implementation |
Returns the current rect of the popover
Definition at line 96 of file CPPopover.j.
|
implementation |
Set if the popover should animate for open/close actions.
shouldAnimate | if YES, the popover will be animated. |
Definition at line 153 of file CPPopover.j.
|
implementation |
Synthesized accessor method.
Provided by category CPPopover(CPSynthesizedAccessors).
Definition at line 421 of file CPPopover.j.
|
implementation |
Set the behavior of the CPPopover. It can be:
CPPopoverBehaviorTransient:
the popover will close if another control outside the popover becomes the responderCPPopoverBehaviorApplicationDefined:
(DEFAULT) the application is responsible for closing the popoveraBehavior | the desired behavior |
Definition at line 170 of file CPPopover.j.
|
implementation |
Provided by category CPPopover(Deprecated).
Definition at line 330 of file CPPopover.j.
|
implementation |
Sets the size of of the popover's view
aSize | the desired size |
Definition at line 133 of file CPPopover.j.
|
implementation |
Synthesized accessor method.
Provided by category CPPopover(CPSynthesizedAccessors).
Definition at line 389 of file CPPopover.j.
|
implementation |
Definition at line 179 of file CPPopover.j.
|
implementation |
Sets the frame of the popover
aRect | the desired frame |
Definition at line 107 of file CPPopover.j.
|
implementation |
Show the popover
positioningRect | if set, the popover will be positionned to a random rect relative to the window |
positioningView | if set, the popover will be positioned relative to this view |
preferredEdge,: | CPRectEdge representing the preferred positioning. |
Definition at line 213 of file CPPopover.j.
|
implementation |
Definition at line 246 of file CPPopover.j.