org.rococoa.cocoa.appkit
Class NSPathCell

java.lang.Object
  extended by org.rococoa.cocoa.foundation.NSObject
      extended by org.rococoa.cocoa.appkit.NSCell
          extended by org.rococoa.cocoa.appkit.NSActionCell
              extended by org.rococoa.cocoa.appkit.NSPathCell
All Implemented Interfaces:
NSOpenSavePanelDelegate, NSWindowDelegate, NSCoding, NSCopying, NSObject, ObjCObject

public abstract class NSPathCell
extends NSActionCell
implements NSOpenSavePanelDelegate

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 NSPathCell._class_
           
static class NSPathCell._piFlags_struct
          native declaration : NSPathCell.h:143
Conversion Error : /**
* The NSPathCell properly respects the controlSize for the NSPathStyleStandard and NSPathStylePopUp styles.
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.appkit.protocols.NSOpenSavePanelDelegate
NSOpenSavePanelDelegate._static_
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSCopying
NSCopying._static_
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding
NSCoding._static_
 
Constructor Summary
NSPathCell()
           
 
Method Summary
static NSPathCell alloc()
           
abstract  NSArray allowedTypes()
          Specifies the allowed types when the cell isEditable.
abstract  NSColor backgroundColor()
          Original signature : -(NSColor*)backgroundColor
native declaration : NSPathCell.h:132
abstract  NSPathComponentCell clickedPathComponentCell()
          Returns the clicked cell, or nil, if a no cell has been clicked.
abstract  NSPathCellDelegate delegate()
          Get and set the delegate.
abstract  Selector doubleAction()
          Allows you to set the selector that will be called when the user double clicks on a particular NSPathComponentCell.
static NSPathCell._class_ getNSClass()
           
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)
          Original signature : -(void)mouseExited:(NSEvent*) withFrame:(NSRect) inView:(NSView*)
native declaration : NSPathCell.h:122
static NSPathCell new_()
           
static ObjCClass 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  NSInteger pathStyle()
          Get and set the mode.
abstract  NSAttributedString placeholderAttributedString()
          Original signature : -(NSAttributedString*)placeholderAttributedString
native declaration : NSPathCell.h:140
abstract  NSString placeholderString()
          Original signature : -(NSString*)placeholderString
native declaration : NSPathCell.h:137
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)
          Original signature : -(void)setAllowedTypes:(NSArray*)
native declaration : NSPathCell.h:88
abstract  void setBackgroundColor(NSColor color)
          The background color to be drawn.
abstract  void setDelegate(NSPathCellDelegate value)
          Original signature : -(void)setDelegate:(id)
native declaration : NSPathCell.h:93
abstract  void setDoubleAction(Selector action)
          Original signature : -(void)setDoubleAction:(SEL)
native declaration : NSPathCell.h:127
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(NSInteger style)
          Original signature : -(void)setPathStyle:(NSPathStyle)
native declaration : NSPathCell.h:74
abstract  void setPlaceholderAttributedString(NSAttributedString string)
          Original signature : -(void)setPlaceholderAttributedString:(NSAttributedString*)
native declaration : NSPathCell.h:139
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)
          Original signature : -(void)setURL:(NSURL*)
native declaration : NSPathCell.h:79
abstract  NSURL URL()
          Gets and sets the path value displayed.
 
Methods inherited from class org.rococoa.cocoa.appkit.NSActionCell
action, setAction, setTag, setTarget, tag, target
 
Methods inherited from class org.rococoa.cocoa.appkit.NSCell
alignment, allowsUndo, as_NSCell_NSCellAttributedStringMethods, as_NSCell_NSCellBackgroundStyle, as_NSCell_NSCellExpansion, as_NSCell_NSCellHitTest, as_NSCell_NSCellMixedState, as_NSCell_NSDeprecated, as_NSCell_NSKeyboardUI, baseWritingDirection, cellAttribute, cellSize, compare, controlSize, controlTint, controlView, createImageCell, createTextCell, defaultMenu, doubleValue, endEditing, fieldEditorForView, floatValue, font, formatter, getPeriodicDelay_interval, getPeriodicDelay_interval, hasValidObjectValue, image, initImageCell, initTextCell, integerValue, intValue, isBezeled, isBordered, isContinuous, isEditable, isEnabled, isEntryAcceptable, isHighlighted, isOpaque, isScrollable, isSelectable, keyEquivalent, lineBreakMode, menu, mouseDownFlags, objectValue, prefersTrackingUntilMouseUp, representedObject, sendActionOn, sendsActionOnEndEditing, setAllowsUndo, setBezeled, setBordered, setCellAttribute_to, setContinuous, setControlSize, setControlTint, setControlView, setDoubleValue, setEditable, setEnabled, setFloatValue, setFont, setFormatter, setHighlighted, setImage, setIntegerValue, setIntValue, setMenu, setRepresentedObject, setScrollable, setSelectable, setSendsActionOnEndEditing, setState, setStringValue, setTitle, setTruncatesLastVisibleLine, setType, setUpFieldEditorAttributes, setUsesSingleLineMode, setWraps, state, stringValue, takeDoubleValueFrom, takeFloatValueFrom, takeIntegerValueFrom, takeIntValueFrom, takeObjectValueFrom, takeStringValueFrom, title, truncatesLastVisibleLine, type, userInterfaceLayoutDirection, usesSingleLineMode, wraps
 
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.NSObject
autorelease, class_, conformsToProtocol, hash, isEqual, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, superclass, zone
 
Methods inherited from interface org.rococoa.ObjCObject
id
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSCopying
copyWithZone
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding
encodeWithCoder, initWithCoder
 

Constructor Detail

NSPathCell

public NSPathCell()
Method Detail

pathStyle

public abstract NSInteger pathStyle()
Get and set the mode. Defaults to NSPathStyleStandard.
Original signature : -(NSPathStyle)pathStyle
native declaration : NSPathCell.h:73


setPathStyle

public abstract void setPathStyle(NSInteger style)
Original signature : -(void)setPathStyle:(NSPathStyle)
native declaration : NSPathCell.h:74


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
native declaration : NSPathCell.h:78


setURL

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


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)
native declaration : NSPathCell.h:83

Specified by:
setObjectValue in class NSCell

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
native declaration : NSPathCell.h:87


setAllowedTypes

public abstract void setAllowedTypes(NSArray allowedTypes)
Original signature : -(void)setAllowedTypes:(NSArray*)
native declaration : NSPathCell.h:88


delegate

public abstract NSPathCellDelegate delegate()
Get and set the delegate. Non-retained.
Original signature : -(id)delegate
native declaration : NSPathCell.h:92


setDelegate

public abstract void setDelegate(NSPathCellDelegate value)
Original signature : -(void)setDelegate:(id)
native declaration : NSPathCell.h:93


pathComponentCellClass

public static ObjCClass 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
native declaration : NSPathCell.h:97


pathComponentCells

public abstract NSArray pathComponentCells()
The array of NSPathComponentCells currently being displayed.
Original signature : -(NSArray*)pathComponentCells
native declaration : NSPathCell.h:101


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*)
native declaration : NSPathCell.h:105


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*)
native declaration : NSPathCell.h:109


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
native declaration : NSPathCell.h:117


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*)
native declaration : NSPathCell.h:121


mouseExited_withFrame_inView

public abstract void mouseExited_withFrame_inView(NSEvent event,
                                                  NSRect.ByValue frame,
                                                  NSView view)
Original signature : -(void)mouseExited:(NSEvent*) withFrame:(NSRect) inView:(NSView*)
native declaration : NSPathCell.h:122


doubleAction

public abstract 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
native declaration : NSPathCell.h:126


setDoubleAction

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


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*)
native declaration : NSPathCell.h:131


backgroundColor

public abstract NSColor backgroundColor()
Original signature : -(NSColor*)backgroundColor
native declaration : NSPathCell.h:132


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*)
native declaration : NSPathCell.h:136


placeholderString

public abstract NSString placeholderString()
Original signature : -(NSString*)placeholderString
native declaration : NSPathCell.h:137


setPlaceholderAttributedString

public abstract void setPlaceholderAttributedString(NSAttributedString string)
Original signature : -(void)setPlaceholderAttributedString:(NSAttributedString*)
native declaration : NSPathCell.h:139


placeholderAttributedString

public abstract NSAttributedString placeholderAttributedString()
Original signature : -(NSAttributedString*)placeholderAttributedString
native declaration : NSPathCell.h:140


alloc

public static NSPathCell alloc()

new_

public static NSPathCell new_()

getNSClass

public static NSPathCell._class_ getNSClass()


Copyright © 2009. All Rights Reserved.