org.rococoa.cocoa.appkit
Class NSPredicateEditorRowTemplate

java.lang.Object
  extended by org.rococoa.cocoa.foundation.NSObject
      extended by org.rococoa.cocoa.appkit.NSPredicateEditorRowTemplate
All Implemented Interfaces:
NSCoding, NSCopying, NSObject, ObjCObject

public abstract class NSPredicateEditorRowTemplate
extends NSObject
implements ObjCObject, NSCoding, NSCopying

This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static class NSPredicateEditorRowTemplate._class_
           
static class NSPredicateEditorRowTemplate._ptFlags_struct
           
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding
NSCoding._static_
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSCopying
NSCopying._static_
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
NSObject._static_
 
Constructor Summary
NSPredicateEditorRowTemplate()
           
 
Method Summary
static NSPredicateEditorRowTemplate alloc()
           
abstract  NSArray compoundTypes()
          Original signature : -(NSArray*)compoundTypes
native declaration : NSPredicateEditorRowTemplate.h:74
static NSPredicateEditorRowTemplate createWithCompoundTypes(NSArray compoundTypes)
          Factory method
abstract  NSArray displayableSubpredicatesOfPredicate(NSPredicate predicate)
          for a given predicate, returns the subpredicates that should be made subrows.
static NSPredicateEditorRowTemplate._class_ getNSClass()
           
abstract  NSPredicateEditorRowTemplate initWithCompoundTypes(NSArray compoundTypes)
          creates a template suitable for displaying compound predicates.
abstract  NSArray leftExpressions()
          returns the various values set in the initializers, or zero/nil if they do not apply
Original signature : -(NSArray*)leftExpressions
native declaration : NSPredicateEditorRowTemplate.h:68
abstract  double matchForPredicate(NSPredicate predicate)
          returns a positive number if the template can represent the predicate, and zero if it cannot.
abstract  NSObject modifier()
          Original signature : -(id)modifier
native declaration : NSPredicateEditorRowTemplate.h:71
static NSPredicateEditorRowTemplate new_()
           
abstract  NSArray operators()
          Original signature : -(NSArray*)operators
native declaration : NSPredicateEditorRowTemplate.h:72
abstract  NSUInteger options()
          Original signature : -(NSUInteger)options
native declaration : NSPredicateEditorRowTemplate.h:73
abstract  NSPredicate predicateWithSubpredicates(NSArray subpredicates)
          returns the predicate represented by the template's views' values and the given subpredicates.
abstract  NSObject rightExpressionAttributeType()
          Original signature : -(id)rightExpressionAttributeType
native declaration : NSPredicateEditorRowTemplate.h:70
abstract  NSArray rightExpressions()
          Original signature : -(NSArray*)rightExpressions
native declaration : NSPredicateEditorRowTemplate.h:69
abstract  void setPredicate(NSPredicate predicate)
          sets the value of the views according to the given predicate.
static NSArray templatesWithAttributeKeyPaths_inEntityDescription(NSArray keyPaths, Pointer entityDescription)
          CoreData convenience method: creates an array of templates of the popup-popup-view variety from the given key paths.
abstract  NSArray templateViews()
          returns the list of views that are placed in the row.
 
Methods inherited from class org.rococoa.cocoa.foundation.NSObject
as_NSObject_NSAccessibility, as_NSObject_NSAccessibilityAdditions, as_NSObject_NSApplicationScriptingDelegation, as_NSObject_NSArchiverCallback, as_NSObject_NSClassDescriptionPrimitives, as_NSObject_NSCoderMethods, as_NSObject_NSColorPanelResponderMethod, as_NSObject_NSComparisonMethods, as_NSObject_NSControlSubclassNotifications, as_NSObject_NSCopyLinkMoveHandler, as_NSObject_NSDelayedPerforming, as_NSObject_NSDeprecatedKeyValueCoding, as_NSObject_NSDeprecatedKeyValueObservingCustomization, as_NSObject_NSDeprecatedMethods, as_NSObject_NSDictionaryControllerKeyValuePair, as_NSObject_NSDistributedObjects, as_NSObject_NSDraggingDestination, as_NSObject_NSDraggingSource, as_NSObject_NSDraggingSourceDeprecated, as_NSObject_NSEditor, as_NSObject_NSEditorRegistration, as_NSObject_NSErrorRecoveryAttempting, as_NSObject_NSFileManagerFileOperationAdditions, as_NSObject_NSFontManagerDelegate, as_NSObject_NSFontManagerResponderMethod, as_NSObject_NSFontPanelValidationAdditions, as_NSObject_NSKeyValueBindingCreation, as_NSObject_NSKeyValueCoding, as_NSObject_NSKeyValueObserverNotification, as_NSObject_NSKeyValueObserverRegistration, as_NSObject_NSKeyValueObserving, as_NSObject_NSKeyValueObservingCustomization, as_NSObject_NSMenuValidation, as_NSObject_NSNibAwaking, as_NSObject_NSPasteboardOwner, as_NSObject_NSPlaceholders, as_NSObject_NSScriptClassDescription, as_NSObject_NSScripting, as_NSObject_NSScriptingComparisonMethods, as_NSObject_NSScriptKeyValueCoding, as_NSObject_NSScriptObjectSpecifiers, as_NSObject_NSThreadPerformAdditions, as_NSObject_NSURLClient, as_NSObject_NSURLConnectionDelegate, as_NSObject_NSURLDownloadDelegate, copy, create, dealloc, description, doesNotRecognizeSelector, finalize, forwardingTargetForSelector, forwardInvocation, init, isKindOfClass, isKindOfClass, methodForSelector, methodSignatureForSelector, mutableCopy, release, retain, retainCount
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding
encodeWithCoder, initWithCoder
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSCopying
copyWithZone
 
