CPPanel Class Reference

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 47 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 75 of file CPPanel.j.

- (BOOL) canBecomeMainWindow   [implementation]

Definition at line 103 of file CPPanel.j.

- (BOOL) isFloatingPanel   [implementation]

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

Definition at line 56 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 84 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 66 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 98 of file CPPanel.j.

- (BOOL) worksWhenModal   [implementation]

Definition at line 89 of file CPPanel.j.


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

Generated on Thu Dec 11 01:55:50 2008 for Cappuccino by  doxygen 1.5.7.1