org.rococoa.cocoa.quicktime
Class QTCustomControlShowHideControlRecord

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

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

pdActionCustomShowHideControl is called when the application wishes to enable/disable your control, or
completely disable drawing of the control
Your control should make note of the new state (if different from the last) and perform an InvalRect()
on your drawing area, or you may draw your control's initial state in the case of show. You should not
attempt to erase your control as the result of a hide -- instead call InvalRect() and allow the application
to process the resulting event as appropriate.
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 QTCustomControlShowHideControlRecord.ByReference
           
static class QTCustomControlShowHideControlRecord.ByValue
           
 
Field Summary
 boolean enable
           
 boolean[] pad
           
 boolean show
           
 Pointer storage
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
QTCustomControlShowHideControlRecord()
           
QTCustomControlShowHideControlRecord(Pointer storage, boolean show, boolean enable, boolean[] pad)
           
 
Method Summary
 QTCustomControlShowHideControlRecord.ByReference byReference()
           
 QTCustomControlShowHideControlRecord.ByValue byValue()
           
 QTCustomControlShowHideControlRecord 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

storage

public Pointer storage

show

public boolean show

enable

public boolean enable

pad

public boolean[] pad
Constructor Detail

QTCustomControlShowHideControlRecord

public QTCustomControlShowHideControlRecord()

QTCustomControlShowHideControlRecord

public QTCustomControlShowHideControlRecord(Pointer storage,
                                            boolean show,
                                            boolean enable,
                                            boolean[] pad)
Parameters:
storage - storage for the control
show - display the control?
enable - enable the control (ie, black vs gray display)
Method Detail

byReference

public QTCustomControlShowHideControlRecord.ByReference byReference()

byValue

public QTCustomControlShowHideControlRecord.ByValue byValue()

clone

public QTCustomControlShowHideControlRecord clone()
Overrides:
clone in class Object