|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jniwrapper.Parameter
com.jniwrapper.Pointer.Void
com.jniwrapper.macosx.cocoa.Id
com.jniwrapper.macosx.cocoa.CObject
com.jniwrapper.macosx.cocoa.nsobject.NSObject
com.jniwrapper.macosx.cocoa.nsworkspace.NSWorkspace
This class represents NSWorkspace
class.
See the class documentation at the Apple's site: NSWorkspace
Field Summary |
Fields inherited from class com.jniwrapper.macosx.cocoa.CObject |
_fields |
Fields inherited from class com.jniwrapper.Parameter |
LICENSE_TYPE, V |
Constructor Summary | |
NSWorkspace()
|
|
NSWorkspace(boolean autorelease)
Contructs the NSWorkspace class with the autorelease option on. |
|
NSWorkspace(com.jniwrapper.Pointer.Void instancePtr)
Contructs the NSWorkspace class from pointer. |
|
NSWorkspace(java.lang.String methodName,
com.jniwrapper.Parameter[] parameters)
Contructs the NSWorkspace class with static constructor. |
Method Summary | |
com.jniwrapper.Pointer.Void |
absolutePathForAppBundleWithIdentifier(java.lang.String bundleIdentifier)
|
com.jniwrapper.Pointer.Void |
activeApplication()
|
void |
checkForRemovableMedia()
|
com.jniwrapper.Int |
extendPowerOffBy(com.jniwrapper.Int requested)
|
com.jniwrapper.Bool |
fileSystemChanged()
|
void |
findApplications()
|
com.jniwrapper.Pointer.Void |
fullPathForApplication(java.lang.String appName)
|
com.jniwrapper.Bool |
getFileSystemInfoForPath_isRemovable_isWritable_isUnmountable_description_type(java.lang.String fullPath,
boolean removableFlag,
boolean writableFlag,
boolean unmountableFlag,
java.lang.String description,
java.lang.String fileSystemType)
This method represents the getFileSystemInfoForPath() method of the NSWorkspace Objective-C class. |
com.jniwrapper.Bool |
getInfoForFile_application_type(java.lang.String fullPath,
java.lang.String appName,
java.lang.String type)
This method represents the getInfoForFile() method of the NSWorkspace Objective-C class. |
void |
hideOtherApplications()
|
com.jniwrapper.Pointer.Void |
iconForFile(java.lang.String fullPath)
|
com.jniwrapper.Pointer.Void |
iconForFiles(NSArray fullPaths)
|
com.jniwrapper.Pointer.Void |
iconForFileType(java.lang.String fileType)
|
protected void |
init(com.jniwrapper.Parameter[] fields)
|
com.jniwrapper.Bool |
isFilePackageAtPath(java.lang.String fullPath)
|
com.jniwrapper.Bool |
launchApplication_showIcon_autolaunch(java.lang.String appName,
boolean showIcon,
boolean autolaunch)
This method represents the launchApplication() method of the NSWorkspace Objective-C class. |
com.jniwrapper.Bool |
launchApplication(java.lang.String appName)
|
com.jniwrapper.Bool |
launchAppWithBundleIdentifier_options_additionalEventParamDescriptor_launchIdentifier(java.lang.String bundleIdentifier,
NSWorkspaceLaunchOptions options,
NSAppleEventDescriptor descriptor,
NSNumber identifier)
This method represents the launchAppWithBundleIdentifier() method of the NSWorkspace Objective-C class. |
com.jniwrapper.Pointer.Void |
launchedApplications()
|
com.jniwrapper.Pointer.Void |
mountedLocalVolumePaths()
|
com.jniwrapper.Pointer.Void |
mountedRemovableMedia()
|
com.jniwrapper.Pointer.Void |
mountNewRemovableMedia()
|
void |
noteFileSystemChanged()
|
void |
noteFileSystemChanged(java.lang.String path)
|
void |
noteUserDefaultsChanged()
|
com.jniwrapper.Pointer.Void |
notificationCenter()
|
com.jniwrapper.Bool |
openFile_fromImage_at_inView(java.lang.String fullPath,
NSImage anImage,
NSPoint point,
NSView aView)
This method represents the openFile() method of the NSWorkspace Objective-C class. |
com.jniwrapper.Bool |
openFile_withApplication_andDeactivate(java.lang.String fullPath,
java.lang.String appName,
boolean flag)
This method represents the openFile() method of the NSWorkspace Objective-C class. |
com.jniwrapper.Bool |
openFile_withApplication(java.lang.String fullPath,
java.lang.String appName)
This method represents the openFile() method of the NSWorkspace Objective-C class. |
com.jniwrapper.Bool |
openFile(java.lang.String fullPath)
|
com.jniwrapper.Bool |
openTempFile(java.lang.String fullPath)
|
com.jniwrapper.Bool |
openURL(NSURL url)
|
com.jniwrapper.Bool |
openURLs_withAppBundleIdentifier_options_additionalEventParamDescriptor_launchIdentifiers(NSArray urls,
java.lang.String bundleIdentifier,
NSWorkspaceLaunchOptions options,
NSAppleEventDescriptor descriptor,
NSArray identifiers)
This method represents the openURLs() method of the NSWorkspace Objective-C class. |
com.jniwrapper.Bool |
performFileOperation_source_destination_files_tag(java.lang.String operation,
java.lang.String source,
java.lang.String destination,
NSArray files,
com.jniwrapper.Int tag)
This method represents the performFileOperation() method of the NSWorkspace Objective-C class. |
com.jniwrapper.Bool |
selectFile_inFileViewerRootedAtPath(java.lang.String fullPath,
java.lang.String rootFullpath)
This method represents the selectFile() method of the NSWorkspace Objective-C class. |
void |
slideImage_from_to(NSImage image,
NSPoint fromPoint,
NSPoint toPoint)
This method represents the slideImage() method of the NSWorkspace Objective-C class. |
static com.jniwrapper.Pointer.Void |
static_sharedWorkspace()
|
com.jniwrapper.Bool |
unmountAndEjectDeviceAtPath(java.lang.String path)
|
com.jniwrapper.Bool |
userDefaultsChanged()
|
Methods inherited from class com.jniwrapper.macosx.cocoa.CObject |
getClassName |
Methods inherited from class com.jniwrapper.macosx.cocoa.Id |
clone |
Methods inherited from class com.jniwrapper.Pointer.Void |
asFunction, asFunction, asTypedPointer, castTo, castTo, equals, getDebugInfo, getLength, getValue, hashCode, isNull, read, setValue, toString, write |
Methods inherited from class com.jniwrapper.Parameter |
|
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public NSWorkspace()
public NSWorkspace(boolean autorelease)
NSWorkspace
class with the autorelease option on.
autorelease
- public NSWorkspace(com.jniwrapper.Pointer.Void instancePtr)
NSWorkspace
class from pointer.
instancePtr
- public NSWorkspace(java.lang.String methodName, com.jniwrapper.Parameter[] parameters)
NSWorkspace
class with static constructor.
methodName
- parameters
- Method Detail |
protected void init(com.jniwrapper.Parameter[] fields)
init
in class NSObject
public com.jniwrapper.Pointer.Void iconForFile(java.lang.String fullPath)
public com.jniwrapper.Bool getInfoForFile_application_type(java.lang.String fullPath, java.lang.String appName, java.lang.String type)
getInfoForFile()
method of the NSWorkspace Objective-C class.
fullPath
- appName
- type
-
public com.jniwrapper.Pointer.Void activeApplication()
public com.jniwrapper.Bool selectFile_inFileViewerRootedAtPath(java.lang.String fullPath, java.lang.String rootFullpath)
selectFile()
method of the NSWorkspace Objective-C class.
fullPath
- rootFullpath
-
public com.jniwrapper.Bool openFile_fromImage_at_inView(java.lang.String fullPath, NSImage anImage, NSPoint point, NSView aView)
openFile()
method of the NSWorkspace Objective-C class.
fullPath
- anImage
- point
- aView
-
public com.jniwrapper.Bool isFilePackageAtPath(java.lang.String fullPath)
public com.jniwrapper.Bool openFile_withApplication(java.lang.String fullPath, java.lang.String appName)
openFile()
method of the NSWorkspace Objective-C class.
fullPath
- appName
-
public com.jniwrapper.Bool launchApplication_showIcon_autolaunch(java.lang.String appName, boolean showIcon, boolean autolaunch)
launchApplication()
method of the NSWorkspace Objective-C class.
appName
- showIcon
- autolaunch
-
public com.jniwrapper.Bool openFile(java.lang.String fullPath)
public com.jniwrapper.Bool launchApplication(java.lang.String appName)
public com.jniwrapper.Pointer.Void iconForFileType(java.lang.String fileType)
public com.jniwrapper.Bool getFileSystemInfoForPath_isRemovable_isWritable_isUnmountable_description_type(java.lang.String fullPath, boolean removableFlag, boolean writableFlag, boolean unmountableFlag, java.lang.String description, java.lang.String fileSystemType)
getFileSystemInfoForPath()
method of the NSWorkspace Objective-C class.
fullPath
- removableFlag
- writableFlag
- unmountableFlag
- description
- fileSystemType
-
public com.jniwrapper.Bool openURLs_withAppBundleIdentifier_options_additionalEventParamDescriptor_launchIdentifiers(NSArray urls, java.lang.String bundleIdentifier, NSWorkspaceLaunchOptions options, NSAppleEventDescriptor descriptor, NSArray identifiers)
openURLs()
method of the NSWorkspace Objective-C class.
urls
- bundleIdentifier
- options
- descriptor
- identifiers
-
public com.jniwrapper.Pointer.Void mountedRemovableMedia()
public void checkForRemovableMedia()
public com.jniwrapper.Pointer.Void fullPathForApplication(java.lang.String appName)
public com.jniwrapper.Bool userDefaultsChanged()
public com.jniwrapper.Bool unmountAndEjectDeviceAtPath(java.lang.String path)
public com.jniwrapper.Bool openTempFile(java.lang.String fullPath)
public void findApplications()
public void slideImage_from_to(NSImage image, NSPoint fromPoint, NSPoint toPoint)
slideImage()
method of the NSWorkspace Objective-C class.
image
- fromPoint
- toPoint
- public com.jniwrapper.Pointer.Void absolutePathForAppBundleWithIdentifier(java.lang.String bundleIdentifier)
public com.jniwrapper.Bool performFileOperation_source_destination_files_tag(java.lang.String operation, java.lang.String source, java.lang.String destination, NSArray files, com.jniwrapper.Int tag)
performFileOperation()
method of the NSWorkspace Objective-C class.
operation
- source
- destination
- files
- tag
-
public com.jniwrapper.Bool fileSystemChanged()
public com.jniwrapper.Pointer.Void notificationCenter()
public com.jniwrapper.Int extendPowerOffBy(com.jniwrapper.Int requested)
public com.jniwrapper.Pointer.Void mountNewRemovableMedia()
public com.jniwrapper.Bool openFile_withApplication_andDeactivate(java.lang.String fullPath, java.lang.String appName, boolean flag)
openFile()
method of the NSWorkspace Objective-C class.
fullPath
- appName
- flag
-
public com.jniwrapper.Pointer.Void mountedLocalVolumePaths()
public void noteUserDefaultsChanged()
public com.jniwrapper.Bool openURL(NSURL url)
public com.jniwrapper.Pointer.Void launchedApplications()
public void noteFileSystemChanged(java.lang.String path)
public void noteFileSystemChanged()
public static com.jniwrapper.Pointer.Void static_sharedWorkspace()
public void hideOtherApplications()
public com.jniwrapper.Bool launchAppWithBundleIdentifier_options_additionalEventParamDescriptor_launchIdentifier(java.lang.String bundleIdentifier, NSWorkspaceLaunchOptions options, NSAppleEventDescriptor descriptor, NSNumber identifier)
launchAppWithBundleIdentifier()
method of the NSWorkspace Objective-C class.
bundleIdentifier
- options
- descriptor
- identifier
-
public com.jniwrapper.Pointer.Void iconForFiles(NSArray fullPaths)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |