API  0.9.8
 All Classes Files Functions Variables Typedefs Macros Groups Pages
CPView(Theming) Category Reference

Instance Methods

(BOOL) - becomeFirstResponder
 
(CPView- createEphemeralSubviewNamed:
 
(id) - currentValueForThemeAttribute:
 
(CPView- ephemeralSubviewNamed:
 
(BOOL) - hasThemeAttribute:
 
(BOOL) - hasThemeState:
 
(CPView- layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed:
 
(CGRect) - rectForEphemeralSubviewNamed:
 
(void) - registerThemeValues:
 
(void) - registerThemeValues:inherit:
 
(BOOL) - resignFirstResponder
 
(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 3044 of file CPView.j.

Method Documentation

- (BOOL) becomeFirstResponder
implementation

Extends class CPView.

Definition at line 3093 of file CPView.j.

- (CPView) createEphemeralSubviewNamed: (CPString aViewName
implementation

Extends class CPView.

Definition at line 3407 of file CPView.j.

- (id) currentValueForThemeAttribute: (CPString aName
implementation

Extends class CPView.

Definition at line 3350 of file CPView.j.

+ (CPString) defaultThemeClass
implementation

Extends class CPView.

Definition at line 3147 of file CPView.j.

- (CPView) ephemeralSubviewNamed: (CPString aViewName
implementation

Extends class CPView.

Definition at line 3455 of file CPView.j.

- (BOOL) hasThemeAttribute: (CPString aName
implementation

Extends class CPView.

Definition at line 3358 of file CPView.j.

- (BOOL) hasThemeState: (ThemeState aState
implementation

Extends class CPView.

Definition at line 3052 of file CPView.j.

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

Extends class CPView.

Definition at line 3417 of file CPView.j.

- (CGRect) rectForEphemeralSubviewNamed: (CPString aViewName
implementation

Extends class CPView.

Definition at line 3412 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 3371 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 3397 of file CPView.j.

- (BOOL) resignFirstResponder
implementation

Extends class CPView.

Definition at line 3110 of file CPView.j.

- (void) setTheme: (CPTheme aTheme
implementation

Extends class CPView.

Definition at line 3243 of file CPView.j.

- (void) setThemeClass: (CPString theClass
implementation

Extends class CPView.

Definition at line 3160 of file CPView.j.

- (BOOL) setThemeState: (ThemeState aState
implementation

Extends class CPView.

Definition at line 3060 of file CPView.j.

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

Extends class CPView.

Definition at line 3315 of file CPView.j.

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

Extends class CPView.

Definition at line 3296 of file CPView.j.

- (CPTheme) theme
implementation

Extends class CPView.

Definition at line 3259 of file CPView.j.

+ (CPDictionary) themeAttributes
implementation

Extends class CPView.

Definition at line 3170 of file CPView.j.

- (CPString) themeClass
implementation

Extends class CPView.

Definition at line 3152 of file CPView.j.

- (unsigned) themeState
implementation

Extends class CPView.

Definition at line 3047 of file CPView.j.

- (BOOL) unsetThemeState: (ThemeState aState
implementation

Extends class CPView.

Definition at line 3076 of file CPView.j.

- (id) valueForThemeAttribute: (CPString aName
implementation

Extends class CPView.

Definition at line 3342 of file CPView.j.

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

Extends class CPView.

Definition at line 3331 of file CPView.j.

- (void) viewDidChangeTheme
implementation

Extends class CPView.

Definition at line 3264 of file CPView.j.


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