org.rococoa.cocoa.appkit
Class NSRuleEditor

java.lang.Object
  extended by org.rococoa.cocoa.foundation.NSObject
      extended by org.rococoa.cocoa.appkit.NSResponder
          extended by org.rococoa.cocoa.appkit.NSView
              extended by org.rococoa.cocoa.appkit.NSControl
                  extended by org.rococoa.cocoa.appkit.NSRuleEditor
All Implemented Interfaces:
NSCoding, NSObject, ObjCObject
Direct Known Subclasses:
NSPredicateEditor

public abstract class NSRuleEditor
extends NSControl

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 NSRuleEditor._class_
           
static class NSRuleEditor._ruleEditorFlags_struct
           
 
Nested classes/interfaces inherited from class org.rococoa.cocoa.appkit.NSControl
NSControl.__conFlags
 
Nested classes/interfaces inherited from class org.rococoa.cocoa.appkit.NSView
NSView.__VFlags2
 
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.NSObject
NSObject._static_
 
Constructor Summary
NSRuleEditor()
           
 
Method Summary
abstract  void addRow(ObjCObject sender)
          Adds "initial" rows, or a row to the end - useful as the target for the outside + button
Original signature : -(void)addRow:(id)
native declaration : NSRuleEditor.h:173
static NSRuleEditor alloc()
           
abstract  boolean canRemoveAllRows()
          Original signature : -(BOOL)canRemoveAllRows
native declaration : NSRuleEditor.h:134
abstract  NSArray criteriaForRow(NSInteger row)
          Clients call this to obtain all of the currently chosen items for the given row.
abstract  NSString criteriaKeyPath()
          Original signature : -(NSString*)criteriaKeyPath
native declaration : NSRuleEditor.h:209
abstract  NSRuleEditorDelegate delegate()
          Original signature : -(id)delegate
native declaration : NSRuleEditor.h:107
abstract  NSArray displayValuesForRow(NSInteger row)
          Clients call this to obtain all of the chosen values (strings, views, or menu items) for row.
abstract  NSString displayValuesKeyPath()
          Original signature : -(NSString*)displayValuesKeyPath
native declaration : NSRuleEditor.h:213
abstract  NSDictionary formattingDictionary()
          Original signature : -(NSDictionary*)formattingDictionary
native declaration : NSRuleEditor.h:115
abstract  NSString formattingStringsFilename()
          Original signature : -(NSString*)formattingStringsFilename
native declaration : NSRuleEditor.h:111
static NSRuleEditor._class_ getNSClass()
           
abstract  void insertRowAtIndex_withType_asSubrowOfRow_animate(NSInteger rowIndex, NSUInteger rowType, NSInteger parentRow, boolean shouldAnimate)
          Clients call this to add a new row at the given index with the given type as a subrow of the parent row.
abstract  boolean isEditable()
          Original signature : -(BOOL)isEditable
native declaration : NSRuleEditor.h:130
abstract  NSUInteger nestingMode()
          Original signature : -(NSRuleEditorNestingMode)nestingMode
native declaration : NSRuleEditor.h:122
static NSRuleEditor new_()
           
abstract  NSInteger numberOfRows()
          Clients can call this to determine the number of rows
Original signature : -(NSInteger)numberOfRows
native declaration : NSRuleEditor.h:150
abstract  NSInteger parentRowForRow(NSInteger rowIndex)
          Clients call this to determine the parent row of rowIndex.
abstract  NSPredicate predicate()
          Clients can call this to obtain the predicate for the view if the delegate implements - ruleEditor: predicatePartsForItem: withValue: inRow:row: .
abstract  NSPredicate predicateForRow(NSInteger row)
          This method returns the predicate for a given row.
abstract  void reloadCriteria()
          Clients can call this to indicate that the available criteria may have changed and should be refetched from the delegate, and the popups recalculated.
