org.rococoa.cocoa.carboncore
Class FInfo

java.lang.Object
  extended by com.sun.jna.Structure
      extended by com.ochafik.lang.jnaerator.runtime.Structure
          extended by org.rococoa.cocoa.carboncore.FInfo
Direct Known Subclasses:
FInfo.ByReference, FInfo.ByValue

public class FInfo
extends com.ochafik.lang.jnaerator.runtime.Structure

IMPORTANT:
In MacOS 8, the fdFldr field has become reserved for the Finder.
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 FInfo.ByReference
           
static class FInfo.ByValue
           
 
Field Summary
 int fdCreator
           
 short fdFlags
           
 short fdFldr
          If set to {0, 0}, the Finder will place the item automatically
Reserved (set to 0)
 Point fdLocation
           
 int fdType
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
FInfo()
           
FInfo(int fdType, int fdCreator, short fdFlags, Point fdLocation, short fdFldr)
           
 
Method Summary
 FInfo.ByReference byReference()
           
 FInfo.ByValue byValue()
           
 FInfo clone()
           
 
Methods inherited from class com.ochafik.lang.jnaerator.runtime.Structure
setupClone
 
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, cacheTypeInfo, clear, ensureAllocated, equals, getAutoRead, getAutoWrite, getFieldOrder, getNativeAlignment, getPointer, getStructAlignment, hashCode, newInstance, read, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setTypeMapper, size, sortFields, toArray, toArray, toString, useMemory, useMemory, write, writeField, writeField
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

fdType

public int fdType

fdCreator

public int fdCreator

fdFlags

public short fdFlags

fdLocation

public Point fdLocation

fdFldr

public short fdFldr
If set to {0, 0}, the Finder will place the item automatically
Reserved (set to 0)

Constructor Detail

FInfo

public FInfo()

FInfo

public FInfo(int fdType,
             int fdCreator,
             short fdFlags,
             Point fdLocation,
             short fdFldr)
Parameters:
fdType - The type of the file
fdCreator - The file's creator
fdFlags - Flags ex. kHasBundle, kIsInvisible, etc.
fdLocation - File's location in folder.
fdFldr - If set to {0, 0}, the Finder will place the item automatically
Reserved (set to 0)
Method Detail

byReference

public FInfo.ByReference byReference()

byValue

public FInfo.ByValue byValue()

clone

public FInfo clone()
Overrides:
clone in class Object