|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rococoa.cocoa.foundation.NSObject
org.rococoa.cocoa.appkit.NSResponder
org.rococoa.cocoa.appkit.NSView
org.rococoa.cocoa.appkit.NSControl
org.rococoa.cocoa.appkit.NSRuleEditor
public abstract class NSRuleEditor
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 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.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 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 |
---|
public NSRuleEditor()
Method Detail |
---|
public abstract void setDelegate(NSRuleEditorDelegate delegate)
-(void)setDelegate:(id)
public abstract NSRuleEditorDelegate delegate()
-(id)delegate
public abstract void setFormattingStringsFilename(NSString stringsFilename)
-(void)setFormattingStringsFilename:(NSString*)
public abstract NSString formattingStringsFilename()
-(NSString*)formattingStringsFilename
public abstract void setFormattingDictionary(NSDictionary dictionary)
-(void)setFormattingDictionary:(NSDictionary*)
public abstract NSDictionary formattingDictionary()
-(NSDictionary*)formattingDictionary
public abstract void reloadCriteria()
-(void)reloadCriteria
public abstract void setNestingMode(NSUInteger mode)
-(void)setNestingMode:(NSRuleEditorNestingMode)
public abstract NSUInteger nestingMode()
-(NSRuleEditorNestingMode)nestingMode
public abstract void setRowHeight(org.rococoa.cocoa.CGFloat height)
-(void)setRowHeight:(CGFloat)
public abstract org.rococoa.cocoa.CGFloat rowHeight()
-(CGFloat)rowHeight
public abstract void setEditable(boolean editable)
-(void)setEditable:(BOOL)
public abstract boolean isEditable()
-(BOOL)isEditable
public abstract void setCanRemoveAllRows(boolean val)
-(void)setCanRemoveAllRows:(BOOL)
public abstract boolean canRemoveAllRows()
-(BOOL)canRemoveAllRows
public abstract NSPredicate predicate()
-(NSPredicate*)predicate
public abstract void reloadPredicate()
-(void)reloadPredicate
public abstract NSPredicate predicateForRow(NSInteger row)
-(NSPredicate*)predicateForRow:(NSInteger)
public abstract NSInteger numberOfRows()
-(NSInteger)numberOfRows
public abstract NSIndexSet subrowIndexesForRow(NSInteger rowIndex)
-(NSIndexSet*)subrowIndexesForRow:(NSInteger)
public abstract NSArray criteriaForRow(NSInteger row)
-(NSArray*)criteriaForRow:(NSInteger)
public abstract NSArray displayValuesForRow(NSInteger row)
-(NSArray*)displayValuesForRow:(NSInteger)
public abstract NSInteger rowForDisplayValue(ObjCObject displayValue)
-(NSInteger)rowForDisplayValue:(id)
public abstract NSUInteger rowTypeForRow(NSInteger rowIndex)
-(NSRuleEditorRowType)rowTypeForRow:(NSInteger)
public abstract NSInteger parentRowForRow(NSInteger rowIndex)
-(NSInteger)parentRowForRow:(NSInteger)
public abstract void addRow(ObjCObject sender)
-(void)addRow:(id)
public abstract void insertRowAtIndex_withType_asSubrowOfRow_animate(NSInteger rowIndex, NSUInteger rowType, NSInteger parentRow, boolean shouldAnimate)
-(void)insertRowAtIndex:(NSInteger) withType:(NSRuleEditorRowType) asSubrowOfRow:(NSInteger) animate:(BOOL)
public abstract void setCriteria_andDisplayValues_forRowAtIndex(NSArray criteria, NSArray values, NSInteger rowIndex)
-(void)setCriteria:(NSArray*) andDisplayValues:(NSArray*) forRowAtIndex:(NSInteger)
public abstract void removeRowAtIndex(NSInteger rowIndex)
-(void)removeRowAtIndex:(NSInteger)
public abstract void removeRowsAtIndexes_includeSubrows(NSIndexSet rowIndexes, boolean includeSubrows)
-(void)removeRowsAtIndexes:(NSIndexSet*) includeSubrows:(BOOL)
public abstract NSIndexSet selectedRowIndexes()
-(NSIndexSet*)selectedRowIndexes
public abstract void selectRowIndexes_byExtendingSelection(NSIndexSet indexes, boolean extend)
-(void)selectRowIndexes:(NSIndexSet*) byExtendingSelection:(BOOL)
public abstract void setRowClass(ObjCClass rowClass)
-(void)setRowClass:(Class)
public abstract ObjCClass rowClass()
-(Class)rowClass
public abstract void setRowTypeKeyPath(NSString keyPath)
-(void)setRowTypeKeyPath:(NSString*)
public abstract NSString rowTypeKeyPath()
-(NSString*)rowTypeKeyPath
public abstract void setSubrowsKeyPath(NSString keyPath)
-(void)setSubrowsKeyPath:(NSString*)
public abstract NSString subrowsKeyPath()
-(NSString*)subrowsKeyPath
public abstract void setCriteriaKeyPath(NSString keyPath)
-(void)setCriteriaKeyPath:(NSString*)
public abstract NSString criteriaKeyPath()
-(NSString*)criteriaKeyPath
public abstract void setDisplayValuesKeyPath(NSString keyPath)
-(void)setDisplayValuesKeyPath:(NSString*)
public abstract NSString displayValuesKeyPath()
-(NSString*)displayValuesKeyPath
public static NSRuleEditor alloc()
public static NSRuleEditor new_()
public static NSRuleEditor._class_ getNSClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |