org.rococoa.cocoa.quicktime
Class QTCustomControlNewRecord
java.lang.Object
com.sun.jna.Structure
com.ochafik.lang.jnaerator.runtime.Structure
org.rococoa.cocoa.quicktime.QTCustomControlNewRecord
- Direct Known Subclasses:
- QTCustomControlNewRecord.ByReference, QTCustomControlNewRecord.ByValue
public class QTCustomControlNewRecord
- extends com.ochafik.lang.jnaerator.runtime.Structure
pdActionCustomNewControlControl is called by application to create a new custom control or set of controls
for an effect parameter. When pdActionCustomNewControl is called, the effect should perform any
basic allocation it needs for storage and return the result in storage. The options parameter tells
the control if the application wishes to support interpolated, optionally interpolated, or a single
value parameter.
Since pdActionCustomNewControlControl may be called upon your effect for other items within the
dialog, it is recommended that your effect have an easy way to determine which controls it implements:
a) by having storage be a pointer with an OSType at the begining to mark controls
implemented by your code.
- or -
b) keeping track in your component globals those custom controls which you have created.
When pdActionCustomDisposeControl is called any allocation done by the control should be disposed. In addition,
pdActionCustomDisposeControl is the last chance the control has to commit any user changes into the sample.
Controls which implement type in fields typically need to commit any final user edits at this time.
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.
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 |
storage
public Pointer storage
options
public NativeLong options
customType
public NativeLong customType
customID
public NativeLong customID
QTCustomControlNewRecord
public QTCustomControlNewRecord()
QTCustomControlNewRecord
public QTCustomControlNewRecord(Pointer storage,
NativeLong options,
NativeLong customType,
NativeLong customID)
- Parameters:
storage
- storage allocated/disposed by the control
options
- options used to control interpolation/not
customType
- custom type and ID specified by effect for creation of this control
byReference
public QTCustomControlNewRecord.ByReference byReference()
byValue
public QTCustomControlNewRecord.ByValue byValue()
clone
public QTCustomControlNewRecord clone()
- Overrides:
clone
in class Object