org.rococoa.cocoa.appkit
Class NSPathControl

java.lang.Object
  extended by org.rococoa.cocoa.foundation.NSObject
      extended by org.rococoa.cocoa.appkit.NSResponder
          extended by org.rococoa.cocoa.appkit.NSView
              extended by org.rococoa.cocoa.appkit.NSControl
                  extended by org.rococoa.cocoa.appkit.NSPathControl
All Implemented Interfaces:
NSCoding, NSObject, ObjCObject

public abstract class NSPathControl
extends NSControl

NSPathControl
The NSPathControl is closely tied to the NSPathCell and NSPathComponentCell. See those classes for more detailed information.
To accept drag and drop, the NSPathControl automatically calls registerForDraggedTypes: with NSFilenamesPboardType and NSURLPboardType.
When the URL value in the NSPathControl changes from an automatic drag and drop operation, or from the user selecting a new path via the open panel, the action is sent, but the clickedPathComponentCell will be nil.
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.


Nested Class Summary
static class NSPathControl._class_
           
 
Nested classes/interfaces inherited from class org.rococoa.cocoa.appkit.NSControl
NSControl.__conFlags
 
Nested classes/interfaces inherited from class org.rococoa.cocoa.appkit.NSView
NSView.__VFlags2
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding
NSCoding._static_
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
NSObject._static_
 
Constructor Summary
NSPathControl()
           
 
Method Summary
static NSPathControl alloc()
           
abstract  NSColor backgroundColor()
          Original signature : -(NSColor*)backgroundColor
native declaration : NSPathControl.h:57
abstract  NSPathComponentCell clickedPathComponentCell()
          Original signature : -(NSPathComponentCell*)clickedPathComponentCell
native declaration : NSPathControl.h:49
abstract  NSPathControlDelegate delegate()
          Gets and sets the delegate for this control.
abstract  Selector doubleAction()
          Original signature : -(SEL)doubleAction
native declaration : NSPathControl.h:43
static NSPathControl._class_ getNSClass()
           
abstract  NSMenu menu()
          Original signature : -(NSMenu*)menu
native declaration : NSPathControl.h:72
static NSPathControl new_()
           
abstract  NSArray pathComponentCells()
          Original signature : -(NSArray*)pathComponentCells
native declaration : NSPathControl.h:51
abstract  NSObject pathStyle()
          Original signature : -(id)pathStyle
native declaration : NSPathControl.h:46
abstract  void setBackgroundColor(NSColor color)
          The background color to be drawn; this is a cover method for the contained cell.
abstract  void setDelegate(NSPathControlDelegate delegate)
          Original signature : -(void)setDelegate:(id)
native declaration : NSPathControl.h:62
abstract  void setDoubleAction(Selector action)
          Original signature : -(void)setDoubleAction:(SEL)
native declaration : NSPathControl.h:44
abstract  void setDraggingSourceOperationMask_forLocal(NSUInteger mask, boolean isLocal)
          Configures the default value returned from -draggingSourceOperationMaskForLocal:.
abstract  void setMenu(NSMenu menu)
          NSPathControl overrides the default NSView implementation of menu/setMenu: and forwards the method call to the cell.
abstract  void setPathComponentCells(NSArray cells)
          Original signature : -(void)setPathComponentCells:(NSArray*)
native declaration : NSPathControl.h:52
abstract  void setURL(NSURL url)
          Original signature : -(void)setURL:(NSURL*)
native declaration : NSPathControl.h:41
abstract  NSURL URL()
          Original signature : -(NSURL*)URL
native declaration : NSPathControl.h:40
 
