API  0.9.6
 All Classes Files Functions Variables Macros Modules Pages
CPView(Theming) Category Reference

Instance Methods

(CPView) - createEphemeralSubviewNamed: 
 
(id) - currentValueForThemeAttribute: 
 
(CPView) - ephemeralSubviewNamed: 
 
(BOOL) - hasThemeAttribute: 
 
(BOOL) - hasThemeState: 
 
(CPView) - layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed: 
 
(CGRect) - rectForEphemeralSubviewNamed: 
 
(void) - registerThemeValues: 
 
(void) - registerThemeValues:inherit: 
 
(void) - setTheme: 
 
(void) - setThemeClass: 
 
(BOOL) - setThemeState: 
 
(void) - setValue:forThemeAttribute: 
 
(void) - setValue:forThemeAttribute:inState: 
 
(CPTheme) - theme 
 
(CPString) - themeClass 
 
(unsigned) - themeState 
 
(BOOL) - unsetThemeState: 
 
(id) - valueForThemeAttribute: 
 
(id) - valueForThemeAttribute:inState: 
 
(void) - viewDidChangeTheme 
 

Class Methods

(CPString) + defaultThemeClass 
 
(CPDictionary) + themeAttributes 
 

Detailed Description

Definition at line 2597 of file CPView.j.

Method Documentation

- (CPView) createEphemeralSubviewNamed: (CPString)  aViewName
implementation

Extends class CPView.

Definition at line 2894 of file CPView.j.

- (id) currentValueForThemeAttribute: (CPString)  aName
implementation

Extends class CPView.

Definition at line 2837 of file CPView.j.

+ (CPString) defaultThemeClass
implementation

Extends class CPView.

Definition at line 2646 of file CPView.j.

- (CPView) ephemeralSubviewNamed: (CPString)  aViewName
implementation

Extends class CPView.

Definition at line 2942 of file CPView.j.

- (BOOL) hasThemeAttribute: (CPString)  aName
implementation

Extends class CPView.

Definition at line 2845 of file CPView.j.

- (BOOL) hasThemeState: (CPThemeState)  aState
implementation

Extends class CPView.

Definition at line 2605 of file CPView.j.

- (CPView) layoutEphemeralSubviewNamed: (CPString)  aViewName
positioned: (CPWindowOrderingMode)  anOrderingMode
relativeToEphemeralSubviewNamed: (CPString)  relativeToViewName 
implementation

Extends class CPView.

Definition at line 2904 of file CPView.j.

- (CGRect) rectForEphemeralSubviewNamed: (CPString)  aViewName
implementation

Extends class CPView.

Definition at line 2899 of file CPView.j.

- (void) registerThemeValues: (CPArray)  themeValues
implementation

Registers theme values encoded in an array at runtime. The format of the data in the array is the same as that used by ThemeDescriptors.j, with the exception that you need to use CPColorWithImages() in place of PatternColor(). For more information see the comments at the top of ThemeDescriptors.j.

Parameters
themeValuesarray of theme values

Extends class CPView.

Definition at line 2858 of file CPView.j.

- (void) registerThemeValues: (CPArray)  themeValues
inherit: (CPArray)  inheritedValues 
implementation

Registers theme values encoded in an array at runtime. The format of the data in the array is the same as that used by ThemeDescriptors.j, with the exception that you need to use CPColorWithImages() in place of PatternColor(). The values in inheritedValues are registered first, then those in themeValues override/augment the inherited values. For more information see the comments at the top of ThemeDescriptors.j.

Parameters
themeValuesarray of base theme values
inheritedValuesarray of overridden/additional theme values

Extends class CPView.

Definition at line 2884 of file CPView.j.

- (void) setTheme: (CPTheme)  aTheme
implementation

Extends class CPView.

Definition at line 2742 of file CPView.j.

- (void) setThemeClass: (CPString)  theClass
implementation

Extends class CPView.

Definition at line 2659 of file CPView.j.

- (BOOL) setThemeState: (CPThemeState)  aState
implementation

Extends class CPView.

Definition at line 2614 of file CPView.j.

- (void) setValue: (id)  aValue
forThemeAttribute: (CPString)  aName 
implementation

Extends class CPView.

Definition at line 2805 of file CPView.j.

- (void) setValue: (id)  aValue
forThemeAttribute: (CPString)  aName
inState: (CPThemeState)  aState 
implementation

Extends class CPView.

Definition at line 2789 of file CPView.j.

- (CPTheme) theme
implementation

Extends class CPView.

Definition at line 2752 of file CPView.j.

+ (CPDictionary) themeAttributes
implementation

Extends class CPView.

Definition at line 2669 of file CPView.j.

- (CPString) themeClass
implementation

Extends class CPView.

Definition at line 2651 of file CPView.j.

- (unsigned) themeState
implementation

Extends class CPView.

Definition at line 2600 of file CPView.j.

- (BOOL) unsetThemeState: (CPThemeState)  aState
implementation

Extends class CPView.

Definition at line 2629 of file CPView.j.

- (id) valueForThemeAttribute: (CPString)  aName
implementation

Extends class CPView.

Definition at line 2829 of file CPView.j.

- (id) valueForThemeAttribute: (CPString)  aName
inState: (CPThemeState)  aState 
implementation

Extends class CPView.

Definition at line 2821 of file CPView.j.

- (void) viewDidChangeTheme
implementation

Extends class CPView.

Definition at line 2757 of file CPView.j.


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