![]() |
API
0.9.6
|
CPPredicateEditor is a subclass of CPRuleEditor that is specialized for editing CPPredicate objects. More...
#import <CPPredicateEditor.h>
Additional Inherited Members | |
![]() | |
(void) | + initialize |
(CPDictionary) | + themeAttributes |
![]() | |
(CPMenu) | + defaultMenu |
(CPString) | + defaultThemeClass |
(CPSet) | + keyPathsForValuesAffectingBounds |
(CPSet) | + keyPathsForValuesAffectingFrame |
![]() | |
(BOOL) | + accessInstanceVariablesDirectly |
(id) | + alloc |
(id) | + allocWithCoder: |
(BOOL) | + automaticallyNotifiesObserversForKey: |
(Class) | + class |
(void) | + exposeBinding: |
(IMP) | + instanceMethodForSelector: |
(BOOL) | + instancesRespondToSelector: |
(BOOL) | + isSubclassOfClass: |
(CPSet) | + keyPathsForValuesAffectingValueForKey: |
(void) | + load |
(id) | + new |
(void) | + setVersion: |
(Class) | + superclass |
(int) | + version |
![]() | |
Class | isa |
CPPredicateEditor is a subclass of CPRuleEditor that is specialized for editing CPPredicate objects.
CPPredicateEditor provides a CPPredicate property—objectValue (inherited from CPControl)—that you can get and set directly, and that you can bind using bindings (you typically configure a predicate editor in Interface Builder). CPPredicateEditor depends on another class, CPPredicateEditorRowTemplate, that describes the available predicates and how to display them.
Unlike CPRuleEditor, CPPredicateEditor does not depend on its delegate to populate its rows (and does not call the populating delegate methods). Instead, its rows are populated from its objectValue property (an instance of CPPredicate). CPPredicateEditor relies on instances CPPredicateEditorRowTemplate, which are responsible for mapping back and forth between the displayed view values and various predicates.
CPPredicateEditor exposes one property, rowTemplates, which is an array of CPPredicateEditorRowTemplate objects.
Definition at line 2 of file CPPredicateEditor.h.
|
implementation |
Returns the row templates for the receiver.
Definition at line 53 of file CPPredicateEditor.j.
|
implementation |
Sets the row templates for the receiver.
rowTemplates | An array of CPPredicateEditorRowTemplate objects. |
Definition at line 63 of file CPPredicateEditor.j.