org.rococoa.cocoa.appkit
Class NSMatrix
java.lang.Object
org.rococoa.cocoa.foundation.NSObject
org.rococoa.cocoa.appkit.NSResponder
org.rococoa.cocoa.appkit.NSView
org.rococoa.cocoa.appkit.NSControl
org.rococoa.cocoa.appkit.NSMatrix
- All Implemented Interfaces:
- NSClipViewSuperview, NSControlAttributedStringMethods, NSErrorPresentation, NSInterfaceStyle, NSKeyboardUI, NSRulerMarkerClientViewDelegation, NSStandardKeyBindingMethods, NSUndoSupport, NSViewEnclosingMenuItem, NSAnimatablePropertyContainer, NSUserInterfaceValidations, ABActionDelegate, AMWorkflowControllerDelegate, IMVideoDataSource, NSAccessibility, NSAccessibilityAdditions, NSAnimationDelegate, NSApplicationScriptingDelegation, NSArchiverCallback, NSBrowserDelegate, NSClassDescriptionPrimitives, NSCoderMethods, NSColorPanelResponderMethod, NSComboBoxCellDataSource, NSComboBoxDataSource, NSComboBoxNotifications, NSComparisonMethods, NSConnectionDelegateMethods, NSControlSubclassDelegate, NSControlSubclassNotifications, NSCopyLinkMoveHandler, NSDatePickerCellDelegate, NSDelayedPerforming, NSDeprecatedKeyValueCoding, NSDeprecatedKeyValueObservingCustomization, NSDeprecatedMethods, NSDictionaryControllerKeyValuePair, NSDistantObjectRequestMethods, NSDistributedObjects, NSDraggingDestination, NSDraggingSource, NSDrawerDelegate, NSDrawerNotifications, NSEditor, NSEditorRegistration, NSErrorRecoveryAttempting, NSExceptionHandlerDelegate, NSFileManagerFileOperationAdditions, NSFontManagerDelegate, NSFontManagerResponderMethod, NSFontPanelValidationAdditions, NSImageDelegate, NSKeyedArchiverDelegate, NSKeyedArchiverObjectSubstitution, NSKeyedUnarchiverDelegate, NSKeyedUnarchiverObjectSubstitution, NSKeyValueBindingCreation, NSKeyValueCoding, NSKeyValueObserverNotification, NSKeyValueObserverRegistration, NSKeyValueObserving, NSKeyValueObservingCustomization, NSLayoutManagerDelegate, NSMenuDelegate, NSMenuValidation, NSMetadataQueryDelegate, NSNetServiceBrowserDelegateMethods, NSNetServiceDelegateMethods, NSNibAwaking, NSOutlineViewDataSource, NSOutlineViewDelegate, NSOutlineViewNotifications, NSPasteboardOwner, NSPlaceholders, NSPortDelegateMethods, NSRuleEditorDelegateMethods, NSSavePanelDelegate, NSScriptClassDescription, NSScripting, NSScriptingComparisonMethods, NSScriptKeyValueCoding, NSScriptObjectSpecifiers, NSSoundDelegateMethods, NSSpeechRecognizerDelegate, NSSpeechSynthesizerDelegate, NSSpellServerDelegate, NSSplitViewDelegate, NSStreamDelegateEventExtensions, NSTabViewDelegate, NSTextDelegate, NSTextViewDelegate, NSThreadPerformAdditions, NSTokenFieldCellDelegate, NSTokenFieldDelegate, NSToolbarDelegate, NSToolbarNotifications, NSURLClient, NSURLConnectionDelegate, NSURLDownloadDelegate, NSWindowDelegate, NSWindowNotifications, NSXMLParserDelegateEventAdditions, QTCaptureDecompressedVideoOutputDelegate, QTCaptureFileOutputDelegate, QTCaptureVideoPreviewOutputDelegate, QTCaptureViewDelegate, QTMovieDelegate, QTMovieViewDelegate, SFAuthorizationViewDelegate, SFCertificatePanelDelegate, SFChooseIdentityPanelDelegate, WebDownloadDelegate, WebFrameLoadDelegate, WebJavaPlugIn, WebPlugIn, WebPlugInContainer, WebPolicyDelegate, WebResourceLoadDelegate, WebScripting, WebUIDelegate, WebViewEditingDelegate, NSCoding, NSObject
- Direct Known Subclasses:
- NSForm
public abstract class NSMatrix
- extends NSControl
- implements NSKeyboardUI, NSUserInterfaceValidations
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.
Method Summary |
abstract boolean |
acceptsFirstMouse(NSEvent theEvent)
|
abstract void |
addColumn()
|
abstract void |
addColumnWithCells(NSArray newCells)
|
abstract void |
addRow()
|
abstract void |
addRowWithCells(NSArray newCells)
|
static NSMatrix |
alloc()
|
abstract boolean |
allowsEmptySelection()
|
abstract boolean |
autosizesCells()
|
abstract NSColor |
backgroundColor()
|
abstract NSObject |
cellAtRow_column(int row,
int col)
|
abstract NSColor |
cellBackgroundColor()
|
abstract Pointer |
cellClass()
|
abstract NSObject |
cellFrameAtRow_column(int row,
int col)
|
abstract NSArray |
cells()
|
abstract NSSize.ByValue |
cellSize()
|
abstract NSObject |
cellWithTag(int anInt)
|
abstract NSObject |
delegate()
|
abstract void |
deselectAllCells()
|
abstract void |
deselectSelectedCell()
|
abstract org.rococoa.Selector |
doubleAction()
|
abstract void |
drawCellAtRow_column(int row,
int col)
|
abstract boolean |
drawsBackground()
|
abstract boolean |
drawsCellBackground()
|
abstract void |
getNumberOfRows_columns(IntBuffer rowCount,
IntBuffer colCount)
|
abstract void |
getNumberOfRows_columns(IntByReference rowCount,
IntByReference colCount)
Deprecated. use the safer method getNumberOfRows_columns(java.nio.IntBuffer, java.nio.IntBuffer) instead |
abstract boolean |
getRow_column_ofCell(IntBuffer row,
IntBuffer col,
NSCell aCell)
|
abstract boolean |
getRow_column_ofCell(IntByReference row,
IntByReference col,
NSCell aCell)
Deprecated. use the safer method getRow_column_ofCell(java.nio.IntBuffer, java.nio.IntBuffer, org.rococoa.cocoa.appkit.NSCell) instead |
abstract void |
highlightCell_atRow_column(boolean flag,
int row,
int col)
|
abstract void |
insertColumn_withCells(int column,
NSArray newCells)
|
abstract void |
insertColumn(int column)
|
abstract void |
insertRow_withCells(int row,
NSArray newCells)
|
abstract void |
insertRow(int row)
|
abstract NSSize.ByValue |
intercellSpacing()
|
abstract boolean |
isAutoscroll()
|
abstract boolean |
isSelectionByRect()
|
abstract NSCell |
makeCellAtRow_column(int row,
int col)
|
abstract int |
mode()
|
abstract void |
mouseDown(NSEvent theEvent)
|
abstract int |
mouseDownFlags()
|
abstract int |
numberOfColumns()
|
abstract int |
numberOfRows()
|
abstract boolean |
performKeyEquivalent(NSEvent theEvent)
|
abstract NSObject |
prototype()
|
abstract void |
putCell_atRow_column(NSCell newCell,
int row,
int col)
|
abstract void |
removeColumn(int col)
|
abstract void |
removeRow(int row)
|
abstract void |
renewRows_columns(int newRows,
int newCols)
|
abstract void |
resetCursorRects()
|
abstract void |
scrollCellToVisibleAtRow_column(int row,
int col)
|
abstract void |
selectAll(org.rococoa.ID sender)
|
abstract void |
selectCellAtRow_column(int row,
int col)
|
abstract boolean |
selectCellWithTag(int anInt)
|
abstract NSObject |
selectedCell()
|
abstract NSArray |
selectedCells()
|
abstract int |
selectedColumn()
|
abstract int |
selectedRow()
|
abstract void |
selectText(org.rococoa.ID sender)
|
abstract NSObject |
selectTextAtRow_column(int row,
int col)
|
abstract void |
sendAction_to_forAllCells(org.rococoa.Selector aSelector,
org.rococoa.ID anObject,
boolean flag)
|
abstract boolean |
sendAction()
|
abstract void |
sendDoubleAction()
|
abstract void |
setAllowsEmptySelection(boolean flag)
|
abstract void |
setAutoscroll(boolean flag)
|
abstract void |
setAutosizesCells(boolean flag)
|
abstract void |
setBackgroundColor(NSColor color)
|
abstract void |
setCellBackgroundColor(NSColor color)
|
abstract void |
setCellClass(Pointer factoryId)
|
abstract void |
setCellSize(NSSize.ByValue aSize)
|
abstract void |
setDelegate(org.rococoa.ID anObject)
|
abstract void |
setDoubleAction(org.rococoa.Selector aSelector)
|
abstract void |
setDrawsBackground(boolean flag)
|
abstract void |
setDrawsCellBackground(boolean flag)
|
abstract void |
setIntercellSpacing(NSSize.ByValue aSize)
|
abstract void |
setMode(int aMode)
Original signature : -(void)setMode:(NSMatrixMode)
|
abstract void |
setPrototype(NSCell aCell)
|
abstract void |
setScrollable(boolean flag)
|
abstract void |
setSelectionByRect(boolean flag)
|
abstract void |
setSelectionFrom_to_anchor_highlight(int startPos,
int endPos,
int anchorPos,
boolean lit)
|
abstract void |
setState_atRow_column(int value,
int row,
int col)
|
abstract void |
setToolTip_forCell(NSString toolTipString,
NSCell cell)
|
abstract void |
setValidateSize(boolean flag)
|
abstract void |
sizeToCells()
|
abstract void |
sortUsingFunction_context(NSMatrix.sortUsingFunction_compare__callback compare,
Pointer context)
|
abstract void |
sortUsingSelector(org.rococoa.Selector comparator)
|
abstract void |
textDidBeginEditing(NSNotification notification)
|
abstract void |
textDidChange(NSNotification notification)
Original signature : -(void)textDidChange:(NSNotification*)
Any keyDown or paste which changes the contents causes this |
abstract void |
textDidEndEditing(NSNotification notification)
|
abstract boolean |
textShouldBeginEditing(NSText textObject)
Original signature : -(BOOL)textShouldBeginEditing:(NSText*)
YES means do it |
abstract boolean |
textShouldEndEditing(NSText textObject)
Original signature : -(BOOL)textShouldEndEditing:(NSText*)
YES means do it |
abstract NSString |
toolTipForCell(NSCell cell)
|
Methods inherited from class org.rococoa.cocoa.appkit.NSControl |
abortEditing, action, alignment, baseWritingDirection, calcSize, cell, currentEditor, doubleValue, drawCell, drawCellInside, floatValue, font, formatter, ignoresMultiClick, integerValue, intValue, isContinuous, isEnabled, objectValue, selectCell, selectedTag, sendAction_to, sendActionOn, setAction, setCell, setContinuous, setDoubleValue, setEnabled, setFloatingPointFormat_left_right, setFloatValue, setFont, setFormatter, setIgnoresMultiClick, setIntegerValue, setIntValue, setNeedsDisplay, setObjectValue, 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, 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, becomeFirstResponder, cursorUpdate, flagsChanged, flushBufferedKeyEvents, helpRequested, interpretKeyEvents, keyDown, keyUp, menu, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseUp, nextResponder, noResponderFor, otherMouseDown, otherMouseDragged, otherMouseUp, resignFirstResponder, rightMouseDown, rightMouseDragged, rightMouseUp, scrollWheel, setMenu, setNextResponder, shouldBeTreatedAsInkEvent, showContextHelp, tabletPoint, tabletProximity, tryToPerform_with, validRequestorForSendType_returnType |
Methods inherited from class org.rococoa.cocoa.foundation.NSObject |
copy, create, dealloc, description, doesNotRecognizeSelector, finalize, forwardInvocation, id, init, isKindOfClass, isKindOfClass, methodSignatureForSelector, mutableCopy, release, retain, retainCount |
Methods inherited from interface org.rococoa.cocoa.appkit.categories.NSStandardKeyBindingMethods |
cancelOperation, capitalizeWord, centerSelectionInVisibleArea, changeCaseOfLetter, complete, deleteBackward, deleteBackwardByDecomposingPreviousCharacter, deleteForward, deleteToBeginningOfLine, deleteToBeginningOfParagraph, deleteToEndOfLine, deleteToEndOfParagraph, deleteToMark, deleteWordBackward, deleteWordForward, doCommandBySelector, indent, insertBacktab, insertContainerBreak, insertLineBreak, insertNewline, insertNewlineIgnoringFieldEditor, insertParagraphSeparator, insertTab, insertTabIgnoringFieldEditor, insertText, lowercaseWord, moveBackward, moveBackwardAndModifySelection, moveDown, moveDownAndModifySelection, moveForward, moveForwardAndModifySelection, moveLeft, moveLeftAndModifySelection, moveRight, moveRightAndModifySelection, moveToBeginningOfDocument, moveToBeginningOfLine, moveToBeginningOfParagraph, moveToEndOfDocument, moveToEndOfLine, moveToEndOfParagraph, moveUp, moveUpAndModifySelection, moveWordBackward, moveWordBackwardAndModifySelection, moveWordForward, moveWordForwardAndModifySelection, moveWordLeft, moveWordLeftAndModifySelection, moveWordRight, moveWordRightAndModifySelection, pageDown, pageUp, scrollLineDown, scrollLineUp, scrollPageDown, scrollPageUp, selectLine, selectParagraph, selectToMark, selectWord, setMark, swapWithMark, transpose, transposeWords, uppercaseWord, yank |
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject |
autorelease, class_, conformsToProtocol, hash, isEqual, isKindOfClass, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, superclass, zone |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.WebUIDelegate |
webView_contextMenuItemsForElement_defaultMenuItems, webView_createWebViewModalDialogWithRequest, webView_createWebViewWithRequest, webView_dragDestinationActionMaskForDraggingInfo, webView_dragDestinationActionMaskForDraggingInfo, webView_makeFirstResponder, webView_mouseDidMoveOverElement_modifierFlags, webView_printFrameView, webView_runBeforeUnloadConfirmPanelWithMessage_initiatedByFrame, webView_runJavaScriptAlertPanelWithMessage_initiatedByFrame, webView_runJavaScriptAlertPanelWithMessage, webView_runJavaScriptConfirmPanelWithMessage_initiatedByFrame, webView_runJavaScriptConfirmPanelWithMessage, webView_runJavaScriptTextInputPanelWithPrompt_defaultText_initiatedByFrame, webView_runJavaScriptTextInputPanelWithPrompt_defaultText, webView_runOpenPanelForFileButtonWithResultListener, webView_runOpenPanelForFileButtonWithResultListener, webView_setResizable, webView_setStatusBarVisible, webView_setStatusText, webView_setToolbarsVisible, webView_shouldPerformAction_fromSender, webView_validateUserInterfaceItem_defaultValidation, webView_validateUserInterfaceItem_defaultValidation, webView_willPerformDragDestinationAction_forDraggingInfo, webView_willPerformDragDestinationAction_forDraggingInfo, webViewAreToolbarsVisible, webViewClose, webViewContentRect, webViewFirstResponder, webViewFocus, webViewFooterHeight, webViewFrame, webViewHeaderHeight, webViewIsResizable, webViewIsStatusBarVisible, webViewRunModal, webViewShow, webViewStatusText, webViewUnfocus |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSBrowserDelegate |
browser_acceptDrop_atRow_column_dropOperation, browser_acceptDrop_atRow_column_dropOperation, browser_canDragRowsWithIndexes_inColumn_withEvent, browser_createRowsForColumn_inMatrix, browser_isColumnValid, browser_namesOfPromisedFilesDroppedAtDestination_forDraggedRowsWithIndexes_inColumn, browser_nextTypeSelectMatchFromRow_toRow_inColumn_forString, browser_numberOfRowsInColumn, browser_selectCellWithString_inColumn, browser_selectRow_inColumn, browser_shouldShowCellExpansionForRow_column, browser_shouldSizeColumn_forUserResize_toWidth, browser_shouldTypeSelectForEvent_withCurrentSearchString, browser_sizeToFitWidthOfColumn, browser_titleOfColumn, browser_typeSelectStringForRow_inColumn, browser_validateDrop_proposedRow_column_dropOperation, browser_validateDrop_proposedRow_column_dropOperation, browser_willDisplayCell_atRow_column, browser_writeRowsWithIndexes_inColumn_toPasteboard, browserColumnConfigurationDidChange, browserDidScroll, browserWillScroll |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSKeyValueCoding |
dictionaryWithValuesForKeys, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, setNilValueForKey, setValue_forKey, setValue_forKeyPath, setValue_forUndefinedKey, setValuesForKeysWithDictionary, validateValue_forKey_error, validateValue_forKeyPath_error, valueForKey, valueForKeyPath, valueForUndefinedKey |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSOutlineViewDelegate |
outlineView_dataCellForTableColumn_item, outlineView_didClickTableColumn, outlineView_didDragTableColumn, outlineView_heightOfRowByItem, outlineView_isGroupItem, outlineView_mouseDownInHeaderOfTableColumn, outlineView_nextTypeSelectMatchFromItem_toItem_forString, outlineView_selectionIndexesForProposedSelection, outlineView_shouldCollapseItem, outlineView_shouldEditTableColumn_item, outlineView_shouldExpandItem, outlineView_shouldSelectItem, outlineView_shouldSelectTableColumn, outlineView_shouldShowCellExpansionForTableColumn_item, outlineView_shouldTrackCell_forTableColumn_item, outlineView_shouldTypeSelectForEvent_withCurrentSearchString, outlineView_typeSelectStringForTableColumn_item, outlineView_willDisplayCell_forTableColumn_item, outlineView_willDisplayOutlineCell_forTableColumn_item, selectionShouldChangeInOutlineView |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.WebViewEditingDelegate |
undoManagerForWebView, webView_doCommandBySelector, webView_shouldApplyStyle_toElementsInDOMRange, webView_shouldBeginEditingInDOMRange, webView_shouldChangeTypingStyle_toStyle, webView_shouldDeleteDOMRange, webView_shouldEndEditingInDOMRange, webView_shouldInsertNode_replacingDOMRange_givenAction, webView_shouldInsertText_replacingDOMRange_givenAction, webViewDidBeginEditing, webViewDidChange, webViewDidChangeSelection, webViewDidChangeTypingStyle, webViewDidEndEditing |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.WebFrameLoadDelegate |
webView_didCancelClientRedirectForFrame, webView_didChangeLocationWithinPageForFrame, webView_didClearWindowObject_forFrame, webView_didCommitLoadForFrame, webView_didFailLoadWithError_forFrame, webView_didFailProvisionalLoadWithError_forFrame, webView_didFinishLoadForFrame, webView_didReceiveIcon_forFrame, webView_didReceiveServerRedirectForProvisionalLoadForFrame, webView_didReceiveTitle_forFrame, webView_didStartProvisionalLoadForFrame, webView_willCloseFrame, webView_windowScriptObjectAvailable |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSTokenFieldDelegate |
tokenField_completionsForSubstring_indexOfToken_indexOfSelectedItem, tokenField_completionsForSubstring_indexOfToken_indexOfSelectedItem, tokenField_displayStringForRepresentedObject, tokenField_editingStringForRepresentedObject, tokenField_hasMenuForRepresentedObject, tokenField_menuForRepresentedObject, tokenField_readFromPasteboard, tokenField_representedObjectForEditingString, tokenField_shouldAddObjects_atIndex, tokenField_styleForRepresentedObject, tokenField_writeRepresentedObjects_toPasteboard |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSXMLParserDelegateEventAdditions |
parser_didEndElement_namespaceURI_qualifiedName, parser_didEndMappingPrefix, parser_didStartElement_namespaceURI_qualifiedName_attributes, parser_didStartMappingPrefix_toURI, parser_foundAttributeDeclarationWithName_forElement_type_defaultValue, parser_foundCDATA, parser_foundCharacters, parser_foundComment, parser_foundElementDeclarationWithName_model, parser_foundExternalEntityDeclarationWithName_publicID_systemID, parser_foundIgnorableWhitespace, parser_foundInternalEntityDeclarationWithName_value, parser_foundNotationDeclarationWithName_publicID_systemID, parser_foundProcessingInstructionWithTarget_data, parser_foundUnparsedEntityDeclarationWithName_publicID_systemID_notationName, parser_parseErrorOccurred, parser_resolveExternalEntityName_systemID, parser_validationErrorOccurred, parserDidEndDocument, parserDidStartDocument |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSDraggingDestination |
concludeDragOperation, concludeDragOperation, draggingEnded, draggingEnded, draggingEntered, draggingEntered, draggingExited, draggingExited, draggingUpdated, draggingUpdated, performDragOperation, performDragOperation, prepareForDragOperation, prepareForDragOperation, wantsPeriodicDraggingUpdates |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSOutlineViewDataSource |
outlineView_acceptDrop_item_childIndex, outlineView_acceptDrop_item_childIndex, outlineView_child_ofItem, outlineView_isItemExpandable, outlineView_itemForPersistentObject, outlineView_namesOfPromisedFilesDroppedAtDestination_forDraggedItems, outlineView_numberOfChildrenOfItem, outlineView_objectValueForTableColumn_byItem, outlineView_persistentObjectForItem, outlineView_setObjectValue_forTableColumn_byItem, outlineView_sortDescriptorsDidChange, outlineView_validateDrop_proposedItem_proposedChildIndex, outlineView_validateDrop_proposedItem_proposedChildIndex, outlineView_writeItems_toPasteboard |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSURLDownloadDelegate |
download_decideDestinationWithSuggestedFilename, download_didCancelAuthenticationChallenge, download_didCreateDestination, download_didFailWithError, download_didReceiveAuthenticationChallenge, download_didReceiveDataOfLength, download_didReceiveResponse, download_shouldDecodeSourceDataOfMIMEType, download_willResumeWithResponse_fromByte, download_willSendRequest_redirectResponse, downloadDidBegin, downloadDidFinish |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSAccessibility |
accessibilityActionDescription, accessibilityActionNames, accessibilityAttributeNames, accessibilityAttributeValue_forParameter, accessibilityAttributeValue, accessibilityFocusedUIElement, accessibilityIsAttributeSettable, accessibilityIsIgnored, accessibilityParameterizedAttributeNames, accessibilityPerformAction, accessibilitySetValue_forAttribute |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSTextViewDelegate |
textView_clickedOnLink_atIndex, textView_clickedOnLink, textView_doCommandBySelector, textView_menu_forEvent_atIndex, textView_shouldChangeTextInRanges_replacementStrings, textView_shouldChangeTypingAttributes_toAttributes, textView_willChangeSelectionFromCharacterRanges_toCharacterRanges, textView_willDisplayToolTip_forCharacterAtIndex, textView_writablePasteboardTypesForCell_atIndex, textView_writablePasteboardTypesForCell_atIndex, textView_writeCell_atIndex_toPasteboard_type, textView_writeCell_atIndex_toPasteboard_type, textViewDidChangeSelection, textViewDidChangeTypingAttributes, undoManagerForTextView |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSTokenFieldCellDelegate |
tokenFieldCell_completionsForSubstring_indexOfToken_indexOfSelectedItem, tokenFieldCell_completionsForSubstring_indexOfToken_indexOfSelectedItem, tokenFieldCell_displayStringForRepresentedObject, tokenFieldCell_editingStringForRepresentedObject, tokenFieldCell_hasMenuForRepresentedObject, tokenFieldCell_menuForRepresentedObject, tokenFieldCell_readFromPasteboard, tokenFieldCell_representedObjectForEditingString, tokenFieldCell_shouldAddObjects_atIndex, tokenFieldCell_styleForRepresentedObject, tokenFieldCell_writeRepresentedObjects_toPasteboard |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSWindowNotifications |
windowDidBecomeKey, windowDidBecomeMain, windowDidChangeScreen, windowDidChangeScreenProfile, windowDidDeminiaturize, windowDidEndSheet, windowDidExpose, windowDidMiniaturize, windowDidMove, windowDidResignKey, windowDidResignMain, windowDidResize, windowDidUpdate, windowWillBeginSheet, windowWillClose, windowWillMiniaturize, windowWillMove |
NSMatrix
public NSMatrix()
setCellClass
public abstract void setCellClass(Pointer factoryId)
cellClass
public abstract Pointer cellClass()
prototype
public abstract NSObject prototype()
setPrototype
public abstract void setPrototype(NSCell aCell)
makeCellAtRow_column
public abstract NSCell makeCellAtRow_column(int row,
int col)
mode
public abstract int mode()
setMode
public abstract void setMode(int aMode)
- Original signature :
-(void)setMode:(NSMatrixMode)
- Parameters:
aMode
- @see org.rococoa.cocoa.appkit.AppKitLibrary#NSMatrixMode
setAllowsEmptySelection
public abstract void setAllowsEmptySelection(boolean flag)
allowsEmptySelection
public abstract boolean allowsEmptySelection()
sendAction_to_forAllCells
public abstract void sendAction_to_forAllCells(org.rococoa.Selector aSelector,
org.rococoa.ID anObject,
boolean flag)
cells
public abstract NSArray cells()
sortUsingSelector
public abstract void sortUsingSelector(org.rococoa.Selector comparator)
sortUsingFunction_context
public abstract void sortUsingFunction_context(NSMatrix.sortUsingFunction_compare__callback compare,
Pointer context)
selectedCell
public abstract NSObject selectedCell()
- Specified by:
selectedCell
in class NSControl
selectedCells
public abstract NSArray selectedCells()
selectedRow
public abstract int selectedRow()
selectedColumn
public abstract int selectedColumn()
setSelectionByRect
public abstract void setSelectionByRect(boolean flag)
isSelectionByRect
public abstract boolean isSelectionByRect()
setSelectionFrom_to_anchor_highlight
public abstract void setSelectionFrom_to_anchor_highlight(int startPos,
int endPos,
int anchorPos,
boolean lit)
deselectSelectedCell
public abstract void deselectSelectedCell()
deselectAllCells
public abstract void deselectAllCells()
selectCellAtRow_column
public abstract void selectCellAtRow_column(int row,
int col)
selectAll
public abstract void selectAll(org.rococoa.ID sender)
- Specified by:
selectAll
in interface NSStandardKeyBindingMethods
selectCellWithTag
public abstract boolean selectCellWithTag(int anInt)
cellSize
public abstract NSSize.ByValue cellSize()
setCellSize
public abstract void setCellSize(NSSize.ByValue aSize)
intercellSpacing
public abstract NSSize.ByValue intercellSpacing()
setIntercellSpacing
public abstract void setIntercellSpacing(NSSize.ByValue aSize)
setScrollable
public abstract void setScrollable(boolean flag)
setBackgroundColor
public abstract void setBackgroundColor(NSColor color)
backgroundColor
public abstract NSColor backgroundColor()
setCellBackgroundColor
public abstract void setCellBackgroundColor(NSColor color)
cellBackgroundColor
public abstract NSColor cellBackgroundColor()
setDrawsCellBackground
public abstract void setDrawsCellBackground(boolean flag)
drawsCellBackground
public abstract boolean drawsCellBackground()
setDrawsBackground
public abstract void setDrawsBackground(boolean flag)
drawsBackground
public abstract boolean drawsBackground()
setState_atRow_column
public abstract void setState_atRow_column(int value,
int row,
int col)
getNumberOfRows_columns
@Deprecated
public abstract void getNumberOfRows_columns(IntByReference rowCount,
IntByReference colCount)
- Deprecated. use the safer method
getNumberOfRows_columns(java.nio.IntBuffer, java.nio.IntBuffer)
instead
- Original signature :
-(void)getNumberOfRows:(NSInteger*) columns:(NSInteger*)
getNumberOfRows_columns
public abstract void getNumberOfRows_columns(IntBuffer rowCount,
IntBuffer colCount)
numberOfRows
public abstract int numberOfRows()
numberOfColumns
public abstract int numberOfColumns()
cellAtRow_column
public abstract NSObject cellAtRow_column(int row,
int col)
cellFrameAtRow_column
public abstract NSObject cellFrameAtRow_column(int row,
int col)
getRow_column_ofCell
@Deprecated
public abstract boolean getRow_column_ofCell(IntByReference row,
IntByReference col,
NSCell aCell)
- Deprecated. use the safer method
getRow_column_ofCell(java.nio.IntBuffer, java.nio.IntBuffer, org.rococoa.cocoa.appkit.NSCell)
instead
- Original signature :
-(BOOL)getRow:(NSInteger*) column:(NSInteger*) ofCell:(NSCell*)
getRow_column_ofCell
public abstract boolean getRow_column_ofCell(IntBuffer row,
IntBuffer col,
NSCell aCell)
renewRows_columns
public abstract void renewRows_columns(int newRows,
int newCols)
putCell_atRow_column
public abstract void putCell_atRow_column(NSCell newCell,
int row,
int col)
addRow
public abstract void addRow()
addRowWithCells
public abstract void addRowWithCells(NSArray newCells)
insertRow
public abstract void insertRow(int row)
insertRow_withCells
public abstract void insertRow_withCells(int row,
NSArray newCells)
removeRow
public abstract void removeRow(int row)
addColumn
public abstract void addColumn()
addColumnWithCells
public abstract void addColumnWithCells(NSArray newCells)
insertColumn
public abstract void insertColumn(int column)
insertColumn_withCells
public abstract void insertColumn_withCells(int column,
NSArray newCells)
removeColumn
public abstract void removeColumn(int col)
cellWithTag
public abstract NSObject cellWithTag(int anInt)
doubleAction
public abstract org.rococoa.Selector doubleAction()
setDoubleAction
public abstract void setDoubleAction(org.rococoa.Selector aSelector)
setAutosizesCells
public abstract void setAutosizesCells(boolean flag)
autosizesCells
public abstract boolean autosizesCells()
sizeToCells
public abstract void sizeToCells()
setValidateSize
public abstract void setValidateSize(boolean flag)
drawCellAtRow_column
public abstract void drawCellAtRow_column(int row,
int col)
highlightCell_atRow_column
public abstract void highlightCell_atRow_column(boolean flag,
int row,
int col)
setAutoscroll
public abstract void setAutoscroll(boolean flag)
isAutoscroll
public abstract boolean isAutoscroll()
scrollCellToVisibleAtRow_column
public abstract void scrollCellToVisibleAtRow_column(int row,
int col)
mouseDownFlags
public abstract int mouseDownFlags()
mouseDown
public abstract void mouseDown(NSEvent theEvent)
- Specified by:
mouseDown
in class NSControl
performKeyEquivalent
public abstract boolean performKeyEquivalent(NSEvent theEvent)
- Specified by:
performKeyEquivalent
in class NSResponder
sendAction
public abstract boolean sendAction()
sendDoubleAction
public abstract void sendDoubleAction()
delegate
public abstract NSObject delegate()
setDelegate
public abstract void setDelegate(org.rococoa.ID anObject)
textShouldBeginEditing
public abstract boolean textShouldBeginEditing(NSText textObject)
- Description copied from interface:
NSTextDelegate
- Original signature :
-(BOOL)textShouldBeginEditing:(NSText*)
YES means do it
- Specified by:
textShouldBeginEditing
in interface NSTextDelegate
textShouldEndEditing
public abstract boolean textShouldEndEditing(NSText textObject)
- Description copied from interface:
NSTextDelegate
- Original signature :
-(BOOL)textShouldEndEditing:(NSText*)
YES means do it
- Specified by:
textShouldEndEditing
in interface NSTextDelegate
textDidBeginEditing
public abstract void textDidBeginEditing(NSNotification notification)
- Specified by:
textDidBeginEditing
in interface NSTextDelegate
textDidEndEditing
public abstract void textDidEndEditing(NSNotification notification)
- Specified by:
textDidEndEditing
in interface NSTextDelegate
textDidChange
public abstract void textDidChange(NSNotification notification)
- Description copied from interface:
NSTextDelegate
- Original signature :
-(void)textDidChange:(NSNotification*)
Any keyDown or paste which changes the contents causes this
- Specified by:
textDidChange
in interface NSTextDelegate
selectText
public abstract void selectText(org.rococoa.ID sender)
selectTextAtRow_column
public abstract NSObject selectTextAtRow_column(int row,
int col)
acceptsFirstMouse
public abstract boolean acceptsFirstMouse(NSEvent theEvent)
resetCursorRects
public abstract void resetCursorRects()
setToolTip_forCell
public abstract void setToolTip_forCell(NSString toolTipString,
NSCell cell)
toolTipForCell
public abstract NSString toolTipForCell(NSCell cell)
alloc
public static NSMatrix alloc()