Methods inherited from class org.rococoa.cocoa.appkit.NSControl
abortEditing, action, alignment, as_NSControl_NSKeyboardUI, baseWritingDirection, calcSize, cell, currentEditor, doubleValue, drawCell, drawCellInside, floatValue, font, formatter, ignoresMultiClick, integerValue, intValue, isContinuous, isEnabled, mouseDown, objectValue, selectCell, selectedCell, selectedTag, sendAction_to, sendActionOn, setAction, setCell, setContinuous, setDoubleValue, setEnabled, setFloatValue, setFont, setFormatter, setIgnoresMultiClick, setIntegerValue, setIntValue, setNeedsDisplay, 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, as_NSView_NSClipViewSuperview, as_NSView_NSRulerMarkerClientViewDelegation, as_NSView_NSViewEnclosingMenuItem, 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, as_NSResponder_NSErrorPresentation, as_NSResponder_NSInterfaceStyle, as_NSResponder_NSKeyboardUI, as_NSResponder_NSStandardKeyBindingMethods, as_NSResponder_NSUndoSupport, becomeFirstResponder, beginGestureWithEvent, cursorUpdate, endGestureWithEvent, flagsChanged, flushBufferedKeyEvents, helpRequested, interpretKeyEvents, keyDown, keyUp, magnifyWithEvent, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseUp, nextResponder, noResponderFor, otherMouseDown, otherMouseDragged, otherMouseUp, performKeyEquivalent, resignFirstResponder, rightMouseDown, rightMouseDragged, rightMouseUp, rotateWithEvent, scrollWheel, setNextResponder, shouldBeTreatedAsInkEvent, showContextHelp, swipeWithEvent, tabletPoint, tabletProximity, touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent, touchesMovedWithEvent, tryToPerform_with, validRequestorForSendType_returnType
 
Methods inherited from class org.rococoa.cocoa.foundation.NSObject
as_NSObject_NSAccessibility, as_NSObject_NSAccessibilityAdditions, as_NSObject_NSApplicationScriptingDelegation, as_NSObject_NSArchiverCallback, as_NSObject_NSClassDescriptionPrimitives, as_NSObject_NSCoderMethods, as_NSObject_NSColorPanelResponderMethod, as_NSObject_NSComparisonMethods, as_NSObject_NSControlSubclassNotifications, as_NSObject_NSCopyLinkMoveHandler, as_NSObject_NSDelayedPerforming, as_NSObject_NSDeprecatedKeyValueCoding, as_NSObject_NSDeprecatedKeyValueObservingCustomization, as_NSObject_NSDeprecatedMethods, as_NSObject_NSDictionaryControllerKeyValuePair, as_NSObject_NSDistributedObjects, as_NSObject_NSDraggingDestination, as_NSObject_NSDraggingSource, as_NSObject_NSDraggingSourceDeprecated, as_NSObject_NSEditor, as_NSObject_NSEditorRegistration, as_NSObject_NSErrorRecoveryAttempting, as_NSObject_NSFileManagerFileOperationAdditions, as_NSObject_NSFontManagerDelegate, as_NSObject_NSFontManagerResponderMethod, as_NSObject_NSFontPanelValidationAdditions, as_NSObject_NSKeyValueBindingCreation, as_NSObject_NSKeyValueCoding, as_NSObject_NSKeyValueObserverNotification, as_NSObject_NSKeyValueObserverRegistration, as_NSObject_NSKeyValueObserving, as_NSObject_NSKeyValueObservingCustomization, as_NSObject_NSMenuValidation, as_NSObject_NSNibAwaking, as_NSObject_NSPasteboardOwner, as_NSObject_NSPlaceholders, as_NSObject_NSScriptClassDescription, as_NSObject_NSScripting, as_NSObject_NSScriptingComparisonMethods, as_NSObject_NSScriptKeyValueCoding, as_NSObject_NSScriptObjectSpecifiers, as_NSObject_NSThreadPerformAdditions, as_NSObject_NSURLClient, as_NSObject_NSURLConnectionDelegate, as_NSObject_NSURLDownloadDelegate, copy, create, dealloc, description, doesNotRecognizeSelector, finalize, forwardingTargetForSelector, forwardInvocation, init, isKindOfClass, isKindOfClass, methodForSelector, methodSignatureForSelector, mutableCopy, release, retain, retainCount
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding
encodeWithCoder, initWithCoder
 
