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<ATSUBackgroundData,ATSUBackgroundData.ByValue,ATSUBackgroundData.ByReference>
              extended by org.rococoa.cocoa.qd.ATSUBackgroundData
All Implemented Interfaces:
StructureType, StructureTypeDependent
Direct Known Subclasses:
ATSUBackgroundData.ByReference, ATSUBackgroundData.ByValue

public class ATSUBackgroundData
extends Union<ATSUBackgroundData,ATSUBackgroundData.ByValue,ATSUBackgroundData.ByReference>

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.
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h:1161
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
          Specifies a color for ATSUI to repaint the background.
 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
 
Constructor Summary
ATSUBackgroundData()
           
ATSUBackgroundData(ATSURGBAlphaColor backgroundColor)
           
ATSUBackgroundData(QDLibrary.RedrawBackgroundProcPtr backgroundUPP)
           
 
Method Summary
static ATSUBackgroundData[] newArray(int arrayLength)
           
 
Methods inherited from class com.ochafik.lang.jnaerator.runtime.Union
byReference, byValue, castToArray, castToArray, castToArray, clone, newArray, read, setDependency, toArray, toArray, toArray, use, use, use, use, write
 
Methods inherited from class com.sun.jna.Union
getTypedValue, readField, setType, setTypedValue, writeField, writeField
 
Methods inherited from class com.sun.jna.Structure
autoRead, autoRead, autoWrite, autoWrite, clear, equals, getAutoRead, getAutoWrite, getPointer, hashCode, newInstance, setAutoRead, setAutoSynch, setAutoWrite, size, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ochafik.lang.jnaerator.runtime.StructureType
getPointer, size
 

Field Detail

backgroundColor

public ATSURGBAlphaColor backgroundColor
Specifies a color for ATSUI to repaint the background.
C type : ATSUBackgroundColor


backgroundUPP

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

Constructor Detail

ATSUBackgroundData

public ATSUBackgroundData()

ATSUBackgroundData

public ATSUBackgroundData(ATSURGBAlphaColor backgroundColor)
Parameters:
backgroundColor - Specifies a color for ATSUI to repaint the background.
C type : ATSUBackgroundColor

ATSUBackgroundData

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

newArray

public static ATSUBackgroundData[] newArray(int arrayLength)


Copyright © 2009. All Rights Reserved.