Up

# NSPathControl class documentation

### Authors

Generated by root

### Contents -

1. Software documentation for the NSPathControl class
2. Software documentation for the NSPathControlDelegate protocol

# Software documentation for the NSPathControl class

## NSPathControl : NSControl

> Declared in:
>   AppKit/NSPathControl.h

Availability: MacOS-X 10.5.0
Description forthcoming.

Instance Variables
Method summary

- -URL
- -allowedTypes
- -backgroundColor
- -clickedPathComponentCell
- -clickedPathItem
- -delegate
- -doubleAction
- -pathComponentCells
- -pathItems
- -pathStyle
- -placeholderAttributedString
- -placeholderString
- -setAllowedTypes:
- -setBackgroundColor:
- -setDelegate:
- -setDoubleAction:
- -setDraggingSourceOperationMask:forLocal:
- -setPathComponentCells:
- -setPathItems:
- -setPathStyle:
- -setPlaceholderAttributedString:
- -setPlaceholderString:
- -setURL:

### URL

- (NSURL*) URL;
Availability: MacOS-X 10.5.0
Description forthcoming.

### allowedTypes

- (NSArray*) allowedTypes;
Availability: MacOS-X 10.5.0
Description forthcoming.

### backgroundColor

- (NSColor*) backgroundColor;
Availability: MacOS-X 10.5.0
Description forthcoming.

### clickedPathComponentCell

- (NSPathComponentCell*) clickedPathComponentCell;
Availability: MacOS-X 10.5.0
Description forthcoming.

### clickedPathItem

- (NSPathControlItem*) clickedPathItem;
Availability: MacOS-X 10.5.0
Description forthcoming.

### delegate

- (id<NSPathControlDelegate>) delegate;
Availability: MacOS-X 10.5.0
Description forthcoming.

### doubleAction

- (SEL) doubleAction;
Availability: MacOS-X 10.5.0
Description forthcoming.

### pathComponentCells

- (NSArray*) pathComponentCells;
Availability: MacOS-X 10.5.0
Description forthcoming.

### pathItems

- (NSArray*) pathItems;
Availability: MacOS-X 10.5.0
Description forthcoming.

### pathStyle

- (NSPathStyle) pathStyle;
Availability: MacOS-X 10.5.0
Description forthcoming.

### placeholderAttributedString

- (NSAttributedString*) placeholderAttributedString;
Availability: MacOS-X 10.5.0
Description forthcoming.

### placeholderString

- (NSString*) placeholderString;
Availability: MacOS-X 10.5.0
Description forthcoming.

### setAllowedTypes:

- (void) setAllowedTypes: (NSArray*)allowedTypes;
Availability: MacOS-X 10.5.0
Description forthcoming.

### setBackgroundColor:

- (void) setBackgroundColor: (NSColor*)color;
Availability: MacOS-X 10.5.0
Description forthcoming.

### setDelegate:

- (void) setDelegate: (id<NSPathControlDelegate>)delegate;
Availability: MacOS-X 10.5.0
Description forthcoming.

### setDoubleAction:

- (void) setDoubleAction: (SEL)doubleAction;
Availability: MacOS-X 10.5.0
Description forthcoming.

### setDraggingSourceOperationMask: forLocal:

- (void) setDraggingSourceOperationMask: (NSDragOperation)mask forLocal: (BOOL)local;
Availability: MacOS-X 10.5.0
Description forthcoming.

### setPathComponentCells:

- (void) setPathComponentCells: (NSArray*)cells;
Availability: MacOS-X 10.5.0
Description forthcoming.

### setPathItems:

- (void) setPathItems: (NSArray*)items;
Availability: MacOS-X 10.5.0
Description forthcoming.

### setPathStyle:

- (void) setPathStyle: (NSPathStyle)style;
Availability: MacOS-X 10.5.0
Description forthcoming.

### setPlaceholderAttributedString:

- (void) setPlaceholderAttributedString: (NSAttributedString*)string;
Availability: MacOS-X 10.5.0
Description forthcoming.

### setPlaceholderString:

- (void) setPlaceholderString: (NSString*)string;
Availability: MacOS-X 10.5.0
Description forthcoming.

### setURL:

- (void) setURL: (NSURL*)url;
Availability: MacOS-X 10.5.0
Description forthcoming.

## Instance Variables for NSPathControl Class

### _delegate

@protected id _delegate;
Availability: MacOS-X 10.5.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _localMask

@protected NSDragOperation _localMask;
Availability: MacOS-X 10.5.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _pathItems

@protected NSArray* _pathItems;
Availability: MacOS-X 10.5.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _remoteMask

@protected NSDragOperation _remoteMask;
Availability: MacOS-X 10.5.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _trackingTag

@protected NSTrackingRectTag _trackingTag;
Availability: MacOS-X 10.5.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

# Software documentation for the NSPathControlDelegate protocol

## NSPathControlDelegate

> Declared in:
>   AppKit/NSPathControl.h

Availability: MacOS-X 10.5.0
Description forthcoming.
Method summary

- -pathControl:acceptDrop:
- -pathControl:shouldDragItem:withPasteboard:
- -pathControl:shouldDragPathComponentCell:withPasteboard:
- -pathControl:validateDrop:
- -pathControl:willDisplayOpenPanel:
- -pathControl:willPopUpMenu:

### pathControl: acceptDrop:

- (BOOL) pathControl: (NSPathControl*)pathControl acceptDrop: (id<NSDraggingInfo>)info;
Availability: MacOS-X 10.5.0
Description forthcoming.

### pathControl: shouldDragItem: withPasteboard:

- (BOOL) pathControl: (NSPathControl*)pathControl shouldDragItem: (NSPathControlItem*)pathItem withPasteboard: (NSPasteboard*)pasteboard;
Availability: MacOS-X 10.5.0
Description forthcoming.

### pathControl: shouldDragPathComponentCell: withPasteboard:

- (BOOL) pathControl: (NSPathControl*)pathControl shouldDragPathComponentCell: (NSPathComponentCell*)pathComponentCell withPasteboard: (NSPasteboard*)pasteboard;
Availability: MacOS-X 10.5.0
Description forthcoming.

### pathControl: validateDrop:

- (NSDragOperation) pathControl: (NSPathControl*)pathControl validateDrop: (id<NSDraggingInfo>)info;
Availability: MacOS-X 10.5.0
Description forthcoming.

### pathControl: willDisplayOpenPanel:

- (void) pathControl: (NSPathControl*)pathControl willDisplayOpenPanel: (NSOpenPanel*)openPanel;
Availability: MacOS-X 10.5.0
Description forthcoming.

### pathControl: willPopUpMenu:

- (void) pathControl: (NSPathControl*)pathControl willPopUpMenu: (NSMenu*)menu;
Availability: MacOS-X 10.5.0
Description forthcoming.

Up