org.rococoa.cocoa.qd
Class ATSUBackgroundData

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

public class ATSUBackgroundData
extends com.ochafik.lang.jnaerator.runtime.Union

ATSUBackgroundData

Summary:
Data describing one of two methods for ATSUI to unhighlight text.

Discussion:
When you call ATSUUnhighlightText and the highlighting method
used is kRedrawHighlighting, ATSUI must redraw the text,
including the background, when unhighlighting. The two ways of
doing this are by telling ATSUI to (1) use a solid color to
repaint the background (2) use a callback function to repaint the
background. This union provides that information to ATSUI. See
the definitions of ATSUUnhighlightData, RedrawBackgroundProcPtr,
and ATSUSetHighlightingMethod for more information.
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 ATSUBackgroundData.ByReference
           
static class ATSUBackgroundData.ByValue
           
 
Field Summary
 ATSURGBAlphaColor backgroundColor
           
 QDLibrary.RedrawBackgroundProcPtr backgroundUPP
          Specifies a Universal Procedure Pointer for ATSUI to call to
redraw the background.
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
ATSUBackgroundData()
           
ATSUBackgroundData(ATSURGBAlphaColor backgroundColor)
           
ATSUBackgroundData(QDLibrary.RedrawBackgroundProcPtr backgroundUPP)
           
 
Method Summary
 ATSUBackgroundData.ByReference byReference()
           
 ATSUBackgroundData.ByValue byValue()
           
 ATSUBackgroundData clone()
           
 
Methods inherited from class com.ochafik.lang.jnaerator.runtime.Union
setupClone
 
Methods inherited from class com.sun.jna.Union
getNativeAlignment, getTypedValue, readField, setType, setTypedValue, writeField, writeField
 
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, cacheTypeInfo, clear, ensureAllocated, equals, getAutoRead, getAutoWrite, getFieldOrder, getPointer, getStructAlignment, hashCode, newInstance, read, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setTypeMapper, size, sortFields, toArray, toArray, toString, useMemory, useMemory, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

backgroundColor

public ATSURGBAlphaColor backgroundColor

backgroundUPP

public QDLibrary.RedrawBackgroundProcPtr backgroundUPP
Specifies a Universal Procedure Pointer for ATSUI to call to
redraw the background.

Constructor Detail

ATSUBackgroundData

public ATSUBackgroundData()

ATSUBackgroundData

public ATSUBackgroundData(ATSURGBAlphaColor backgroundColor)

ATSUBackgroundData

public ATSUBackgroundData(QDLibrary.RedrawBackgroundProcPtr backgroundUPP)
Parameters:
backgroundUPP - Specifies a Universal Procedure Pointer for ATSUI to call to
redraw the background.
Method Detail

byReference

public ATSUBackgroundData.ByReference byReference()

byValue

public ATSUBackgroundData.ByValue byValue()

clone

public ATSUBackgroundData clone()
Overrides:
clone in class Object