|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rococoa.cocoa.foundation.NSObject
org.rococoa.cocoa.appkit.NSResponder
org.rococoa.cocoa.appkit.NSView
org.rococoa.cocoa.appkit.NSControl
org.rococoa.cocoa.appkit.NSPathControl
public abstract class NSPathControl
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.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 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 |
---|
public NSPathControl()
Method Detail |
---|
public abstract NSURL URL()
-(NSURL*)URL
public abstract void setURL(NSURL url)
-(void)setURL:(NSURL*)
public abstract Selector doubleAction()
-(SEL)doubleAction
public abstract void setDoubleAction(Selector action)
-(void)setDoubleAction:(SEL)
public abstract NSObject pathStyle()
-(id)pathStyle
public abstract NSPathComponentCell clickedPathComponentCell()
-(NSPathComponentCell*)clickedPathComponentCell
public abstract NSArray pathComponentCells()
-(NSArray*)pathComponentCells
public abstract void setPathComponentCells(NSArray cells)
-(void)setPathComponentCells:(NSArray*)
public abstract void setBackgroundColor(NSColor color)
-(void)setBackgroundColor:(NSColor*)
public abstract NSColor backgroundColor()
-(NSColor*)backgroundColor
public abstract NSPathControlDelegate delegate()
-(id)delegate
public abstract void setDelegate(NSPathControlDelegate delegate)
-(void)setDelegate:(id)
public abstract void setDraggingSourceOperationMask_forLocal(NSUInteger mask, boolean isLocal)
-(void)setDraggingSourceOperationMask:(NSDragOperation) forLocal:(BOOL)
public abstract void setMenu(NSMenu menu)
-(void)setMenu:(NSMenu*)
setMenu
in class NSResponder
public abstract NSMenu menu()
-(NSMenu*)menu
menu
in class NSResponder
public static NSPathControl alloc()
public static NSPathControl new_()
public static NSPathControl._class_ getNSClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |