org.rococoa.cocoa.appkit
Class NSPathCell
java.lang.Object
org.rococoa.cocoa.foundation.NSObject
org.rococoa.cocoa.appkit.NSCell
org.rococoa.cocoa.appkit.NSActionCell
org.rococoa.cocoa.appkit.NSPathCell
- All Implemented Interfaces:
- NSCellAttributedStringMethods, NSCellBackgroundStyle, NSCellExpansion, NSCellHitTest, NSCellMixedState, NSKeyboardUI, 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, NSCopying, NSObject
public abstract class NSPathCell
- extends NSActionCell
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 |
static NSPathCell |
alloc()
|
abstract NSArray |
allowedTypes()
Specifies the allowed types when the cell isEditable. |
abstract NSColor |
backgroundColor()
|
abstract NSPathComponentCell |
clickedPathComponentCell()
Returns the clicked cell, or nil, if a no cell has been clicked. |
abstract NSObject |
delegate()
Get and set the delegate. |
abstract org.rococoa.Selector |
doubleAction()
Allows you to set the selector that will be called when the user double clicks on a particular NSPathComponentCell. |
abstract void |
mouseEntered_withFrame_inView(NSEvent event,
NSRect.ByValue frame,
NSView view)
The NSPathCell will dynamically animate to display the component that the mouse is hovering over by using mouseEntered and mouseExited events. |
abstract void |
mouseExited_withFrame_inView(NSEvent event,
NSRect.ByValue frame,
NSView view)
|
static Pointer |
pathComponentCellClass()
Returns the class used to create pathComponentCells when automatically filling up the control. |
abstract NSArray |
pathComponentCells()
The array of NSPathComponentCells currently being displayed. |
abstract int |
pathStyle()
Get and set the mode. |
abstract NSAttributedString |
placeholderAttributedString()
|
abstract NSString |
placeholderString()
|
abstract NSRect.ByValue |
rectOfPathComponentCell_withFrame_inView(NSPathComponentCell cell,
NSRect.ByValue frame,
NSView view)
Returns the current rect being displayed for a particular NSPathComponentCell 'cell', with respect to the 'frame' in 'view'. |
abstract void |
setAllowedTypes(NSArray allowedTypes)
|
abstract void |
setBackgroundColor(NSColor color)
The background color to be drawn. |
abstract void |
setDelegate(org.rococoa.ID value)
|
abstract void |
setDoubleAction(org.rococoa.Selector action)
|
abstract void |
setObjectValue(org.rococoa.ID obj)
Deprecated. use the safer method setObjectValue(org.rococoa.cocoa.foundation.protocols.NSCopying) instead |
abstract void |
setObjectValue(NSCopying obj)
If setObjectValue is called with an NSURL, setURL is automatically called. |
abstract void |
setPathComponentCells(NSArray cells)
Allows you to set the NSPathComponentCells currently being displayed. |
abstract void |
setPathStyle(int style)
|
abstract void |
setPlaceholderAttributedString(NSAttributedString string)
|
abstract void |
setPlaceholderString(NSString string)
If there are no NSPathComponentCells in the NSPathCell, the placeholderAttributedString will be drawn if it is not nil. |
abstract void |
setURL(NSURL url)
|
abstract NSURL |
URL()
Gets and sets the path value displayed. |
Methods inherited from class org.rococoa.cocoa.appkit.NSActionCell |
action, controlView, doubleValue, floatValue, integerValue, intValue, setAction, setBezeled, setBordered, setControlView, setEnabled, setFloatingPointFormat_left_right, setFont, setImage, setTag, setTarget, stringValue, tag, target |
Methods inherited from class org.rococoa.cocoa.appkit.NSCell |
alignment, allowsUndo, baseWritingDirection, cellAttribute, cellSize, compare, controlSize, controlTint, createImageCell, createTextCell, defaultMenu, endEditing, entryType, font, formatter, getPeriodicDelay_interval, getPeriodicDelay_interval, hasValidObjectValue, image, initImageCell, initTextCell, isBezeled, isBordered, isContinuous, isEditable, isEnabled, isEntryAcceptable, isHighlighted, isOpaque, isScrollable, isSelectable, keyEquivalent, lineBreakMode, menu, mouseDownFlags, objectValue, prefersTrackingUntilMouseUp, representedObject, sendActionOn, sendsActionOnEndEditing, setAllowsUndo, setCellAttribute_to, setContinuous, setControlSize, setControlTint, setDoubleValue, setEditable, setEntryType, setFloatValue, setFormatter, setHighlighted, setIntegerValue, setIntValue, setMenu, setRepresentedObject, setScrollable, setSelectable, setSendsActionOnEndEditing, setState, setStringValue, setTitle, setTruncatesLastVisibleLine, setType, setUpFieldEditorAttributes, setWraps, state, takeDoubleValueFrom, takeFloatValueFrom, takeIntegerValueFrom, takeIntValueFrom, takeObjectValueFrom, takeStringValueFrom, title, truncatesLastVisibleLine, type, wraps |
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.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 |
NSPathCell
public NSPathCell()
pathStyle
public abstract int pathStyle()
- Get and set the mode. Defaults to NSPathStyleStandard.
Original signature : -(NSPathStyle)pathStyle
setPathStyle
public abstract void setPathStyle(int style)
URL
public abstract NSURL URL()
- Gets and sets the path value displayed. When setting, an array of NSPathComponentCells will automatically be set based on the path in the 'url'. If the 'url' is a file URL (returns YES from isFileURL), the images will automatically be filled up with file icons, if the path exists. The URL value itself is stored in the objectValue of the cell.
Original signature : -(NSURL*)URL
setURL
public abstract void setURL(NSURL url)
setObjectValue
@Deprecated
public abstract void setObjectValue(org.rococoa.ID obj)
- Deprecated. use the safer method
setObjectValue(org.rococoa.cocoa.foundation.protocols.NSCopying)
instead
- If setObjectValue is called with an NSURL, setURL is automatically called. Calling objectValue will return the last set URL value. setObjectValue can also take a string value, with the items separated by the path separator. Any other value is a programming error and will cause an assertion.
Original signature : -(void)setObjectValue:(id)
- Specified by:
setObjectValue
in class NSActionCell
setObjectValue
public abstract void setObjectValue(NSCopying obj)
- If setObjectValue is called with an NSURL, setURL is automatically called. Calling objectValue will return the last set URL value. setObjectValue can also take a string value, with the items separated by the path separator. Any other value is a programming error and will cause an assertion.
Original signature : -(void)setObjectValue:(id)
- Specified by:
setObjectValue
in class NSActionCell
allowedTypes
public abstract NSArray allowedTypes()
- Specifies the allowed types when the cell isEditable. The allowedTypes can contain a file extension (without the period that begins the extension) or UTI (Uniform Type Identifier). To allow folders, include the UTI 'public.folder'. To allow any types, use 'nil'. If allowedTypes is an empty array, nothing will be allowed. The default value is 'nil', allowing all types.
Original signature : -(NSArray*)allowedTypes
setAllowedTypes
public abstract void setAllowedTypes(NSArray allowedTypes)
delegate
public abstract NSObject delegate()
- Get and set the delegate. Non-retained.
Original signature : -(id)delegate
setDelegate
public abstract void setDelegate(org.rococoa.ID value)
pathComponentCellClass
public static Pointer pathComponentCellClass()
- Returns the class used to create pathComponentCells when automatically filling up the control. Subclassers can override this method to return a custom cell class that will automatically be used. By default, it will return [NSPathComponentCell class], or a specialized subclass thereof.
Original signature : +(Class)pathComponentCellClass
pathComponentCells
public abstract NSArray pathComponentCells()
- The array of NSPathComponentCells currently being displayed.
Original signature : -(NSArray*)pathComponentCells
setPathComponentCells
public abstract void setPathComponentCells(NSArray cells)
- Allows you to set the NSPathComponentCells currently being displayed. Each item must be a NSPathComponentCell or a subclass thereof. You cannot set this value to nil, but should instead set it to an empty array: [NSArray array].
Original signature : -(void)setPathComponentCells:(NSArray*)
rectOfPathComponentCell_withFrame_inView
public abstract NSRect.ByValue rectOfPathComponentCell_withFrame_inView(NSPathComponentCell cell,
NSRect.ByValue frame,
NSView view)
- Returns the current rect being displayed for a particular NSPathComponentCell 'cell', with respect to the 'frame' in 'view'. NSZeroRect will be returned if 'cell' is not found, or it currently is not visible.
Original signature : -(NSRect)rectOfPathComponentCell:(NSPathComponentCell*) withFrame:(NSRect) inView:(NSView*)
clickedPathComponentCell
public abstract NSPathComponentCell clickedPathComponentCell()
- Returns the clicked cell, or nil, if a no cell has been clicked. The clickedPathComponentCell is generally only valid when the action or doubleAction is being sent.
Original signature : -(NSPathComponentCell*)clickedPathComponentCell
mouseEntered_withFrame_inView
public abstract void mouseEntered_withFrame_inView(NSEvent event,
NSRect.ByValue frame,
NSView view)
- The NSPathCell will dynamically animate to display the component that the mouse is hovering over by using mouseEntered and mouseExited events. The control should call these methods to correctly display the hovered component to the user. The control can acquire rects to track using rectOfPathComponentCell:withFrame:inView:.
Original signature : -(void)mouseEntered:(NSEvent*) withFrame:(NSRect) inView:(NSView*)
mouseExited_withFrame_inView
public abstract void mouseExited_withFrame_inView(NSEvent event,
NSRect.ByValue frame,
NSView view)
doubleAction
public abstract org.rococoa.Selector doubleAction()
- Allows you to set the selector that will be called when the user double clicks on a particular NSPathComponentCell.
Original signature : -(SEL)doubleAction
setDoubleAction
public abstract void setDoubleAction(org.rococoa.Selector action)
setBackgroundColor
public abstract void setBackgroundColor(NSColor color)
- The background color to be drawn. By default, it will be set to a light blue color for NSPathStyleStandard, and nil for everything else. You can use [NSColor clearColor] to make the background transparent. NSPathCell will return YES from isOpaque if the backgroundColor has an alphaComponent of 1.0, otherwise, it will return NO. When drawing with the background color, NSCompositeSourceOver is used for the compositing operation.
Original signature : -(void)setBackgroundColor:(NSColor*)
backgroundColor
public abstract NSColor backgroundColor()
setPlaceholderString
public abstract void setPlaceholderString(NSString string)
- If there are no NSPathComponentCells in the NSPathCell, the placeholderAttributedString will be drawn if it is not nil. If it is nil, the placeholderString will be drawn with correct default attributes if it is not nil.
Original signature : -(void)setPlaceholderString:(NSString*)
placeholderString
public abstract NSString placeholderString()
setPlaceholderAttributedString
public abstract void setPlaceholderAttributedString(NSAttributedString string)
placeholderAttributedString
public abstract NSAttributedString placeholderAttributedString()
alloc
public static NSPathCell alloc()