org.rococoa.cocoa.carboncore
Class FolderInfo
java.lang.Object
com.sun.jna.Structure
com.ochafik.lang.jnaerator.runtime.Structure<FolderInfo,FolderInfo.ByValue,FolderInfo.ByReference>
org.rococoa.cocoa.carboncore.FolderInfo
- All Implemented Interfaces:
- StructureType, StructureTypeDependent, Comparable<Structure<FolderInfo,FolderInfo.ByValue,FolderInfo.ByReference>>
- Direct Known Subclasses:
- FolderInfo.ByReference, FolderInfo.ByValue
public class FolderInfo
- extends Structure<FolderInfo,FolderInfo.ByValue,FolderInfo.ByReference>
native declaration : /System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks/CarbonCore.framework/Headers/Finder.h:248
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.
Field Summary |
short |
finderFlags
|
Point |
location
Folder's location in the parent folder
C type : Point |
short |
reservedField
If set to {0, 0}, the Finder will place the item automatically
(set to 0) |
Rect |
windowBounds
The position and dimension of the folder's window
C type : Rect |
Methods inherited from class com.ochafik.lang.jnaerator.runtime.Structure |
byReference, byValue, castToArray, castToArray, castToArray, castToReferenceArray, castToReferenceArray, castToValueArray, castToValueArray, clone, compareTo, newArray, read, setDependency, toArray, toArray, toArray, toReferenceArray, toReferenceArray, toValueArray, toValueArray, use, use, use, use, write |
Methods inherited from class com.sun.jna.Structure |
autoRead, autoRead, autoWrite, autoWrite, clear, equals, getAutoRead, getAutoWrite, getPointer, hashCode, newInstance, readField, setAutoRead, setAutoSynch, setAutoWrite, size, toString, writeField, writeField |
windowBounds
public Rect windowBounds
- The position and dimension of the folder's window
C type : Rect
finderFlags
public short finderFlags
location
public Point location
- Folder's location in the parent folder
C type : Point
reservedField
public short reservedField
- If set to {0, 0}, the Finder will place the item automatically
(set to 0)
FolderInfo
public FolderInfo()
FolderInfo
public FolderInfo(Rect windowBounds,
short finderFlags,
Point location,
short reservedField)
- Parameters:
windowBounds
- The position and dimension of the folder's window
C type : Rect
finderFlags
- ex. kIsInvisible, kNameLocked, etc.
location
- Folder's location in the parent folder
C type : Point
reservedField
- If set to {0, 0}, the Finder will place the item automatically
(set to 0)
newArray
public static FolderInfo[] newArray(int arrayLength)
Copyright © 2009. All Rights Reserved.