Package org.eclipse.swt.internal.cocoa
Class NSTableView
- java.lang.Object
-
- Direct Known Subclasses:
NSOutlineView
,SWTTableView
public class NSTableView extends NSControl
-
-
Constructor Summary
Constructors Constructor Description NSTableView()
NSTableView(long id)
NSTableView(id id)
-
Method Summary
-
Methods inherited from class org.eclipse.swt.internal.cocoa.NSControl
abortEditing, action, cell, currentEditor, doubleValue, font, isEnabled, isHighlighted, sendAction, setAction, setAlignment, setBaseWritingDirection, setCell, setDoubleValue, setEnabled, setFont, setFormatter, setStringValue, setTarget, sizeToFit, stringValue, target
-
Methods inherited from class org.eclipse.swt.internal.cocoa.NSView
acceptsFirstMouse, addSubview, addSubview, addToolTipRect, beginDocument, beginPageInRect, bitmapImageRepForCachingDisplayInRect, bounds, cacheDisplayInRect, canBecomeKeyView, convertPoint_fromView_, convertPoint_toView_, convertRect_fromView_, convertRect_toView_, discardCursorRects, display, displayIfNeeded, displayRectIgnoringOpacity, dragImage, drawRect, endDocument, endPage, frame, hitTest, initWithFrame, isDescendantOf, isFlipped, isHidden, isHiddenOrHasHiddenAncestor, isOpaque, layer, lockFocus, lockFocusIfCanDraw, menuForEvent, mouse, mouseDownCanMoveWindow, needsPanelToBecomeKey, registerForDraggedTypes, removeFromSuperview, removeToolTip, removeTrackingArea, resetCursorRects, scrollClipView, scrollPoint, scrollRect, setAcceptsTouchEvents, setAutoresizesSubviews, setAutoresizingMask, setBoundsRotation, setBoundsSize, setFocusRingType, setFrame, setFrameOrigin, setFrameSize, setHidden, setNeedsDisplay, setNeedsDisplayInRect, setToolTip, setWantsRestingTouches, shouldDelayWindowOrderingForEvent, subviews, superview, trackingAreas, unlockFocus, unregisterDraggedTypes, updateTrackingAreas, viewDidMoveToWindow, viewWillMoveToWindow, visibleRect, window
-
Methods inherited from class org.eclipse.swt.internal.cocoa.NSResponder
acceptsFirstResponder, becomeFirstResponder, cancelOperation, cursorUpdate, doCommandBySelector, flagsChanged, helpRequested, interpretKeyEvents, keyDown, keyUp, magnifyWithEvent, mouseDown, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseUp, noResponderFor, otherMouseDown, otherMouseDragged, otherMouseUp, pageDown, pageUp, performKeyEquivalent, resignFirstResponder, rightMouseDown, rightMouseDragged, rightMouseUp, rotateWithEvent, scrollWheel, swipeWithEvent, touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent, touchesMovedWithEvent, undoManager, validRequestorForSendType
-
Methods inherited from class org.eclipse.swt.internal.cocoa.NSObject
accessibilityAttributeValue, accessibilitySetOverrideValue, addEventListener, alloc, autorelease, cancelAuthenticationChallenge, className, conformsToProtocol, copy, description, draggedImage, draggingDestinationWindow, draggingLocation, draggingPasteboard, draggingSourceOperationMask, handleEvent, init, isEqual, isKindOfClass, mutableCopy, outlineView, outlineView, outlineView, performSelector, performSelectorOnMainThread, readSelectionFromPasteboard, release, respondsToSelector, retain, retainCount, setValue, superclass, tableView, tableView, useCredential, valueForKey, writeSelectionToPasteboard
-
Methods inherited from class org.eclipse.swt.internal.cocoa.id
equals, hashCode, objc_getClass, toString
-
-
-
-
Constructor Detail
-
NSTableView
public NSTableView()
-
NSTableView
public NSTableView(long id)
-
NSTableView
public NSTableView(id id)
-
-
Method Detail
-
addTableColumn
public void addTableColumn(NSTableColumn tableColumn)
-
canDragRowsWithIndexes
public boolean canDragRowsWithIndexes(NSIndexSet rowIndexes, NSPoint mouseDownPoint)
-
clickedColumn
public long clickedColumn()
-
clickedRow
public long clickedRow()
-
columnAtPoint
public long columnAtPoint(NSPoint point)
-
deselectAll
public void deselectAll(id sender)
-
deselectRow
public void deselectRow(long row)
-
dragImageForRowsWithIndexes
public NSImage dragImageForRowsWithIndexes(NSIndexSet dragRows, NSArray tableColumns, NSEvent dragEvent, long dragImageOffset)
-
drawBackgroundInClipRect
public void drawBackgroundInClipRect(NSRect clipRect)
-
frameOfCellAtColumn
public NSRect frameOfCellAtColumn(long column, long row)
-
headerView
public NSTableHeaderView headerView()
-
highlightSelectionInClipRect
public void highlightSelectionInClipRect(NSRect clipRect)
-
intercellSpacing
public NSSize intercellSpacing()
-
isRowSelected
public boolean isRowSelected(long row)
-
moveColumn
public void moveColumn(long oldIndex, long newIndex)
-
noteNumberOfRowsChanged
public void noteNumberOfRowsChanged()
-
numberOfColumns
public long numberOfColumns()
-
numberOfRows
public long numberOfRows()
-
numberOfSelectedRows
public long numberOfSelectedRows()
-
preparedCellAtColumn
public NSCell preparedCellAtColumn(long column, long row)
-
rectOfColumn
public NSRect rectOfColumn(long column)
-
rectOfRow
public NSRect rectOfRow(long row)
-
reloadData
public void reloadData()
-
removeTableColumn
public void removeTableColumn(NSTableColumn tableColumn)
-
rowAtPoint
public long rowAtPoint(NSPoint point)
-
rowHeight
public double rowHeight()
-
scrollColumnToVisible
public void scrollColumnToVisible(long column)
-
scrollRowToVisible
public void scrollRowToVisible(long row)
-
selectAll
public void selectAll(id sender)
-
selectRowIndexes
public void selectRowIndexes(NSIndexSet indexes, boolean extend)
-
selectedRow
public long selectedRow()
-
selectedRowIndexes
public NSIndexSet selectedRowIndexes()
-
setAllowsColumnReordering
public void setAllowsColumnReordering(boolean allowsColumnReordering)
-
setAllowsMultipleSelection
public void setAllowsMultipleSelection(boolean allowsMultipleSelection)
-
setBackgroundColor
public void setBackgroundColor(NSColor backgroundColor)
-
setColumnAutoresizingStyle
public void setColumnAutoresizingStyle(long columnAutoresizingStyle)
-
setDataSource
public void setDataSource(id aSource)
-
setDelegate
public void setDelegate(id delegate)
-
setDoubleAction
public void setDoubleAction(long doubleAction)
-
setDropRow
public void setDropRow(long row, long dropOperation)
-
setGridStyleMask
public void setGridStyleMask(long gridStyleMask)
-
setHeaderView
public void setHeaderView(NSTableHeaderView headerView)
-
setHighlightedTableColumn
public void setHighlightedTableColumn(NSTableColumn highlightedTableColumn)
-
setIndicatorImage
public void setIndicatorImage(NSImage anImage, NSTableColumn tableColumn)
-
setIntercellSpacing
public void setIntercellSpacing(NSSize intercellSpacing)
-
setRowHeight
public void setRowHeight(double rowHeight)
-
setUsesAlternatingRowBackgroundColors
public void setUsesAlternatingRowBackgroundColors(boolean usesAlternatingRowBackgroundColors)
-
tableColumns
public NSArray tableColumns()
-
tile
public void tile()
-
usesAlternatingRowBackgroundColors
public boolean usesAlternatingRowBackgroundColors()
-
cellClass
public static long cellClass()
-
setCellClass
public static void setCellClass(long factoryId)
-
-