id accessibleHandle(Accessible accessible) { if (accessible.delegate != null) return accessible.delegate; if (accessible.control != null) { NSView view = accessible.control.view; long /*int*/ handle = OS.objc_msgSend(view.id, OS.sel_accessibleHandle); return new id(handle); } return null; }
public id initWithName(NSString name) { long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_initWithName_, name != null ? name.id : 0); return result != 0 ? new id(result) : null; }
public id objectAtIndex(long /*int*/ index) { long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_objectAtIndex_, index); return result != 0 ? new id(result) : null; }
public id target() { long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_target); return result != 0 ? new id(result) : null; }
public id valueForKey(NSString key) { long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_valueForKey_, key != null ? key.id : 0); return result != 0 ? new id(result) : null; }
public static id decimalDigitCharacterSet() { long /*int*/ result = OS.objc_msgSend(OS.class_NSCharacterSet, OS.sel_decimalDigitCharacterSet); return result != 0 ? new id(result) : null; }
public static id indexSetWithIndex(long /*int*/ value) { long /*int*/ result = OS.objc_msgSend(OS.class_NSMutableIndexSet, OS.sel_indexSetWithIndex_, value); return result != 0 ? new id(result) : null; }
public static id unarchiveObjectWithData(NSData data) { long /*int*/ result = OS.objc_msgSend(OS.class_NSKeyedUnarchiver, OS.sel_unarchiveObjectWithData_, data != null ? data.id : 0); return result != 0 ? new id(result) : null; }
public id validRequestorForSendType(NSString sendType, NSString returnType) { long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_validRequestorForSendType_returnType_, sendType != null ? sendType.id : 0, returnType != null ? returnType.id : 0); return result != 0 ? new id(result) : null; }
public id attribute(NSString attrName, long /*int*/ location, long /*int*/ range) { long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_attribute_atIndex_effectiveRange_, attrName != null ? attrName.id : 0, location, range); return result != 0 ? new id(result) : null; }
public id objectForInfoDictionaryKey(NSString key) { long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_objectForInfoDictionaryKey_, key != null ? key.id : 0); return result != 0 ? new id(result) : null; }
public id delegate() { long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_delegate); return result != 0 ? new id(result) : null; }
public id target() { long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_target); return result != 0 ? new id(result) : null; }
public static id indexSetWithIndex(long /*int*/ value) { long /*int*/ result = OS.objc_msgSend(OS.class_NSIndexSet, OS.sel_indexSetWithIndex_, value); return result != 0 ? new id(result) : null; }
public id device() { long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_device); return result != 0 ? new id(result) : null; }
public id accessibilityAttributeValue(NSString attribute, id parameter) { long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_accessibilityAttributeValue_forParameter_, attribute != null ? attribute.id : 0, parameter != null ? parameter.id : 0); return result != 0 ? new id(result) : null; }
public id mutableCopy() { long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_mutableCopy); return result != 0 ? new id(result) : null; }
public id target() { long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_target); return result != 0 ? new id(result) : null; }
void tableView_didClickTableColumn (long /*int*/ id, long /*int*/ sel, long /*int*/ tableView, long /*int*/ tableColumn) { TableColumn column = getColumn (new id (tableColumn)); if (column == null) return; /* either CHECK column or firstColumn in 0-column Table */ column.sendSelectionEvent (SWT.Selection); }
boolean outlineView_shouldTrackCell_forTableColumn_item(long /*int*/ id, long /*int*/ sel, long /*int*/ table, long /*int*/ cell, long /*int*/ tableColumn, long /*int*/ item) { if ((style & SWT.CHECK) != 0) { if (new NSCell(cell).isKindOfClass(OS.class_NSButtonCell)) return true; } NSOutlineView widget = (NSOutlineView)view; long /*int*/ rowIndex = widget.rowForItem(new id(item)); return widget.isRowSelected(rowIndex); }