Methods inherited from interface org.rococoa.ObjCObject
id
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
autorelease, class_, conformsToProtocol, hash, isEqual, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, superclass, zone
 

Constructor Detail

NSPredicateEditorRowTemplate

public NSPredicateEditorRowTemplate()
Method Detail

matchForPredicate

public abstract double matchForPredicate(NSPredicate predicate)
returns a positive number if the template can represent the predicate, and zero if it cannot. The highest match determines which template is responsible for displaying the predicate. Developers can override this to determine which predicates their custom template handles. By default, this returns values in the range [0., 1.]
Original signature : -(double)matchForPredicate:(NSPredicate*)
native declaration : NSPredicateEditorRowTemplate.h:37


templateViews

public abstract NSArray templateViews()
returns the list of views that are placed in the row. NSPopUpButtons are treated specially in that the items of multiple templates are merged together; other views are added as-is. Developers can override this to return views in addition to or instead of the default views.
Original signature : -(NSArray*)templateViews
native declaration : NSPredicateEditorRowTemplate.h:41


setPredicate

public abstract void setPredicate(NSPredicate predicate)
sets the value of the views according to the given predicate. This is only called if matchForPredicate: returns a positive value for the given predicate. Developers can override this to set the values of their custom views.
Original signature : -(void)setPredicate:(NSPredicate*)
native declaration : NSPredicateEditorRowTemplate.h:45


predicateWithSubpredicates

public abstract NSPredicate predicateWithSubpredicates(NSArray subpredicates)
returns the predicate represented by the template's views' values and the given subpredicates. Developers can override this to return the predicate represented by their custom views.
Original signature : -(NSPredicate*)predicateWithSubpredicates:(NSArray*)
native declaration : NSPredicateEditorRowTemplate.h:48


displayableSubpredicatesOfPredicate

public abstract NSArray displayableSubpredicatesOfPredicate(NSPredicate predicate)
for a given predicate, returns the subpredicates that should be made subrows. For NSCompoundPredicate, this returns the array of subpredicates; it returns nil for other types of predicates. This is only called if matchForPredicate: returns a positive value for the given predicate. Developers can override this to create custom templates that handle complicated compound predicates.
Original signature : -(NSArray*)displayableSubpredicatesOfPredicate:(NSPredicate*)
native declaration : NSPredicateEditorRowTemplate.h:52


initWithCompoundTypes

public abstract NSPredicateEditorRowTemplate initWithCompoundTypes(NSArray compoundTypes)
creates a template suitable for displaying compound predicates. NSPredicateEditor contains such a template by default.
Original signature : -(id)initWithCompoundTypes:(NSArray*)
native declaration : NSPredicateEditorRowTemplate.h:64


createWithCompoundTypes

public static NSPredicateEditorRowTemplate createWithCompoundTypes(NSArray compoundTypes)
Factory method

See Also:
initWithCompoundTypes(org.rococoa.cocoa.foundation.NSArray)

leftExpressions

public abstract NSArray leftExpressions()
returns the various values set in the initializers, or zero/nil if they do not apply
Original signature : -(NSArray*)leftExpressions
native declaration : NSPredicateEditorRowTemplate.h:68


rightExpressions

public abstract NSArray rightExpressions()
Original signature : -(NSArray*)rightExpressions
native declaration : NSPredicateEditorRowTemplate.h:69


rightExpressionAttributeType

public abstract NSObject rightExpressionAttributeType()
Original signature : -(id)rightExpressionAttributeType
native declaration : NSPredicateEditorRowTemplate.h:70


modifier

public abstract NSObject modifier()
Original signature : -(id)modifier
native declaration : NSPredicateEditorRowTemplate.h:71


operators

public abstract NSArray operators()
Original signature : -(NSArray*)operators
native declaration : NSPredicateEditorRowTemplate.h:72


options

public abstract NSUInteger options()
Original signature : -(NSUInteger)options
native declaration : NSPredicateEditorRowTemplate.h:73


compoundTypes

public abstract NSArray compoundTypes()
Original signature : -(NSArray*)compoundTypes
native declaration : NSPredicateEditorRowTemplate.h:74


templatesWithAttributeKeyPaths_inEntityDescription

public static NSArray templatesWithAttributeKeyPaths_inEntityDescription(NSArray keyPaths,
                                                                         Pointer entityDescription)
CoreData convenience method: creates an array of templates of the popup-popup-view variety from the given key paths. The key paths may cross relationships but must terminate in attributes.
Original signature : +(NSArray*)templatesWithAttributeKeyPaths:(NSArray*) inEntityDescription:(NSEntityDescription*)
native declaration : NSPredicateEditorRowTemplate.h:78


alloc

public static NSPredicateEditorRowTemplate alloc()

new_

public static NSPredicateEditorRowTemplate new_()

getNSClass

public static NSPredicateEditorRowTemplate._class_ getNSClass()


Copyright © 2009. All Rights Reserved.