CPPanel Class Reference
[AppKit]

List of all members.

Public Member Functions

(BOOL) - isFloatingPanel [implementation]
(void) - setFloatingPanel: [implementation]
(BOOL) - becomesKeyOnlyIfNeeded [implementation]
(void) - setBecomesKeyOnlyIfNeeded: [implementation]
(BOOL) - worksWhenModal [implementation]
(void) - setWorksWhenModal: [implementation]
(BOOL) - canBecomeMainWindow [implementation]


Detailed Description

The CPPanel class defines objects that manage the panels of the Cappuccino user interface. A panel is a window that serves an auxiliary function within an application. It generally displays controls that the user can act on to give instructions to the application or to modify the contents of a standard window.

Panels behave differently from standard windows in only a small number of ways, but the ways are important to the user interface:

To aid in their auxiliary role, panels can be assigned special behaviors:

Definition at line 49 of file CPPanel.j.


Member Function Documentation

- (BOOL) becomesKeyOnlyIfNeeded   [implementation]

Returns YES if the window only becomes key if needed. NO means it behaves just like other windows.

Definition at line 77 of file CPPanel.j.

- (BOOL) canBecomeMainWindow   [implementation]

Definition at line 105 of file CPPanel.j.

- (BOOL) isFloatingPanel   [implementation]

Returns YES if the receiver is a floating panel (like a palette).

Definition at line 58 of file CPPanel.j.

- (void) setBecomesKeyOnlyIfNeeded: (BOOL)  shouldBecomeKeyOnlyIfNeeded   [implementation]

Sets whether the the window becomes key only if needed.

Parameters:
shouldBecomeKeyOnlyIfNeeded YES makes the window become key only if needed

Definition at line 86 of file CPPanel.j.

- (void) setFloatingPanel: (BOOL)  isFloatingPanel   [implementation]

Sets the receiver to be a floating panel. YES makes the window a floating panel. NO makes it a normal window.

Parameters:
isFloatingPanel specifies whether to make it floating

Definition at line 68 of file CPPanel.j.

- (void) setWorksWhenModal: (BOOL)  shouldWorkWhenModal   [implementation]

Sets whether this window can receive input while another window is running modally.

Parameters:
shouldWorkWhenModal whether to receive input while another window is modal

Definition at line 100 of file CPPanel.j.

- (BOOL) worksWhenModal   [implementation]

Definition at line 91 of file CPPanel.j.


The documentation for this class was generated from the following file:

Generated on Wed May 20 12:44:01 2009 for Cappuccino by  doxygen 1.5.8