org.rococoa.cocoa.qd
Class ATSUBackgroundData
java.lang.Object
com.sun.jna.Structure
com.sun.jna.Union
com.ochafik.lang.jnaerator.runtime.Union<ATSUBackgroundData,ATSUBackgroundData.ByValue,ATSUBackgroundData.ByReference>
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.
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.Structure |
autoRead, autoRead, autoWrite, autoWrite, clear, equals, getAutoRead, getAutoWrite, getPointer, hashCode, newInstance, setAutoRead, setAutoSynch, setAutoWrite, size, toString |
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
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
newArray
public static ATSUBackgroundData[] newArray(int arrayLength)
Copyright © 2009. All Rights Reserved.