Methods inherited from interface org.rococoa.ObjCObject
id
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
autorelease, class_, conformsToProtocol, hash, isEqual, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, superclass, zone
 

Constructor Detail

NSPathControl

public NSPathControl()
Method Detail

URL

public abstract NSURL URL()
Original signature : -(NSURL*)URL
native declaration : NSPathControl.h:40


setURL

public abstract void setURL(NSURL url)
Original signature : -(void)setURL:(NSURL*)
native declaration : NSPathControl.h:41


doubleAction

public abstract Selector doubleAction()
Original signature : -(SEL)doubleAction
native declaration : NSPathControl.h:43


setDoubleAction

public abstract void setDoubleAction(Selector action)
Original signature : -(void)setDoubleAction:(SEL)
native declaration : NSPathControl.h:44


pathStyle

public abstract NSObject pathStyle()
Original signature : -(id)pathStyle
native declaration : NSPathControl.h:46


clickedPathComponentCell

public abstract NSPathComponentCell clickedPathComponentCell()
Original signature : -(NSPathComponentCell*)clickedPathComponentCell
native declaration : NSPathControl.h:49


pathComponentCells

public abstract NSArray pathComponentCells()
Original signature : -(NSArray*)pathComponentCells
native declaration : NSPathControl.h:51


setPathComponentCells

public abstract void setPathComponentCells(NSArray cells)
Original signature : -(void)setPathComponentCells:(NSArray*)
native declaration : NSPathControl.h:52


setBackgroundColor

public abstract void setBackgroundColor(NSColor color)
The background color to be drawn; this is a cover method for the contained cell. NSControl will return the result from isOpaque from the contained cell. The NSPathCell in an NSPathControl will return YES from isOpaque if the backgroundColor of the cell has an alphaComponent of 1.0, and NO otherwise.
Original signature : -(void)setBackgroundColor:(NSColor*)
native declaration : NSPathControl.h:56


backgroundColor

public abstract NSColor backgroundColor()
Original signature : -(NSColor*)backgroundColor
native declaration : NSPathControl.h:57


delegate

public abstract NSPathControlDelegate delegate()
Gets and sets the delegate for this control. The delegate is not retained.
Original signature : -(id)delegate
native declaration : NSPathControl.h:61


setDelegate

public abstract void setDelegate(NSPathControlDelegate delegate)
Original signature : -(void)setDelegate:(id)
native declaration : NSPathControl.h:62


setDraggingSourceOperationMask_forLocal

public abstract void setDraggingSourceOperationMask_forLocal(NSUInteger mask,
                                                             boolean isLocal)
Configures the default value returned from -draggingSourceOperationMaskForLocal:. An 'isLocal' value of YES indicates that 'mask' applies when the destination object is in the same application. An 'isLocal' value of NO indicates that 'mask' applies when the destination object in a destination object outside the receiver's application. By default, -draggingSourceOperationMaskForLocal: returns NSDragOperationEvery when 'isLocal' is YES, and NSDragOperationNone when 'isLocal' is NO.
Original signature : -(void)setDraggingSourceOperationMask:(NSDragOperation) forLocal:(BOOL)
native declaration : NSPathControl.h:67


setMenu

public abstract void setMenu(NSMenu menu)
NSPathControl overrides the default NSView implementation of menu/setMenu: and forwards the method call to the cell.
Original signature : -(void)setMenu:(NSMenu*)
native declaration : NSPathControl.h:71

Specified by:
setMenu in class NSResponder

menu

public abstract NSMenu menu()
Original signature : -(NSMenu*)menu
native declaration : NSPathControl.h:72

Specified by:
menu in class NSResponder

alloc

public static NSPathControl alloc()

new_

public static NSPathControl new_()

getNSClass

public static NSPathControl._class_ getNSClass()


Copyright © 2009. All Rights Reserved.