abstract  void reloadPredicate()
          Clients can call this to indicates that the predicate should be generated again from the delegate (by invoking the corresponding delegate method), typically because something has changed (for example, a view's value).
abstract  void removeRowAtIndex(NSInteger rowIndex)
          Clients call this to remove the row at the given index.
abstract  void removeRowsAtIndexes_includeSubrows(NSIndexSet rowIndexes, boolean includeSubrows)
          Clients call this to delete rows at the given indexes.
abstract  ObjCClass rowClass()
          Original signature : -(Class)rowClass
native declaration : NSRuleEditor.h:197
abstract  NSInteger rowForDisplayValue(ObjCObject displayValue)
          Clients call this to map from a display value (string, view, or menu item) back to a row.
abstract  org.rococoa.cocoa.CGFloat rowHeight()
          Original signature : -(CGFloat)rowHeight
native declaration : NSRuleEditor.h:126
abstract  NSUInteger rowTypeForRow(NSInteger rowIndex)
          Clients call this to determine the type of the row.
abstract  NSString rowTypeKeyPath()
          Original signature : -(NSString*)rowTypeKeyPath
native declaration : NSRuleEditor.h:201
abstract  NSIndexSet selectedRowIndexes()
          Clients call this to determine the indexes of the selected rows.
abstract  void selectRowIndexes_byExtendingSelection(NSIndexSet indexes, boolean extend)
          Clients call this to modify the selected row indexes.
abstract  void setCanRemoveAllRows(boolean val)
          Rule editors that have the canRemoveAllRows property set to NO prevent the user from emptying the rule editor by deleting all the rows.
abstract  void setCriteria_andDisplayValues_forRowAtIndex(NSArray criteria, NSArray values, NSInteger rowIndex)
          Clients call this to modify the row at a given index to contain the passed-in items and values.
abstract  void setCriteriaKeyPath(NSString keyPath)
          Set and get the criteria key path, which determines the criteria for a row in the "rows" binding.
abstract  void setDelegate(NSRuleEditorDelegate delegate)
          Clients can call this method to set and get the delegate for the NSRuleEditor.
abstract  void setDisplayValuesKeyPath(NSString keyPath)
          Set and get the display values key path, which determines the display values for a row (the display values are what the delegate returns from - ruleEditor: displayValueForCriterion: inRow:).
abstract  void setEditable(boolean editable)
          Clients call this to set the editable property of the control.
abstract  void setFormattingDictionary(NSDictionary dictionary)
          Clients can call this to set (and get) a formatting dictionary on the NSRuleEditor.
abstract  void setFormattingStringsFilename(NSString stringsFilename)
          Clients can call this to automatically set a formatting dictionary based on the strings file with the given name.
abstract  void setNestingMode(NSUInteger mode)
          Clients call this to set and get the nesting mode for the NSRuleEditor.
abstract  void setRowClass(ObjCClass rowClass)
          Sets the class used when creating a new row in the "rows" binding; this class should be KVC and KVO compliant for the key paths listed below.
abstract  void setRowHeight(org.rococoa.cocoa.CGFloat height)
          Clients call this to set and get the height of each row.
abstract  void setRowTypeKeyPath(NSString keyPath)
          Set and get the key path for the row type, which is used to get the row type in the "rows" binding.
abstract  void setSubrowsKeyPath(NSString keyPath)
          Set and get the key path for the subrows, which is used to determined nested rows in the "rows" binding.
abstract  NSIndexSet subrowIndexesForRow(NSInteger rowIndex)
          Clients can call this to determine the immediate subrows of the given row.
abstract  NSString subrowsKeyPath()
          Original signature : -(NSString*)subrowsKeyPath
native declaration : NSRuleEditor.h:205
 
Methods inherited from class org.rococoa.cocoa.appkit.NSControl
abortEditing, action, alignment, as_NSControl_NSKeyboardUI, baseWritingDirection, calcSize, cell, currentEditor, doubleValue, drawCell, drawCellInside, floatValue, font, formatter, ignoresMultiClick, integerValue, intValue, isContinuous, isEnabled, mouseDown, objectValue, selectCell, selectedCell, selectedTag, sendAction_to, sendActionOn, setAction, setCell, setContinuous, setDoubleValue, setEnabled, setFloatValue, setFont, setFormatter, setIgnoresMultiClick, setIntegerValue, setIntValue, setNeedsDisplay, setObjectValue, setStringValue, setTag, setTarget, sizeToFit, stringValue, tag, takeDoubleValueFrom, takeFloatValueFrom, takeIntegerValueFrom, takeIntValueFrom, takeObjectValueFrom, takeStringValueFrom, target, updateCell, updateCellInside, validateEditing
 
Methods inherited from class org.rococoa.cocoa.appkit.NSView
addSubview, ancestorSharedWithView, as_NSView_NSClipViewSuperview, as_NSView_NSRulerMarkerClientViewDelegation, as_NSView_NSViewEnclosingMenuItem, createWithFrame, getRectsBeingDrawn_count, getRectsBeingDrawn_count, initWithFrame, isDescendantOf, isHidden, isHiddenOrHasHiddenAncestor, needsToDrawRect, opaqueAncestor, setHidden, setSubviews, subviews, superview, viewDidHide, viewDidUnhide, wantsDefaultClipping, window
 
Methods inherited from class org.rococoa.cocoa.appkit.NSResponder
acceptsFirstResponder, as_NSResponder_NSErrorPresentation, as_NSResponder_NSInterfaceStyle, as_NSResponder_NSKeyboardUI, as_NSResponder_NSStandardKeyBindingMethods, as_NSResponder_NSUndoSupport, becomeFirstResponder, beginGestureWithEvent, cursorUpdate, endGestureWithEvent, flagsChanged, flushBufferedKeyEvents, helpRequested, interpretKeyEvents, keyDown, keyUp, magnifyWithEvent, menu, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseUp, nextResponder, noResponderFor, otherMouseDown, otherMouseDragged, otherMouseUp, performKeyEquivalent, resignFirstResponder, rightMouseDown, rightMouseDragged, rightMouseUp, rotateWithEvent, scrollWheel, setMenu, setNextResponder, shouldBeTreatedAsInkEvent, showContextHelp, swipeWithEvent, tabletPoint, tabletProximity, touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent, touchesMovedWithEvent, tryToPerform_with, validRequestorForSendType_returnType
 
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.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

NSRuleEditor

public NSRuleEditor()
Method Detail

setDelegate

public abstract void setDelegate(NSRuleEditorDelegate delegate)
Clients can call this method to set and get the delegate for the NSRuleEditor. NSRuleEditor requires a delegate that implements the required NSRuleEditorDelegateMethods methods to function.
Original signature : -(void)setDelegate:(id)
native declaration : NSRuleEditor.h:106


delegate

public abstract NSRuleEditorDelegate delegate()
Original signature : -(id)delegate
native declaration : NSRuleEditor.h:107


setFormattingStringsFilename

public abstract void setFormattingStringsFilename(NSString stringsFilename)
Clients can call this to automatically set a formatting dictionary based on the strings file with the given name. Setting a formatting strings file searches the main bundle, and the bundle containing this nib, for a (possibly localized) strings file resource with the given name, loads it, and sets it as the formatting dictionary. The resulting dictionary can be obtained with -[NSRuleEditor formattingDictionary]. If you set the formatting dictionary explicitly with -[NSRuleEditor setFormattingDictionary:], then it sets the current formattingStringsFilename to nil
Original signature : -(void)setFormattingStringsFilename:(NSString*)
native declaration : NSRuleEditor.h:110


formattingStringsFilename

public abstract NSString formattingStringsFilename()
Original signature : -(NSString*)formattingStringsFilename
native declaration : NSRuleEditor.h:111


setFormattingDictionary

public abstract void setFormattingDictionary(NSDictionary dictionary)
Clients can call this to set (and get) a formatting dictionary on the NSRuleEditor. The formatting dictionary should have NSString keys and NSString values. The syntax of the keys and values is the same as the syntax for strings files.
Original signature : -(void)setFormattingDictionary:(NSDictionary*)
native declaration : NSRuleEditor.h:114


formattingDictionary

public abstract NSDictionary formattingDictionary()
Original signature : -(NSDictionary*)formattingDictionary
native declaration : NSRuleEditor.h:115


reloadCriteria

public abstract void reloadCriteria()
Clients can call this to indicate that the available criteria may have changed and should be refetched from the delegate, and the popups recalculated. If any item in a given row is "orphaned" (no longer reported as a child of its previous parent), those rows have their critieria and display values set to valid choices.
Original signature : -(void)reloadCriteria
native declaration : NSRuleEditor.h:118


setNestingMode

public abstract void setNestingMode(NSUInteger mode)
Clients call this to set and get the nesting mode for the NSRuleEditor. This is generally set at view creation time and not modified after. The default is NSRuleEditorNestingModeCompound.
Original signature : -(void)setNestingMode:(NSRuleEditorNestingMode)
native declaration : NSRuleEditor.h:121


nestingMode

public abstract NSUInteger nestingMode()
Original signature : -(NSRuleEditorNestingMode)nestingMode
native declaration : NSRuleEditor.h:122


setRowHeight

public abstract void setRowHeight(org.rococoa.cocoa.CGFloat height)
Clients call this to set and get the height of each row. This method changes the receiver's frame and marks it for redisplay.
Original signature : -(void)setRowHeight:(CGFloat)
native declaration : NSRuleEditor.h:125


rowHeight

public abstract org.rococoa.cocoa.CGFloat rowHeight()
Original signature : -(CGFloat)rowHeight
native declaration : NSRuleEditor.h:126


setEditable

public abstract void setEditable(boolean editable)
Clients call this to set the editable property of the control. Users can only interact with editable NSRuleEditors. The default is YES.
Original signature : -(void)setEditable:(BOOL)
native declaration : NSRuleEditor.h:129


isEditable

public abstract boolean isEditable()
Original signature : -(BOOL)isEditable
native declaration : NSRuleEditor.h:130


setCanRemoveAllRows

public abstract void setCanRemoveAllRows(boolean val)
Rule editors that have the canRemoveAllRows property set to NO prevent the user from emptying the rule editor by deleting all the rows. The rule editor can still be emptied programatically. The default is YES.
Original signature : -(void)setCanRemoveAllRows:(BOOL)
native declaration : NSRuleEditor.h:133


canRemoveAllRows

public abstract boolean canRemoveAllRows()
Original signature : -(BOOL)canRemoveAllRows
native declaration : NSRuleEditor.h:134


predicate

public abstract NSPredicate predicate()
Clients can call this to obtain the predicate for the view if the delegate implements - ruleEditor: predicatePartsForItem: withValue: inRow:row: . If the delegate does not, or if the delegate does not return enough parts to construct a full predicate, this method returns nil.
Original signature : -(NSPredicate*)predicate
native declaration : NSRuleEditor.h:139


reloadPredicate

public abstract void reloadPredicate()
Clients can call this to indicates that the predicate should be generated again from the delegate (by invoking the corresponding delegate method), typically because something has changed (for example, a view's value).
Original signature : -(void)reloadPredicate
native declaration : NSRuleEditor.h:142


predicateForRow

public abstract NSPredicate predicateForRow(NSInteger row)
This method returns the predicate for a given row. Clients should rarely have a need to call this directly, but it can be overridden to perform specialized predicate handling for certain criteria or display values.
Original signature : -(NSPredicate*)predicateForRow:(NSInteger)
native declaration : NSRuleEditor.h:145


numberOfRows

public abstract NSInteger numberOfRows()
Clients can call this to determine the number of rows
Original signature : -(NSInteger)numberOfRows
native declaration : NSRuleEditor.h:150


subrowIndexesForRow

public abstract NSIndexSet subrowIndexesForRow(NSInteger rowIndex)
Clients can call this to determine the immediate subrows of the given row. Pass -1 to get the top-level rows. Rows are numbered starting at 0. If rowIndex is less than -1 or greater than or equal to the number of rows, this raises an NSRangeException.
Original signature : -(NSIndexSet*)subrowIndexesForRow:(NSInteger)
native declaration : NSRuleEditor.h:153


criteriaForRow

public abstract NSArray criteriaForRow(NSInteger row)
Clients call this to obtain all of the currently chosen items for the given row. These are the same items that are returned from the delegate method - ruleEditor: child: forCriterion: withRowType:
Original signature : -(NSArray*)criteriaForRow:(NSInteger)
native declaration : NSRuleEditor.h:156


displayValuesForRow

public abstract NSArray displayValuesForRow(NSInteger row)
Clients call this to obtain all of the chosen values (strings, views, or menu items) for row. These are the same values that are returned from the delegate method - ruleEditor: valueForItem: inRow:
Original signature : -(NSArray*)displayValuesForRow:(NSInteger)
native declaration : NSRuleEditor.h:159


rowForDisplayValue

public abstract NSInteger rowForDisplayValue(ObjCObject displayValue)
Clients call this to map from a display value (string, view, or menu item) back to a row. This method searches each row via pointer equality for the given display value, which may be present as an alternative in a popup menu for that row. It returns the index of the row containing the given value, or NSNotFound. Raises NSInvalidArgumentException if displayValue is nil.
Original signature : -(NSInteger)rowForDisplayValue:(id)
native declaration : NSRuleEditor.h:162


rowTypeForRow

public abstract NSUInteger rowTypeForRow(NSInteger rowIndex)
Clients call this to determine the type of the row. If rowIndex is less than 0 or greater than or equal to the number of rows, this raises an NSRangeException
Original signature : -(NSRuleEditorRowType)rowTypeForRow:(NSInteger)
native declaration : NSRuleEditor.h:165


parentRowForRow

public abstract NSInteger parentRowForRow(NSInteger rowIndex)
Clients call this to determine the parent row of rowIndex. If rowIndex is a root row, this returns -1. If rowIndex is less than 0 or greater than or equal to the number of rows, this raises an NSRangeException
Original signature : -(NSInteger)parentRowForRow:(NSInteger)
native declaration : NSRuleEditor.h:168


addRow

public abstract void addRow(ObjCObject sender)
Adds "initial" rows, or a row to the end - useful as the target for the outside + button
Original signature : -(void)addRow:(id)
native declaration : NSRuleEditor.h:173


insertRowAtIndex_withType_asSubrowOfRow_animate

public abstract void insertRowAtIndex_withType_asSubrowOfRow_animate(NSInteger rowIndex,
                                                                     NSUInteger rowType,
                                                                     NSInteger parentRow,
                                                                     boolean shouldAnimate)
Clients call this to add a new row at the given index with the given type as a subrow of the parent row. Pass -1 to indicate that it should be a root row. If parentRow >= rowIndex, or if rowIndex would fall amongst the children of some other parent, or if the nesting mode forbids this configuration, an NSInvalidArgumentException is raised.
Original signature : -(void)insertRowAtIndex:(NSInteger) withType:(NSRuleEditorRowType) asSubrowOfRow:(NSInteger) animate:(BOOL)
native declaration : NSRuleEditor.h:176


setCriteria_andDisplayValues_forRowAtIndex

public abstract void setCriteria_andDisplayValues_forRowAtIndex(NSArray criteria,
                                                                NSArray values,
                                                                NSInteger rowIndex)
Clients call this to modify the row at a given index to contain the passed-in items and values. It is your responsibility to ensure that each item in the array is a child of the previous item, and that the first item is a root item for the row type. If the last item has child items, then the items array will be extended by querying the delegate for child items until a childless item is reached. If the values array contains fewer objects than the (possibly extended) criteria array, then the delegate will be queried to construct the remaining display values. If you want the delegate to be queried for all the criteria or all the display values, pass empty arrays; do not pass nil. Raises NSRangeException if rowIndex is equal to or larger than the number of rows, or less than 0. Raises an NSInvalidArgumentException if criteria or values is nil.
Original signature : -(void)setCriteria:(NSArray*) andDisplayValues:(NSArray*) forRowAtIndex:(NSInteger)
native declaration : NSRuleEditor.h:179


removeRowAtIndex

public abstract void removeRowAtIndex(NSInteger rowIndex)
Clients call this to remove the row at the given index. Any subrows of the deleted row are adopted by the parent of the deleted row, or are made root rows. Raises NSRangeException if rowIndex is equal to or larger than the number of rows, or less than 0.
Original signature : -(void)removeRowAtIndex:(NSInteger)
native declaration : NSRuleEditor.h:182


removeRowsAtIndexes_includeSubrows

public abstract void removeRowsAtIndexes_includeSubrows(NSIndexSet rowIndexes,
                                                        boolean includeSubrows)
Clients call this to delete rows at the given indexes. If includeSubrows is YES, then the subrows of the deleted rows will be deleted as well; if includeSubrows is NO, then each subrow will be adopted by its first non-deleted ancestor, or will become a root row. Raises NSRangeException if any index in rowIndexes is equal to or larger than the number of rows, or less than 0.
Original signature : -(void)removeRowsAtIndexes:(NSIndexSet*) includeSubrows:(BOOL)
native declaration : NSRuleEditor.h:185


selectedRowIndexes

public abstract NSIndexSet selectedRowIndexes()
Clients call this to determine the indexes of the selected rows.
Original signature : -(NSIndexSet*)selectedRowIndexes
native declaration : NSRuleEditor.h:188


selectRowIndexes_byExtendingSelection

public abstract void selectRowIndexes_byExtendingSelection(NSIndexSet indexes,
                                                           boolean extend)
Clients call this to modify the selected row indexes. Raises NSRangeException if any index in rowIndexes is equal to or larger than the number of rows, or less than 0.
Original signature : -(void)selectRowIndexes:(NSIndexSet*) byExtendingSelection:(BOOL)
native declaration : NSRuleEditor.h:191


setRowClass

public abstract void setRowClass(ObjCClass rowClass)
Sets the class used when creating a new row in the "rows" binding; this class should be KVC and KVO compliant for the key paths listed below. By default this is NSMutableDictionary
Original signature : -(void)setRowClass:(Class)
native declaration : NSRuleEditor.h:196


rowClass

public abstract ObjCClass rowClass()
Original signature : -(Class)rowClass
native declaration : NSRuleEditor.h:197


setRowTypeKeyPath

public abstract void setRowTypeKeyPath(NSString keyPath)
Set and get the key path for the row type, which is used to get the row type in the "rows" binding. The row type is a value property of type NSRuleEditorRowType. The default is @"rowType".
Original signature : -(void)setRowTypeKeyPath:(NSString*)
native declaration : NSRuleEditor.h:200


rowTypeKeyPath

public abstract NSString rowTypeKeyPath()
Original signature : -(NSString*)rowTypeKeyPath
native declaration : NSRuleEditor.h:201


setSubrowsKeyPath

public abstract void setSubrowsKeyPath(NSString keyPath)
Set and get the key path for the subrows, which is used to determined nested rows in the "rows" binding. The subrows property is an ordered to-many relationship containing additional bound row objects. The default is @"subrows".
Original signature : -(void)setSubrowsKeyPath:(NSString*)
native declaration : NSRuleEditor.h:204


subrowsKeyPath

public abstract NSString subrowsKeyPath()
Original signature : -(NSString*)subrowsKeyPath
native declaration : NSRuleEditor.h:205


setCriteriaKeyPath

public abstract void setCriteriaKeyPath(NSString keyPath)
Set and get the criteria key path, which determines the criteria for a row in the "rows" binding. (The criteria objects are what the delegate returns from - ruleEditor: child: forCriterion: withRowType:). The criteria property is an ordered to-many relationship. The default is @"criteria".
Original signature : -(void)setCriteriaKeyPath:(NSString*)
native declaration : NSRuleEditor.h:208


criteriaKeyPath

public abstract NSString criteriaKeyPath()
Original signature : -(NSString*)criteriaKeyPath
native declaration : NSRuleEditor.h:209


setDisplayValuesKeyPath

public abstract void setDisplayValuesKeyPath(NSString keyPath)
Set and get the display values key path, which determines the display values for a row (the display values are what the delegate returns from - ruleEditor: displayValueForCriterion: inRow:). The criteria property is an ordered to-many relationship. The default is @"displayValues".
Original signature : -(void)setDisplayValuesKeyPath:(NSString*)
native declaration : NSRuleEditor.h:212


displayValuesKeyPath

public abstract NSString displayValuesKeyPath()
Original signature : -(NSString*)displayValuesKeyPath
native declaration : NSRuleEditor.h:213


alloc

public static NSRuleEditor alloc()

new_

public static NSRuleEditor new_()

getNSClass

public static NSRuleEditor._class_ getNSClass()


Copyright © 2009. All Rights Reserved.