0001: /**********************************************************************
0002: * Copyright (c) 2003, 2007 IBM Corp.
0003: * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
0004: *
0005: * All rights reserved. This program and the accompanying materials
0006: * are made available under the terms of the Eclipse Public License v1.0
0007: * which accompanies this distribution, and is available at
0008: * http://www.eclipse.org/legal/epl-v10.html
0009: *
0010: * Contributors:
0011: * IBM Corporation - initial API and implementation
0012: **********************************************************************/package org.eclipse.swt.internal.carbon;
0013:
0014: import org.eclipse.swt.internal.*;
0015:
0016: public class OS extends C {
0017: static {
0018: Library.loadLibrary("swt-pi");
0019: }
0020:
0021: public static final int VERSION;
0022: static {
0023: int[] response = new int[1];
0024: OS.Gestalt(OS.gestaltSystemVersion, response);
0025: VERSION = response[0] & 0xffff;
0026: }
0027:
0028: /** Constants */
0029: public static final int RGBDirect = 16;
0030: public static final int alphaLock = 0x0400;
0031: public static final int badDragFlavorErr = -1852;
0032: public static final int bold = 1;
0033: public static final int cantGetFlavorErr = -1854;
0034: public static final int checkMark = 18;
0035: public static final int cmdKey = 1 << 8;
0036: public static final int controlKey = 1 << 12;
0037: public static final int diamondMark = 19;
0038: public static final int dragNotAcceptedErr = -1857;
0039: public static final int errControlIsNotEmbedder = -30590;
0040: public static final int errUnknownControl = -30584;
0041: public static final int eventLoopTimedOutErr = -9875;
0042: public static final int eventNotHandledErr = -9874;
0043: public static final int eventParameterNotFoundErr = -9870;
0044: public static final int gestaltSystemVersion = ('s' << 24)
0045: + ('y' << 16) + ('s' << 8) + 'v';
0046: public static final int inContent = 3;
0047: public static final int inMenuBar = 1;
0048: public static final int inStructure = 15;
0049: public static final int inZoomIn = 7;
0050: public static final int inZoomOut = 8;
0051: public static final int inToolbarButton = 13;
0052: public static final int italic = 2;
0053: public static final int k32ARGBPixelFormat = 0x00000020;
0054: public static final int kActivateAndHandleClick = 3;
0055: public static final int kAppearanceEventClass = ('a' << 24)
0056: + ('p' << 16) + ('p' << 8) + 'r';
0057: public static final int kAEAppearanceChanged = ('t' << 24)
0058: + ('h' << 16) + ('m' << 8) + 'e';
0059: public static final int kAESystemFontChanged = ('s' << 24)
0060: + ('y' << 16) + ('s' << 8) + 'f';
0061: public static final int kAESmallSystemFontChanged = ('s' << 24)
0062: + ('s' << 16) + ('f' << 8) + 'n';
0063: public static final int kAEViewsFontChanged = ('v' << 24)
0064: + ('f' << 16) + ('n' << 8) + 't';
0065: public static final int kAEQuitApplication = ('q' << 24)
0066: + ('u' << 16) + ('i' << 8) + 't';
0067: public static final int kCoreEventClass = ('a' << 24) + ('e' << 16)
0068: + ('v' << 8) + 't';
0069: public static final int kAlertCautionAlert = 2;
0070: public static final int kAlertCautionIcon = ('c' << 24)
0071: + ('a' << 16) + ('u' << 8) + 't';
0072: public static final int kAlertNoteAlert = 1;
0073: public static final int kAlertNoteIcon = ('n' << 24) + ('o' << 16)
0074: + ('t' << 8) + 'e';
0075: public static final int kAlertPlainAlert = 3;
0076: public static final int kAlertStopAlert = 0;
0077: public static final int kAlertStopIcon = ('s' << 24) + ('t' << 16)
0078: + ('o' << 8) + 'p';
0079: public static final int kAlertDefaultOKText = -1;
0080: public static final int kAlertDefaultCancelText = -1;
0081: public static final int kAlertStdAlertOKButton = 1;
0082: public static final int kAlertStdAlertCancelButton = 2;
0083: public static final int kAlertStdAlertOtherButton = 3;
0084: public static final int kAtSpecifiedOrigin = 0;
0085: public static final int kATSFontContextGlobal = 1;
0086: public static final int kATSFontContextLocal = 2;
0087: public static final int kATSOptionFlagsDefault = 0;
0088: public static final int kATSOptionFlagsDefaultScope = 0x00000000 << 12;
0089: public static final int kATSFontFormatUnspecified = 0;
0090: public static final int kATSDeletedGlyphcode = 0xFFFF;
0091: public static final int kATSLineLastNoJustification = 0x00000020;
0092: public static final int kATSUAscentTag = 284;
0093: public static final int kATSUCrossStreamShiftTag = 269;
0094: public static final int kATSUDescentTag = 285;
0095: public static final int kATSUDirectDataBaselineDeltaFixedArray = 1;
0096: public static final int kATSUDirectDataLayoutRecordATSLayoutRecordVersion1 = 100;
0097: public static final int kATSUDirectDataLayoutRecordATSLayoutRecordCurrent = kATSUDirectDataLayoutRecordATSLayoutRecordVersion1;
0098: public static final int kATSUFullJustification = 0x40000000;
0099: public static final int kATSUNoJustification = 0x00000000;
0100: public static final int kATSUImposeWidthTag = 266;
0101: public static final int kATSULineAscentTag = 8;
0102: public static final int kATSULineDescentTag = 9;
0103: public static final int kATSULineDirectionTag = 3;
0104: public static final int kATSLineUseDeviceMetrics = 0x01000000;
0105: public static final int kATSLineKeepSpacesOutOfMargin = 0x00000008;
0106: public static final int kATSUStartAlignment = 0x00000000;
0107: public static final int kATSUEndAlignment = 0x40000000;
0108: public static final int kATSUCenterAlignment = 0x20000000;
0109: public static final int kATSUByCharacter = 0;
0110: public static final int kATSUByTypographicCluster = 1;
0111: public static final int kATSUByWord = 2;
0112: public static final int kATSUByCharacterCluster = 3;
0113: public static final int kATSUColorTag = 263;
0114: public static final int kATSUCGContextTag = 32767;
0115: public static final int kATSUFontTag = 261;
0116: public static final int kATSULineFlushFactorTag = 5;
0117: public static final int kATSULineHighlightCGColorTag = 17;
0118: public static final int kATSULineJustificationFactorTag = 4;
0119: public static final int kATSULineLayoutOptionsTag = 7;
0120: public static final int kATSULineWidthTag = 1;
0121: public static final int kATSULeftToRightBaseDirection = 0;
0122: public static final int kATSURightToLeftBaseDirection = 1;
0123: public static final int kATSUQDBoldfaceTag = 256;
0124: public static final int kATSUQDItalicTag = 257;
0125: public static final int kATSUQDUnderlineTag = 258;
0126: public static final int kATSUStyleStrikeThroughTag = 292;
0127: public static final int kATSUStyleUnderlineColorOptionTag = 291;
0128: public static final int kATSUStyleUnderlineCountOptionTag = 290;
0129: public static final int kATSUStyleStrikeThroughColorOptionTag = 294;
0130: public static final int kATSUStyleSingleLineCount = 1;
0131: public static final int kATSUStyleDoubleLineCount = 2;
0132: public static final int kATSULeftTab = 0;
0133: public static final int kATSUseDeviceOrigins = 1;
0134: public static final int kATSUseLineHeight = 0x7FFFFFFF;
0135: public static final int kATSUSizeTag = 262;
0136: public static final int kATSUToTextEnd = 0xFFFFFFFF;
0137: public static final int kCFRunLoopBeforeWaiting = 1 << 5;
0138: public static final int kCFRunLoopAfterWaiting = 1 << 6;
0139: public static final int kCFRunLoopRunFinished = 1;
0140: public static final int kCFRunLoopRunStopped = 2;
0141: public static final int kCFRunLoopRunTimedOut = 3;
0142: public static final int kCFRunLoopRunHandledSource = 4;
0143: public static final int kAvailBoundsChangedForDock = 1 << 0;
0144: public static final int kCGBitmapByteOrderDefault = 0 << 12;
0145: public static final int kCGBitmapByteOrder16Little = 1 << 12;
0146: public static final int kCGBitmapByteOrder32Little = 2 << 12;
0147: public static final int kCGBitmapByteOrder16Big = 3 << 12;
0148: public static final int kCGBitmapByteOrder32Big = 4 << 12;
0149: public static final int kCGBitmapByteOrder16Host = __BIG_ENDIAN__() ? kCGBitmapByteOrder16Big
0150: : kCGBitmapByteOrder16Little;
0151: public static final int kCGBitmapByteOrder32Host = __BIG_ENDIAN__() ? kCGBitmapByteOrder32Big
0152: : kCGBitmapByteOrder32Little;
0153: public static final int kCFAllocatorDefault = 0;
0154: public static final int kCFNumberFormatterDecimalStyle = 1;
0155: public static final int kCFURLPOSIXPathStyle = 0;
0156: public static final int kCFStringEncodingASCII = 0x0600;
0157: public static final int kCFStringEncodingMacRoman = 0;
0158: public static final int kCFStringEncodingUTF8 = 0x08000100;
0159: public static final int kCFStringEncodingUnicode = 0x0100;
0160: public static final int kCGEncodingMacRoman = 1;
0161: public static final int kCGImageAlphaNone = 0;
0162: public static final int kCGImageAlphaPremultipliedLast = 1;
0163: public static final int kCGImageAlphaPremultipliedFirst = 2;
0164: public static final int kCGImageAlphaLast = 3;
0165: public static final int kCGImageAlphaFirst = 4;
0166: public static final int kCGImageAlphaNoneSkipLast = 5;
0167: public static final int kCGImageAlphaNoneSkipFirst = 6;
0168: public static final int kCGInterpolationDefault = 0;
0169: public static final int kCGInterpolationNone = 1;
0170: public static final int kCGInterpolationLow = 2;
0171: public static final int kCGInterpolationHigh = 3;
0172: public static final int kCGLineCapButt = 0;
0173: public static final int kCGLineCapRound = 1;
0174: public static final int kCGLineCapSquare = 2;
0175: public static final int kCGLineJoinMiter = 0;
0176: public static final int kCGLineJoinRound = 1;
0177: public static final int kCGLineJoinBevel = 2;
0178: public static final int kCGPathElementMoveToPoint = 0;
0179: public static final int kCGPathElementAddLineToPoint = 1;
0180: public static final int kCGPathElementAddQuadCurveToPoint = 2;
0181: public static final int kCGPathElementAddCurveToPoint = 3;
0182: public static final int kCGPathElementCloseSubpath = 4;
0183: public static final int kCGPatternTilingNoDistortion = 0;
0184: public static final int kCGPatternTilingConstantSpacingMinimalDistortion = 1;
0185: public static final int kCGPatternTilingConstantSpacing = 2;
0186: public static final int kCGRenderingIntentDefault = 0;
0187: public static final int kCGTextFill = 0;
0188: public static final int kCGTextInvisible = 3;
0189: public static final int kCMHelpItemRemoveHelp = 3;
0190: public static final int kColorPickerDialogIsMoveable = 1;
0191: public static final int kColorPickerDialogIsModal = 2;
0192: public static final int kControlBehaviorPushbutton = 0;
0193: public static final int kControlBehaviorToggles = 0x0100;
0194: public static final int kControlBevelButtonAlignCenter = 0;
0195: public static final int kControlBevelButtonAlignLeft = 1;
0196: public static final int kControlBevelButtonAlignRight = 2;
0197: public static final int kControlBevelButtonAlignTextCenter = 1;
0198: public static final int kControlBevelButtonAlignTextFlushRight = -1;
0199: public static final int kControlBevelButtonAlignTextFlushLeft = -2;
0200: public static final int kControlBevelButtonNormalBevelProc = 33;
0201: public static final int kControlBevelButtonSmallBevel = 0;
0202: public static final int kControlBevelButtonLargeBevel = 2;
0203: public static final int kControlBevelButtonMenuRefTag = ('m' << 24)
0204: + ('h' << 16) + ('n' << 8) + 'd';
0205: public static final int kControlBevelButtonNormalBevel = 1;
0206: public static final int kControlBevelButtonPlaceBelowGraphic = 3;
0207: public static final int kControlBevelButtonPlaceToRightOfGraphic = 1;
0208: public static final int kControlBevelButtonKindTag = ('b' << 24)
0209: + ('e' << 16) + ('b' << 8) + 'k';
0210: public static final int kControlBevelButtonTextAlignTag = ('t' << 24)
0211: + ('a' << 16) + ('l' << 8) + 'i';
0212: public static final int kControlBevelButtonTextPlaceTag = ('t' << 24)
0213: + ('p' << 16) + ('l' << 8) + 'c';
0214: public static final int kControlBevelButtonGraphicAlignTag = ('g' << 24)
0215: + ('a' << 16) + ('l' << 8) + 'i';
0216: public static final int kControlBoundsChangeSizeChanged = 1 << 2;
0217: public static final int kControlBoundsChangePositionChanged = 1 << 3;
0218: public static final int kControlClockTypeHourMinute = 0;
0219: public static final int kControlClockTypeHourMinuteSecond = 1;
0220: public static final int kControlClockTypeMonthDayYear = 2;
0221: public static final int kControlClockTypeMonthYear = 3;
0222: public static final int kControlClockFlagStandard = 0;
0223: public static final int kControlClockFlagDisplayOnly = 1;
0224: public static final int kControlClockFlagLive = 2;
0225: public static final int kControlClockLongDateTag = ('d' << 24)
0226: + ('a' << 16) + ('t' << 8) + 'e';
0227: public static final int kControlCheckBoxAutoToggleProc = 371;
0228: public static final int kControlContentCGImageRef = 134;
0229: public static final int kControlContentCIconHandle = 130;
0230: public static final int kControlContentIconRef = 132;
0231: public static final int kControlContentMetaPart = -2;
0232: public static final int kControlContentTextOnly = 0;
0233: public static final int kControlDataBrowserIncludesFrameAndFocusTag = ('b' << 24)
0234: + ('r' << 16) + ('d' << 8) + 'r';
0235: public static final int kControlDownButtonPart = 21;
0236: public static final int kControlEditTextCFStringTag = ('c' << 24)
0237: + ('f' << 16) + ('s' << 8) + 't';
0238: public static final int kControlEditTextLockedTag = ('l' << 24)
0239: + ('o' << 16) + ('c' << 8) + 'k';
0240: public static final int kControlEditTextSingleLineTag = ('s' << 24)
0241: + ('g' << 16) + ('l' << 8) + 'c';
0242: public static final int kControlEditTextSelectionTag = ('s' << 24)
0243: + ('e' << 16) + ('l' << 8) + 'e';
0244: public static final int kControlEditTextTextTag = ('t' << 24)
0245: + ('e' << 16) + ('x' << 8) + 't';
0246: public static final int kControlEditTextInsertCFStringRefTag = ('i' << 24)
0247: + ('n' << 16) + ('c' << 8) + 'f';
0248: public static final int kControlEditTextPasswordCFStringTag = ('p' << 24)
0249: + ('w' << 16) + ('c' << 8) + 'f';
0250: public static final int kControlEditTextPart = 5;
0251: public static final int kControlEntireControl = 0;
0252: public static final int kControlFocusNoPart = 0;
0253: public static final int kControlFontStyleTag = ('f' << 24)
0254: + ('o' << 16) + ('n' << 8) + 't';
0255: public static final int kControlGetsFocusOnClick = 1 << 8;
0256: public static final int kControlGroupBoxTextTitleProc = 160;
0257: public static final int kControlHandlesTracking = 1 << 5;
0258: public static final int kControlIconTransformTag = ('t' << 24)
0259: + ('r' << 16) + ('f' << 8) + 'm';
0260: public static final int kControlIndicatorPart = 129;
0261: public static final int kControlKindScrollBar = ('s' << 24)
0262: + ('b' << 16) + ('a' << 8) + 'r';
0263: public static final int kControlMsgApplyTextColor = 30;
0264: public static final int kControlMsgSetUpBackground = 23;
0265: public static final int kControlPageDownPart = 23;
0266: public static final int kControlPageUpPart = 22;
0267: public static final int kControlPopupArrowEastProc = 192;
0268: public static final int kControlPopupArrowOrientationEast = 0;
0269: public static final int kControlPopupArrowOrientationWest = 1;
0270: public static final int kControlPopupArrowOrientationNorth = 2;
0271: public static final int kControlPopupArrowOrientationSouth = 3;
0272: public static final int kControlPopupArrowSizeNormal = 0;
0273: public static final int kControlPopupArrowSizeSmall = 1;
0274: public static final int kControlPopupButtonProc = 400;
0275: public static final int kControlProgressBarIndeterminateTag = ('i' << 24)
0276: + ('n' << 16) + ('d' << 8) + 'e';
0277: public static final int kControlProgressBarProc = 80;
0278: public static final int kControlPushButtonProc = 368;
0279: public static final int kControlRadioButtonAutoToggleProc = 372;
0280: public static final int kControlScrollBarLiveProc = 386;
0281: public static final int kControlSearchFieldCancelPart = 30;
0282: public static final int kControlSearchFieldMenuPart = 31;
0283: public static final int kControlSeparatorLineProc = 144;
0284: public static final int kControlSizeTag = ('s' << 24) + ('i' << 16)
0285: + ('z' << 8) + 'e';
0286: public static final int kControlSizeSmall = 1;
0287: public static final int kControlSliderLiveFeedback = (1 << 0);
0288: public static final int kControlSliderNonDirectional = (1 << 3);
0289: public static final int kControlSliderProc = 48;
0290: public static final int kControlStructureMetaPart = -1;
0291: public static final int kControlSupportsEmbedding = 1 << 1;
0292: public static final int kControlSupportsFocus = 1 << 2;
0293: public static final int kControlStaticTextCFStringTag = ('c' << 24)
0294: + ('f' << 16) + ('s' << 8) + 't';
0295: public static final int kControlTabContentRectTag = ('r' << 24)
0296: + ('e' << 16) + ('c' << 8) + 't';
0297: public static final int kControlTabDirectionNorth = 0;
0298: public static final int kControlTabDirectionSouth = 1;
0299: public static final int kControlTabImageContentTag = ('c' << 24)
0300: + ('o' << 16) + ('n' << 8) + 't';
0301: public static final int kControlTabInfoVersionOne = 1;
0302: public static final int kControlTabInfoTag = ('t' << 24)
0303: + ('a' << 16) + ('b' << 8) + 'i';
0304: public static final int kControlTabSizeLarge = 0;
0305: public static final int kControlTabSmallProc = 129;
0306: public static final int kControlUpButtonPart = 20;
0307: public static final int kControlUserPaneDrawProcTag = ('d' << 24)
0308: + ('r' << 16) + ('a' << 8) + 'w';
0309: public static final int kControlUserPaneHitTestProcTag = ('h' << 24)
0310: + ('i' << 16) + ('t' << 8) + 't';
0311: public static final int kControlUserPaneProc = 256;
0312: public static final int kControlUserPaneTrackingProcTag = ('t' << 24)
0313: + ('r' << 16) + ('a' << 8) + 'k';
0314: public static final int kControlUseBackColorMask = 16;
0315: public static final int kControlUseFontMask = 0x1;
0316: public static final int kControlUseForeColorMask = 8;
0317: public static final int kControlUseJustMask = 0x0040;
0318: public static final int kControlUseSizeMask = 0x4;
0319: public static final int kControlUseThemeFontIDMask = 0x80;
0320: public static final int kControlUseFaceMask = 0x2;
0321: public static final int kCurrentProcess = 2;
0322: public static final int kDataBrowserAttributeListViewAlternatingRowColors = (1 << 1);
0323: public static final int kDataBrowserAttributeListViewDrawColumnDividers = (1 << 2);
0324: public static final int kDataBrowserCheckboxType = ('c' << 24)
0325: + ('h' << 16) + ('b' << 8) + 'x';
0326: public static final int kDataBrowserCmdTogglesSelection = 1 << 3;
0327: public static final int kDataBrowserContainerClosed = 10;
0328: public static final int kDataBrowserContainerClosing = 9;
0329: public static final int kDataBrowserContainerIsClosableProperty = 6;
0330: public static final int kDataBrowserContainerIsOpen = 1 << 1;
0331: public static final int kDataBrowserContainerIsOpenableProperty = 5;
0332: public static final int kDataBrowserContainerIsSortableProperty = 7;
0333: public static final int kDataBrowserContainerOpened = 8;
0334: public static final int kDataBrowserCustomType = 0x3F3F3F3F;
0335: public static final int kDataBrowserDefaultPropertyFlags = 0;
0336: public static final int kDataBrowserDragSelect = 1 << 0;
0337: public static final int kDataBrowserIconAndTextType = ('t' << 24)
0338: + ('i' << 16) + ('c' << 8) + 'n';
0339: public static final int kDataBrowserItemAnyState = -1;
0340: public static final int kDataBrowserItemIsActiveProperty = 1;
0341: public static final int kDataBrowserItemIsContainerProperty = 4;
0342: public static final int kDataBrowserItemIsDragTarget = 1 << 2;
0343: public static final int kDataBrowserItemIsEditableProperty = 3;
0344: public static final int kDataBrowserItemIsSelectableProperty = 2;
0345: public static final int kDataBrowserItemIsSelected = 1 << 0;
0346: public static final int kDataBrowserItemNoProperty = 0;
0347: public static final int kDataBrowserItemParentContainerProperty = 11;
0348: public static final int kDataBrowserItemsAdd = 0;
0349: public static final int kDataBrowserItemsAssign = 1;
0350: public static final int kDataBrowserItemsRemove = 3;
0351: public static final int kDataBrowserItemRemoved = 2;
0352: public static final int kDataBrowserItemSelected = 5;
0353: public static final int kDataBrowserItemDeselected = 6;
0354: public static final int kDataBrowserItemDoubleClicked = 7;
0355: public static final int kDataBrowserLatestCallbacks = 0;
0356: public static final int kDataBrowserLatestCustomCallbacks = 0;
0357: public static final int kDataBrowserListView = ('l' << 24)
0358: + ('s' << 16) + ('t' << 8) + 'v';
0359: public static final int kDataBrowserListViewLatestHeaderDesc = 0;
0360: public static final int kDataBrowserListViewMovableColumn = 1 << OS.kDataBrowserViewSpecificFlagsOffset + 1;
0361: public static final int kDataBrowserListViewSelectionColumn = 1 << OS.kDataBrowserViewSpecificFlagsOffset;
0362: public static final int kDataBrowserListViewSortableColumn = 1 << 18;
0363: public static final int kDataBrowserNeverEmptySelectionSet = 1 << 6;
0364: public static final int kDataBrowserMetricCellContentInset = 1;
0365: public static final int kDataBrowserMetricIconAndTextGap = 2;
0366: public static final int kDataBrowserMetricDisclosureColumnEdgeInset = 3;
0367: public static final int kDataBrowserMetricDisclosureTriangleAndContentGap = 4;
0368: public static final int kDataBrowserMetricDisclosureColumnPerDepthGap = 5;
0369: public static final int kDataBrowserNoItem = 0;
0370: public static final int kDataBrowserOrderUndefined = 0;
0371: public static final int kDataBrowserOrderIncreasing = 1;
0372: public static final int kDataBrowserOrderDecreasing = 2;
0373: public static final int kDataBrowserPropertyEnclosingPart = 0;
0374: public static final int kDataBrowserPropertyContentPart = ('-' << 24)
0375: + ('-' << 16) + ('-' << 8) + '-';
0376: public static final int kDataBrowserPropertyDisclosurePart = ('d' << 24)
0377: + ('i' << 16) + ('s' << 8) + 'c';
0378: public static final int kDataBrowserPropertyIsMutable = 1 << 0;
0379: public static final int kDataBrowserRevealOnly = 0;
0380: public static final int kDataBrowserRevealAndCenterInView = 1 << 0;
0381: public static final int kDataBrowserRevealWithoutSelecting = 1 << 1;
0382: public static final int kDataBrowserSelectOnlyOne = 1 << 1;
0383: public static final int kDataBrowserUserStateChanged = 13;
0384: public static final int kDataBrowserUserToggledContainer = 16;
0385: public static final int kDataBrowserTextType = ('t' << 24)
0386: + ('e' << 16) + ('x' << 8) + 't';
0387: public static final int kDataBrowserTableViewFillHilite = 1;
0388: public static final int kDataBrowserViewSpecificFlagsOffset = 16;
0389: public static final int kDocumentWindowClass = 6;
0390: public static final int kDragActionNothing = 0;
0391: public static final int kDragActionCopy = 1;
0392: public static final int kDragActionAlias = 1 << 1;
0393: public static final int kDragActionGeneric = 1 << 2;
0394: public static final int kDragActionPrivate = 1 << 3;
0395: public static final int kDragActionMove = 1 << 4;
0396: public static final int kDragActionDelete = 1 << 5;
0397: public static final int kDragActionAll = 0xFFFFFFFF;
0398: public static final int kDragStandardTranslucency = 0;
0399: public static final int kDragTrackingEnterHandler = 1;
0400: public static final int kDragTrackingEnterWindow = 2;
0401: public static final int kDragTrackingInWindow = 3;
0402: public static final int kDragTrackingLeaveWindow = 4;
0403: public static final int kDragTrackingLeaveHandler = 5;
0404: public static final int kEventAppleEvent = 1;
0405: public static final int kEventAppAvailableWindowBoundsChanged = 110;
0406: public static final int kEventAttributeUserEvent = 1 << 0;
0407: public static final int kEventClassAppleEvent = ('e' << 24)
0408: + ('p' << 16) + ('p' << 8) + 'c';
0409: public static final int kEventClassApplication = ('a' << 24)
0410: + ('p' << 16) + ('p' << 8) + 'l';
0411: public static final int kEventClassCommand = ('c' << 24)
0412: + ('m' << 16) + ('d' << 8) + 's';
0413: public static final int kEventClassClockView = ('c' << 24)
0414: + ('l' << 16) + ('o' << 8) + 'c';
0415: public static final int kEventClassControl = ('c' << 24)
0416: + ('n' << 16) + ('t' << 8) + 'l';
0417: public static final int kEventClassFont = ('f' << 24) + ('o' << 16)
0418: + ('n' << 8) + 't';
0419: public static final int kEventClassHIObject = ('h' << 24)
0420: + ('i' << 16) + ('o' << 8) + 'b';
0421: public static final int kEventClassKeyboard = ('k' << 24)
0422: + ('e' << 16) + ('y' << 8) + 'b';
0423: public static final int kEventClassMenu = ('m' << 24) + ('e' << 16)
0424: + ('n' << 8) + 'u';
0425: public static final int kEventClassMouse = ('m' << 24)
0426: + ('o' << 16) + ('u' << 8) + 's';
0427: public static final int kEventClassScrollable = ('s' << 24)
0428: + ('c' << 16) + ('r' << 8) + 'l';
0429: public static final int kEventClassSearchField = ('s' << 24)
0430: + ('r' << 16) + ('f' << 8) + 'd';
0431: public static final int kEventClassTextInput = ('t' << 24)
0432: + ('e' << 16) + ('x' << 8) + 't';
0433: public static final int kEventClassWindow = ('w' << 24)
0434: + ('i' << 16) + ('n' << 8) + 'd';
0435: public static final int kEventClockDateOrTimeChanged = 1;
0436: public static final int kEventControlApplyBackground = 5;
0437: public static final int kEventControlActivate = 9;
0438: public static final int kEventControlAddedSubControl = 152;
0439: public static final int kEventControlBoundsChanged = 154;
0440: public static final int kEventControlClick = 13;
0441: public static final int kEventControlContextualMenuClick = 12;
0442: public static final int kEventControlDeactivate = 10;
0443: public static final int kEventControlDraw = 4;
0444: public static final int kControlFocusNextPart = -1;
0445: public static final int kEventControlGetClickActivation = 17;
0446: public static final int kEventControlGetFocusPart = 8;
0447: public static final int kEventControlHit = 1;
0448: public static final int kEventControlHitTest = 3;
0449: public static final int kEventControlSetCursor = 11;
0450: public static final int kEventControlSetFocusPart = 7;
0451: public static final int kEventParamControlSubControl = ('c' << 24)
0452: + ('s' << 16) + ('u' << 8) + 'b';
0453: public static final int kEventControlRemovingSubControl = 153;
0454: public static final int kEventControlOwningWindowChanged = 159;
0455: public static final int kEventControlVisibilityChanged = 157;
0456: public static final int kEventControlTrack = 51;
0457: public static final int kEventPriorityStandard = 1;
0458: public static final double kEventDurationForever = -1.0;
0459: public static final double kEventDurationNoWait = 0.0;
0460: public static final int kEventFontSelection = 2;
0461: public static final int kEventFontPanelClosed = 1;
0462: public static final int kEventParamGrafPort = ('g' << 24)
0463: + ('r' << 16) + ('a' << 8) + 'f';
0464: public static final int kEventHIObjectConstruct = 1;
0465: public static final int kEventHIObjectDestruct = 3;
0466: public static final int kEventMenuCalculateSize = 1004;
0467: public static final int kEventMenuClosed = 5;
0468: public static final int kEventMenuCreateFrameView = 1005;
0469: public static final int kEventMenuDrawItem = 102;
0470: public static final int kEventMenuDrawItemContent = 103;
0471: public static final int kEventMenuGetFrameBounds = 1006;
0472: public static final int kEventMenuMeasureItemWidth = 100;
0473: public static final int kEventMenuOpening = 4;
0474: public static final int kEventMenuPopulate = 9;
0475: public static final int kEventMenuTargetItem = 6;
0476: public static final int kEventMouseButtonPrimary = 1;
0477: public static final int kEventMouseButtonSecondary = 2;
0478: public static final int kEventMouseButtonTertiary = 3;
0479: public static final int kEventMouseDown = 1;
0480: public static final int kEventMouseDragged = 6;
0481: public static final int kEventMouseEntered = 8;
0482: public static final int kEventMouseExited = 9;
0483: public static final int kEventMouseMoved = 5;
0484: public static final int kEventMouseUp = 2;
0485: public static final int kEventMouseWheelAxisX = 0;
0486: public static final int kEventMouseWheelAxisY = 1;
0487: public static final int kEventMouseWheelMoved = 10;
0488: public static final int kEventParamAEEventClass = ('e' << 24)
0489: + ('v' << 16) + ('c' << 8) + 'l';
0490: public static final int kEventParamAEEventID = ('e' << 24)
0491: + ('v' << 16) + ('t' << 8) + 'i';
0492: public static final int kEventParamATSUFontID = ('a' << 24)
0493: + ('u' << 16) + ('i' << 8) + 'd';
0494: public static final int kEventParamATSUFontSize = ('a' << 24)
0495: + ('u' << 16) + ('s' << 8) + 'z';
0496: public static final int kEventParamAttributes = ('a' << 24)
0497: + ('t' << 16) + ('t' << 8) + 'r';
0498: public static final int kEventParamBounds = ('b' << 24)
0499: + ('o' << 16) + ('u' << 8) + 'n';
0500: public static final int kEventParamCGContextRef = ('c' << 24)
0501: + ('n' << 16) + ('t' << 8) + 'x';
0502: public static final int kEventParamClickActivation = ('c' << 24)
0503: + ('l' << 16) + ('a' << 8) + 'c';
0504: public static final int kEventParamClickCount = ('c' << 24)
0505: + ('c' << 16) + ('n' << 8) + 't';
0506: public static final int kEventParamControlPart = ('c' << 24)
0507: + ('p' << 16) + ('r' << 8) + 't';
0508: public static final int kEventParamControlRef = ('c' << 24)
0509: + ('t' << 16) + ('r' << 8) + 'l';
0510: public static final int kEventParamCurrentBounds = ('c' << 24)
0511: + ('r' << 16) + ('c' << 8) + 't';
0512: public static final int kEventParamDirectObject = ('-' << 24)
0513: + ('-' << 16) + ('-' << 8) + '-';
0514: public static final int kEventParamDictionary = ('d' << 24)
0515: + ('i' << 16) + ('c' << 8) + 't';
0516: public static final int kEventParamFMFontFamily = ('f' << 24)
0517: + ('m' << 16) + ('f' << 8) + 'm';
0518: public static final int kEventParamFMFontStyle = ('f' << 24)
0519: + ('m' << 16) + ('s' << 8) + 't';
0520: public static final int kEventParamFMFontSize = ('f' << 24)
0521: + ('m' << 16) + ('s' << 8) + 'z';
0522: public static final int kEventParamFontColor = ('f' << 24)
0523: + ('c' << 16) + ('l' << 8) + 'r';
0524: public static final int kEventParamKeyCode = ('k' << 24)
0525: + ('c' << 16) + ('o' << 8) + 'd';
0526: public static final int kEventParamKeyMacCharCodes = ('k' << 24)
0527: + ('c' << 16) + ('h' << 8) + 'r';
0528: public static final int kEventParamKeyModifiers = ('k' << 24)
0529: + ('m' << 16) + ('o' << 8) + 'd';
0530: public static final int kEventParamMenuCommand = ('m' << 24)
0531: + ('c' << 16) + ('m' << 8) + 'd';
0532: public static final int kEventParamMenuItemIndex = ('i' << 24)
0533: + ('t' << 16) + ('e' << 8) + 'm';
0534: public static final int kEventParamMenuItemBounds = ('m' << 24)
0535: + ('i' << 16) + ('t' << 8) + 'b';
0536: public static final int kEventParamMenuItemWidth = ('m' << 24)
0537: + ('i' << 16) + ('t' << 8) + 'w';
0538: public static final int kEventParamModalWindow = ('m' << 24)
0539: + ('w' << 16) + ('i' << 8) + 'n';
0540: public static final int kEventParamMouseButton = ('m' << 24)
0541: + ('b' << 16) + ('t' << 8) + 'n';
0542: public static final int kEventParamMouseChord = ('c' << 24)
0543: + ('h' << 16) + ('o' << 8) + 'r';
0544: public static final int kEventParamMouseLocation = ('m' << 24)
0545: + ('l' << 16) + ('o' << 8) + 'c';
0546: public static final int kEventParamMouseWheelAxis = ('m' << 24)
0547: + ('w' << 16) + ('a' << 8) + 'x';
0548: public static final int kEventParamMouseWheelDelta = ('m' << 24)
0549: + ('w' << 16) + ('d' << 8) + 'l';
0550: public static final int kEventParamPreviousBounds = ('p' << 24)
0551: + ('r' << 16) + ('c' << 8) + 't';
0552: public static final int kEventParamOrigin = ('o' << 24)
0553: + ('r' << 16) + ('g' << 8) + 'n';
0554: public static final int kEventParamOriginalBounds = ('o' << 24)
0555: + ('r' << 16) + ('c' << 8) + 't';
0556: public static final int kEventParamReason = ('w' << 24)
0557: + ('h' << 16) + ('y' << 8) + '?';
0558: public static final int kEventParamRgnHandle = ('r' << 24)
0559: + ('g' << 16) + ('n' << 8) + 'h';
0560: public static final int kEventParamTextInputReplyLeadingEdge = ('t' << 24)
0561: + ('r' << 16) + ('l' << 8) + 'e';
0562: public static final int kEventParamTextInputReplyPoint = ('t' << 24)
0563: + ('r' << 16) + ('p' << 8) + 't';
0564: public static final int kEventParamTextInputReplyRegionClass = ('t' << 24)
0565: + ('r' << 16) + ('r' << 8) + 'g';
0566: public static final int kEventParamTextInputReplyTextOffset = ('t' << 24)
0567: + ('r' << 16) + ('t' << 8) + 'o';
0568: public static final int kEventParamTextInputSendCurrentPoint = ('t' << 24)
0569: + ('s' << 16) + ('c' << 8) + 'p';
0570: public static final int kEventParamTextInputSendFixLen = ('t' << 24)
0571: + ('s' << 16) + ('f' << 8) + 'x';
0572: public static final int kEventParamTextInputSendHiliteRng = ('t' << 24)
0573: + ('s' << 16) + ('h' << 8) + 'i';
0574: public static final int kEventParamTextInputSendKeyboardEvent = ('t' << 24)
0575: + ('s' << 16) + ('k' << 8) + 'e';
0576: public static final int kEventParamTextInputSendText = ('t' << 24)
0577: + ('s' << 16) + ('t' << 8) + 'x';
0578: public static final int kEventParamKeyUnicodes = ('k' << 24)
0579: + ('u' << 16) + ('n' << 8) + 'i';
0580: public static final int kEventParamWindowDefPart = ('w' << 24)
0581: + ('d' << 16) + ('p' << 8) + 'c';
0582: public static final int kEventParamWindowMouseLocation = ('w' << 24)
0583: + ('m' << 16) + ('o' << 8) + 'u';
0584: public static final int kEventParamWindowRef = ('w' << 24)
0585: + ('i' << 16) + ('n' << 8) + 'd';
0586: public static final int kEventParamWindowRegionCode = ('w' << 24)
0587: + ('s' << 16) + ('h' << 8) + 'p';
0588: public static final int kEventProcessCommand = 1;
0589: public static final int kEventQueueOptionsNone = 0;
0590: public static final int kEventRawKeyDown = 1;
0591: public static final int kEventRawKeyRepeat = 2;
0592: public static final int kEventRawKeyUp = 3;
0593: public static final int kEventRawKeyModifiersChanged = 4;
0594: public static final int kEventSearchFieldCancelClicked = 1;
0595: public static final int kEventSearchFieldSearchClicked = 2;
0596: public static final int kEventScrollableScrollTo = 10;
0597: public static final int kEventTextInputUpdateActiveInputArea = 1;
0598: public static final int kEventTextInputUnicodeForKeyEvent = 2;
0599: public static final int kEventTextInputOffsetToPos = 3;
0600: public static final int kEventTextInputPosToOffset = 4;
0601: public static final int kEventTextInputGetSelectedText = 6;
0602: public static final int kEventWindowActivated = 5;
0603: public static final int kEventWindowBoundsChanged = 27;
0604: public static final int kEventWindowClose = 72;
0605: public static final int kEventWindowCollapsed = 67;
0606: public static final int kEventWindowDeactivated = 6;
0607: public static final int kEventWindowDrawContent = 2;
0608: public static final int kEventWindowExpanded = 70;
0609: public static final int kEventWindowFocusAcquired = 200;
0610: public static final int kEventWindowFocusRelinquish = 201;
0611: public static final int kEventWindowGetClickModality = 8;
0612: public static final int kEventWindowGetRegion = 1002;
0613: public static final int kEventWindowHidden = 25;
0614: public static final int kEventWindowHitTest = 1003;
0615: public static final int kEventWindowShown = 24;
0616: public static final int kEventWindowToolbarSwitchMode = 150;
0617: public static final int kEventWindowUpdate = 1;
0618: public static final int kFMIterationCompleted = -980;
0619: public static final int kFloatingWindowClass = 5;
0620: public static final int kFontFamilyName = 1;
0621: public static final int kFontNoPlatformCode = -1;
0622: public static final int kFontNoScriptCode = -1;
0623: public static final int kFontNoLanguageCode = -1;
0624: public static final int kFontUnicodePlatform = 0;
0625: public static final int kFontSelectionQDStyleVersionZero = 0;
0626: public static final int kFontSelectionATSUIType = ('a' << 24)
0627: + ('s' << 16) + ('t' << 8) + 'l';
0628: public static final int kFontSelectionQDType = ('q' << 24)
0629: + ('s' << 16) + ('t' << 8) + 'l';
0630: public static final int kHIComboBoxAutoCompletionAttribute = (1 << 0);
0631: public static final int kHIComboBoxAutoDisclosureAttribute = (1 << 1);
0632: public static final int kHIComboBoxAutoSizeListAttribute = (1 << 3);
0633: public static final int kHIComboBoxEditTextPart = 5;
0634: public static final int kHIComboBoxNumVisibleItemsTag = ('c' << 24)
0635: + ('b' << 16) + ('n' << 8) + 'i';
0636: public static final int kHICommandFromMenu = 1 << 0;
0637: public static final int kHICommandQuit = ('q' << 24) + ('u' << 16)
0638: + ('i' << 8) + 't';
0639: public static final int kHILayoutBindMin = 1;
0640: public static final int kHILayoutBindMax = 2;
0641: public static final int kHIScrollViewOptionsVertScroll = (1 << 0);
0642: public static final int kHIScrollViewOptionsHorizScroll = (1 << 1);
0643: public static final int kHIScrollViewOptionsAllowGrow = (1 << 2);
0644: public static final int kHIThemeFrameTextFieldSquare = 0;
0645: public static final int kHIThemeGroupBoxKindPrimary = 0;
0646: public static final int kHIThemeFrameListBox = 1;
0647: public static final int kRedrawHighlighting = 1;
0648: public static final int kTSMOutsideOfBody = 1;
0649: public static final int kTSMInsideOfBody = 2;
0650: public static final int kTSMInsideOfActiveInputArea = 3;
0651: public static final int kThemeComboBox = 16;
0652: public static final int kThemeLeftOutsideArrowPressed = 0x01;
0653: public static final int kThemeLeftInsideArrowPressed = 0x02;
0654: public static final int kThemeLeftTrackPressed = 0x04;
0655: public static final int kThemePopupButton = 5;
0656: public static final int kThemeThumbPressed = 0x08;
0657: public static final int kThemeRightTrackPressed = 0x10;
0658: public static final int kThemeRightInsideArrowPressed = 0x20;
0659: public static final int kThemeRightOutsideArrowPressed = 0x40;
0660: public static final int kThemeScrollBarMedium = 0;
0661: public static final int kThemeSliderMedium = 2;
0662: public static final int kThemeProgressBarMedium = 3;
0663: public static final int kThemeTrackActive = 0;
0664: public static final int kThemeTrackDisabled = 1;
0665: public static final int kThemeTrackNothingToScroll = 2;
0666: public static final int kThemeTrackInactive = 3;
0667: public static final int kThemeTrackHorizontal = (1 << 0);
0668: public static final int kThemeTrackRightToLeft = (1 << 1);
0669: public static final int kThemeTrackShowThumb = (1 << 2);
0670: public static final int kThemeTrackThumbRgnIsNotGhost = (1 << 3);
0671: public static final int kThemeTrackNoScrollBarArrows = (1 << 4);
0672: public static final int kThemeTrackHasFocus = (1 << 5);
0673: public static final int kThemeTabNonFront = 0;
0674: public static final int kThemeTabNonFrontPressed = 1;
0675: public static final int kThemeTabNonFrontInactive = 2;
0676: public static final int kThemeTabFront = 3;
0677: public static final int kThemeTabFrontInactive = 4;
0678: public static final int kThemeTabNonFrontUnavailable = 5;
0679: public static final int kThemeTabFrontUnavailable = 6;
0680: public static final int kThemeTabNorth = 0;
0681: public static final int kThemeTabSouth = 1;
0682: public static final int kThemeTabEast = 2;
0683: public static final int kThemeTabWest = 3;
0684: public static final int kThemeTextColorMenuItemDisabled = 36;
0685: public static final int kHIThemeOrientationNormal = 0;
0686: public static final int kHIThemeOrientationInverted = 1;
0687: public static final int kHIThemeTextHorizontalFlushLeft = 0;
0688: public static final int kHIThemeTextHorizontalFlushCenter = 1;
0689: public static final int kHIThemeTextHorizontalFlushRight = 2;
0690: public static final int kHIThemeTextVerticalFlushTop = 0;
0691: public static final int kHIThemeTextVerticalFlushCenter = 1;
0692: public static final int kHIThemeTextVerticalFlushBottom = 2;
0693: public static final int kHIThemeTabPositionFirst = 0;
0694: public static final int kHIThemeTabPositionMiddle = 1;
0695: public static final int kHIThemeTabPositionLast = 2;
0696: public static final int kHIThemeTabPositionOnly = 3;
0697: public static final int kHIThemeTabAdornmentFocus = 1 << 2;
0698: public static final int kHIThemeTabAdornmentTrailingSeparator = 1 << 4;
0699: public static final int kHIViewFeatureIsOpaque = 1 << 25;
0700: public static final int kHIViewZOrderAbove = 1;
0701: public static final int kHIViewZOrderBelow = 2;
0702: public static final int kHITransformNone = 0x00;
0703: public static final int kHITransformDisabled = 0x01;
0704: public static final int kHITransformSelected = 0x4000;
0705: public static final int kHMCFStringContent = ('c' << 24)
0706: + ('f' << 16) + ('s' << 8) + 't';
0707: public static final int kHMOutsideBottomRightAligned = 10;
0708: public static final int kHMAbsoluteCenterAligned = 23;
0709: public static final int kHMContentProvided = 0;
0710: public static final int kHMContentNotProvided = -1;
0711: public static final int kHMContentNotProvidedDontPropagate = -2;
0712: public static final int kHMDefaultSide = 0;
0713: public static final int kHMDisposeContent = 1;
0714: public static final int kHMSupplyContent = 0;
0715: public static final int kHelpWindowClass = 10;
0716: public static final int kInvalidFontFamily = -1;
0717: public static final int kLarge1BitMask = ('I' << 24) + ('C' << 16)
0718: + ('N' << 8) + '#';
0719: public static final int kLarge4BitData = ('i' << 24) + ('c' << 16)
0720: + ('l' << 8) + '4';
0721: public static final int kLarge8BitData = ('i' << 24) + ('c' << 16)
0722: + ('l' << 8) + '8';
0723: public static final int kLarge32BitData = ('i' << 24) + ('l' << 16)
0724: + ('3' << 8) + '2';
0725: public static final int kLarge8BitMask = ('l' << 24) + ('8' << 16)
0726: + ('m' << 8) + 'k';
0727: public static final int kSmall1BitMask = ('i' << 24) + ('c' << 16)
0728: + ('s' << 8) + '#';
0729: public static final int kSmall4BitData = ('i' << 24) + ('c' << 16)
0730: + ('s' << 8) + '4';
0731: public static final int kSmall8BitData = ('i' << 24) + ('c' << 16)
0732: + ('s' << 8) + '8';
0733: public static final int kSmall32BitData = ('i' << 24) + ('s' << 16)
0734: + ('3' << 8) + '2';
0735: public static final int kSmall8BitMask = ('s' << 24) + ('8' << 16)
0736: + ('m' << 8) + 'k';
0737: public static final int kMini1BitMask = ('i' << 24) + ('c' << 16)
0738: + ('m' << 8) + '#';
0739: public static final int kMini4BitData = ('i' << 24) + ('c' << 16)
0740: + ('m' << 8) + '4';
0741: public static final int kMini8BitData = ('i' << 24) + ('c' << 16)
0742: + ('m' << 8) + '8';
0743: public static final int kThumbnail32BitData = ('i' << 24)
0744: + ('t' << 16) + ('3' << 8) + '2';
0745: public static final int kThumbnail8BitMask = ('t' << 24)
0746: + ('8' << 16) + ('m' << 8) + 'k';
0747: public static final int kHuge1BitMask = ('i' << 24) + ('c' << 16)
0748: + ('h' << 8) + '#';
0749: public static final int kHuge4BitData = ('i' << 24) + ('c' << 16)
0750: + ('h' << 8) + '4';
0751: public static final int kHuge8BitData = ('i' << 24) + ('c' << 16)
0752: + ('h' << 8) + '8';
0753: public static final int kHuge32BitData = ('i' << 24) + ('h' << 16)
0754: + ('3' << 8) + '2';
0755: public static final int kHuge8BitMask = ('h' << 24) + ('8' << 16)
0756: + ('m' << 8) + 'k';
0757: public static final int kLigaturesType = 1;
0758: public static final int kQDParseRegionFromTop = (1 << 0);
0759: public static final int kQDParseRegionFromBottom = (1 << 1);
0760: public static final int kQDParseRegionFromLeft = (1 << 2);
0761: public static final int kQDParseRegionFromRight = (1 << 3);
0762: public static final int kQDParseRegionFromTopLeft = kQDParseRegionFromTop
0763: | kQDParseRegionFromLeft;
0764: public static final int kQDRegionToRectsMsgInit = 1;
0765: public static final int kQDRegionToRectsMsgParse = 2;
0766: public static final int kQDRegionToRectsMsgTerminate = 3;
0767: public static final int kRequiredLigaturesOffSelector = 1;
0768: public static final int kCommonLigaturesOffSelector = 3;
0769: public static final int kRareLigaturesOffSelector = 5;
0770: public static final int kLogosOffSelector = 7;
0771: public static final int kLSLaunchDefaults = 0x00000001;
0772: public static final int kLSUnknownType = 0;
0773: public static final int kLSUnknownCreator = 0;
0774: public static final int kLSRolesAll = 0xFFFFFFFF;
0775: public static final int kRebusPicturesOffSelector = 9;
0776: public static final int kDiphthongLigaturesOffSelector = 11;
0777: public static final int kSquaredLigaturesOffSelector = 13;
0778: public static final int kAbbrevSquaredLigaturesOffSelector = 15;
0779: public static final int kMacHelpVersion = 3;
0780: public static final int kMenuBlankGlyph = 97;
0781: public static final int kMenuCapsLockGlyph = 99;
0782: public static final int kMenuCGImageRefType = 7;
0783: public static final int kMenuCheckmarkGlyph = 18;
0784: public static final int kMenuClearGlyph = 28;
0785: public static final int kMenuCommandGlyph = 17;
0786: public static final int kMenuContextualMenuGlyph = 109;
0787: public static final int kMenuControlGlyph = 6;
0788: public static final int kMenuControlISOGlyph = 138;
0789: public static final int kMenuControlModifier = 4;
0790: public static final int kMenuDeleteLeftGlyph = 23;
0791: public static final int kMenuDeleteRightGlyph = 10;
0792: public static final int kMenuDiamondGlyph = 19;
0793: public static final int kMenuDownArrowGlyph = 106;
0794: public static final int kMenuDownwardArrowDashedGlyph = 16;
0795: public static final int kMenuEnterGlyph = 4;
0796: public static final int kMenuEscapeGlyph = 27;
0797: public static final int kMenuF10Glyph = 120;
0798: public static final int kMenuF11Glyph = 121;
0799: public static final int kMenuF12Glyph = 122;
0800: public static final int kMenuF1Glyph = 111;
0801: public static final int kMenuF2Glyph = 112;
0802: public static final int kMenuF3Glyph = 113;
0803: public static final int kMenuF4Glyph = 114;
0804: public static final int kMenuF5Glyph = 115;
0805: public static final int kMenuF6Glyph = 116;
0806: public static final int kMenuF7Glyph = 117;
0807: public static final int kMenuF8Glyph = 118;
0808: public static final int kMenuF9Glyph = 119;
0809: public static final int kMenuHelpGlyph = 103;
0810: public static final int kMenuItemAttrCustomDraw = 1 << 11;
0811: public static final int kMenuItemAttrAutoRepeat = 1 << 9;
0812: public static final int kMenuItemAttrSeparator = 64;
0813: public static final int kMenuLeftArrowDashedGlyph = 24;
0814: public static final int kMenuLeftArrowGlyph = 100;
0815: public static final int kMenuNoCommandModifier = (1 << 3);
0816: public static final int kMenuNoIcon = 0;
0817: public static final int kMenuNoModifiers = 0;
0818: public static final int kMenuNonmarkingReturnGlyph = 13;
0819: public static final int kMenuNullGlyph = 0;
0820: public static final int kMenuOptionGlyph = 7;
0821: public static final int kMenuOptionModifier = (1 << 1);
0822: public static final int kMenuPageDownGlyph = 107;
0823: public static final int kMenuPageUpGlyph = 98;
0824: public static final int kMenuPencilGlyph = 15;
0825: public static final int kMenuPowerGlyph = 110;
0826: public static final int kMenuReturnGlyph = 11;
0827: public static final int kMenuReturnR2LGlyph = 12;
0828: public static final int kMenuRightArrowDashedGlyph = 26;
0829: public static final int kMenuRightArrowGlyph = 101;
0830: public static final int kMenuShiftGlyph = 5;
0831: public static final int kMenuShiftModifier = (1 << 0);
0832: public static final int kMenuTabRightGlyph = 2;
0833: public static final int kMenuUpArrowDashedGlyph = 25;
0834: public static final int kMenuUpArrowGlyph = 104;
0835: public static final int kMouseTrackingMouseDown = 1;
0836: public static final int kMouseTrackingMouseUp = 2;
0837: public static final int kMouseTrackingMouseExited = 3;
0838: public static final int kMouseTrackingMouseEntered = 4;
0839: public static final int kMouseTrackingMouseDragged = 5;
0840: public static final int kMouseTrackingMouseKeyModifiersChanged = 6;
0841: public static final int kMouseTrackingUserCancelled = 7;
0842: public static final int kMouseTrackingTimedOut = 8;
0843: public static final int kMouseTrackingMouseMoved = 9;
0844: public static final int kModalWindowClass = 3;
0845: public static final int kMovableModalWindowClass = 4;
0846: public static final int kNavAllowInvisibleFiles = 0x00000100;
0847: public static final int kNavAllowMultipleFiles = 0x00000080;
0848: public static final int kNavAllowOpenPackages = 0x00002000;
0849: public static final int kNavCBNewLocation = 5;
0850: public static final int kNavGenericSignature = ('*' << 24)
0851: + ('*' << 16) + ('*' << 8) + '*';
0852: public static final int kNavSupportPackages = 0x00001000;
0853: public static final int kNavUserActionCancel = 1;
0854: public static final int kNavUserActionChoose = 4;
0855: public static final int kNavUserActionOpen = 2;
0856: public static final int kNavUserActionSaveAs = 3;
0857: public static final short kOnSystemDisk = -32768;
0858: public static final int kOverlayWindowClass = 14;
0859: public static final int kPMCancel = 0x0080;
0860: public static final int kPMDestinationFax = 3;
0861: public static final int kPMDestinationFile = 2;
0862: public static final int kPMDestinationPreview = 4;
0863: public static final int kPMDestinationPrinter = 1;
0864: public static final int kPMPrintAllPages = 2147483647;
0865: public static final int kQDUseCGTextMetrics = (1 << 2);
0866: public static final int kQDUseCGTextRendering = (1 << 1);
0867: public static final int kScrapFlavorTypeUnicode = ('u' << 24)
0868: + ('t' << 16) + ('x' << 8) + 't';
0869: public static final int kScrapFlavorTypeText = ('T' << 24)
0870: + ('E' << 16) + ('X' << 8) + 'T';
0871: public static final boolean kScrollBarsSyncAlwaysActive = true;
0872: public static final boolean kScrollBarsSyncWithFocus = false;
0873: public static final int kHISearchFieldNoAttributes = 0;
0874: public static final int kHISearchFieldAttributesCancel = 1 << 0;
0875: public static final int kHISearchFieldAttributesSearchIcon = 1 << 1;
0876: public static final int kSelectorAlLAvailableData = 0xFFFFFFFF;
0877: public static final int kSetFrontProcessFrontWindowOnly = 1 << 0;
0878: public static final int kSheetWindowClass = 11;
0879: public static final int kStdCFStringAlertVersionOne = 1;
0880: public static final int kSystemIconsCreator = ('m' << 24)
0881: + ('a' << 16) + ('c' << 8) + 's';
0882: public static final int kSymbolLigaturesOffSelector = 17;
0883: public static final int kControlSliderDoesNotPoint = 2;
0884: public static final int kTXNViewRectKey = 0;
0885: public static final int kTXNDestinationRectKey = 1;
0886: public static final int kTXNTextRectKey = 2;
0887: public static final int kTXNVerticalScrollBarRectKey = 3;
0888: public static final int kTXNHorizontalScrollBarRectKey = 4;
0889: public static final int kTXNAlwaysWrapAtViewEdgeMask = 1 << 11;
0890: public static final int kTXNBackgroundTypeRGB = 1;
0891: public static final int kTXNDefaultFontSize = 0x000C0000;
0892: public static final int kTXNDefaultFontStyle = 0;
0893: public static final int kTXNDefaultFontName = 0;
0894: public static final int kTXNFlushLeft = 1;
0895: public static final int kTXNFlushRight = 2;
0896: public static final int kTXNCenter = 4;
0897: public static final int kTXNDisableDragAndDropTag = ('d' << 24)
0898: + ('r' << 16) + ('a' << 8) + 'g';
0899: public static final int kTXNDoFontSubstitution = ('f' << 24)
0900: + ('S' << 16) + ('u' << 8) + 'b';
0901: public static final int kTXNDontDrawCaretWhenInactiveMask = 1 << 12;
0902: public static final int kTXNDrawCaretWhenInactiveTag = ('d' << 24)
0903: + ('c' << 16) + ('r' << 8) + 't';
0904: public static final int kTXNEndOffset = 2147483647;
0905: public static final int kTXNIOPrivilegesTag = ('i' << 24)
0906: + ('o' << 16) + ('p' << 8) + 'v';
0907: public static final int kTXNJustificationTag = ('j' << 24)
0908: + ('u' << 16) + ('s' << 8) + 't';
0909: public static final int kTXNMarginsTag = ('m' << 24) + ('a' << 16)
0910: + ('r' << 8) + 'g';
0911: public static final int kTXNMonostyledTextMask = 1 << 17;
0912: public static final int kTXNQDFontFamilyIDAttribute = ('f' << 24)
0913: + ('o' << 16) + ('n' << 8) + 't';
0914: public static final int kTXNQDFontSizeAttribute = ('s' << 24)
0915: + ('i' << 16) + ('z' << 8) + 'e';
0916: public static final int kTXNQDFontStyleAttribute = ('f' << 24)
0917: + ('a' << 16) + ('c' << 8) + 'e';
0918: public static final int kTXNQDFontColorAttribute = ('k' << 24)
0919: + ('l' << 16) + ('o' << 8) + 'r';
0920: public static final int kTXNQDFontFamilyIDAttributeSize = 2;
0921: public static final int kTXNQDFontSizeAttributeSize = 2;
0922: public static final int kTXNQDFontStyleAttributeSize = 2;
0923: public static final int kTXNQDFontColorAttributeSize = 6;
0924: public static final int kTXNReadOnlyMask = 1 << 5;
0925: public static final int kTXNSingleLineOnlyMask = 1 << 14;
0926: public static final int kTXNStartOffset = 0;
0927: public static final int kTXNSystemDefaultEncoding = 0;
0928: public static final int kTXNTabSettingsTag = ('t' << 24)
0929: + ('a' << 16) + ('b' << 8) + 's';
0930: public static final int kTXNTextEditStyleFrameType = 1;
0931: public static final int kTXNUnicodeTextData = ('u' << 24)
0932: + ('t' << 16) + ('x' << 8) + 't';
0933: public static final int kTXNUnicodeTextFile = ('u' << 24)
0934: + ('t' << 16) + ('x' << 8) + 't';
0935: public static final int kTXNUseCurrentSelection = -1;
0936: public static final int kTXNVisibilityTag = ('v' << 24)
0937: + ('i' << 16) + ('s' << 8) + 'b';
0938: public static final int kTXNWordWrapStateTag = ('w' << 24)
0939: + ('w' << 16) + ('r' << 8) + 's';
0940: public static final int kTXNAutoScrollBehaviorTag = ('s' << 24)
0941: + ('b' << 16) + ('e' << 8) + 'v';
0942: public static final int kTXNWantHScrollBarMask = 1 << 2;
0943: public static final int kTXNWantVScrollBarMask = 1 << 3;
0944: public static final int kTextEncodingMacUnicode = 0x7E;
0945: public static final int kTextEncodingMacRoman = 0;
0946: public static final int kTextLanguageDontCare = -128;
0947: public static final int kTextRegionDontCare = -128;
0948: public static final int kThemeAdornmentDefault = 1 << 0;
0949: public static final int kThemeAdornmentFocus = 1 << 2;
0950: public static final int kThemeAliasArrowCursor = 2;
0951: public static final int kThemeArrowButton = 4;
0952: public static final int kThemeArrowCursor = 0;
0953: public static final int kThemeArrowDown = 1;
0954: public static final int kThemeArrow5pt = 1;
0955: public static final int kThemeBevelButtonSmall = 8;
0956: public static final int kThemeBrushDialogBackgroundActive = 1;
0957: public static final int kThemeBrushDocumentWindowBackground = 15;
0958: public static final int kThemeBrushPrimaryHighlightColor = -3;
0959: public static final int kThemeBrushSecondaryHighlightColor = -4;
0960: public static final int kThemeBrushButtonFaceActive = 29;
0961: public static final int kThemeBrushFocusHighlight = 19;
0962: public static final int kThemeBrushListViewBackground = 10;
0963: public static final int kThemeButtonOff = 0;
0964: public static final int kThemeButtonOn = 1;
0965: public static final int kThemeButtonMixed = 2;
0966: public static final int kThemeCheckBox = 1;
0967: public static final int kThemeCopyArrowCursor = 1;
0968: public static final int kThemeCrossCursor = 5;
0969: public static final int kThemeCurrentPortFont = 200;
0970: public static final int kThemeDisclosureButton = 6;
0971: public static final int kThemeDisclosureTriangle = 6;
0972: public static final int kThemeDisclosureRight = 0;
0973: public static final int kThemeDisclosureDown = 1;
0974: public static final int kThemeDisclosureLeft = 2;
0975: public static final int kThemeEmphasizedSystemFont = 4;
0976: public static final int kThemeIBeamCursor = 4;
0977: public static final int kThemeMenuItemCmdKeyFont = 103;
0978: public static final int kThemeMenuItemFont = 101;
0979: public static final int kThemeMenuItemHierarchical = 1;
0980: public static final int kThemeMetricDisclosureButtonWidth = 22;
0981: public static final int kThemeMetricDisclosureTriangleHeight = 25;
0982: public static final int kThemeMetricDisclosureTriangleWidth = 26;
0983: public static final int kThemeMetricCheckBoxWidth = 50;
0984: public static final int kThemeMetricComboBoxLargeDisclosureWidth = 74;
0985: public static final int kThemeMetricRadioButtonWidth = 52;
0986: public static final int kThemeMetricEditTextFrameOutset = 5;
0987: public static final int kThemeMetricEditTextWhitespace = 4;
0988: public static final int kThemeMetricFocusRectOutset = 7;
0989: public static final int kThemeMetricHSliderHeight = 41;
0990: public static final int kThemeMetricLargeTabHeight = 10;
0991: public static final int kThemeMetricLargeTabCapsWidth = 11;
0992: public static final int kThemeMetricLittleArrowsHeight = 27;
0993: public static final int kThemeMetricLittleArrowsWidth = 28;
0994: public static final int kThemeMetricMenuTextTrailingEdgeMargin = 67;
0995: public static final int kThemeMetricMenuIconTrailingEdgeMargin = 69;
0996: public static final int kThemeMetricNormalProgressBarThickness = 58;
0997: public static final int kThemeMetricTabFrameOverlap = 12;
0998: public static final int kThemeMetricPrimaryGroupBoxContentInset = 61;
0999: public static final int kThemeMetricPushButtonHeight = 19;
1000: public static final int kThemeMetricRoundTextFieldContentHeight = 80;
1001: public static final int kThemeMetricRoundTextFieldContentInsetLeft = 76;
1002: public static final int kThemeMetricRoundTextFieldContentInsetRight = 77;
1003: public static final int kThemeMetricRoundTextFieldContentInsetBottom = 78;
1004: public static final int kThemeMetricRoundTextFieldContentInsetTop = 79;
1005: public static final int kThemeMetricRoundTextFieldContentInsetWithIconLeft = 109;
1006: public static final int kThemeMetricRoundTextFieldContentInsetWithIconRight = 110;
1007: public static final int kThemeMetricRoundTextFieldSmallContentInsetLeft = 120;
1008: public static final int kThemeMetricRoundTextFieldSmallContentInsetRight = 121;
1009: public static final int kThemeMetricRoundTextFieldSmallContentInsetWithIconLeft = 123;
1010: public static final int kThemeMetricRoundTextFieldSmallContentInsetWithIconRight = 124;
1011: public static final int kThemeMetricScrollBarWidth = 0;
1012: public static final int kThemeMetricVSliderWidth = 45;
1013: public static final int kThemeNotAllowedCursor = 18;
1014: public static final int kThemePointingHandCursor = 10;
1015: public static final int kThemePushButton = 0;
1016: public static final int kThemePushButtonFont = 105;
1017: public static final int kThemeRadioButton = 2;
1018: public static final int kThemeResizeLeftRightCursor = 17;
1019: public static final int kThemeResizeUpDownCursor = 21;
1020: public static final int kThemeResizeUpCursor = 19;
1021: public static final int kThemeResizeDownCursor = 20;
1022: public static final int kThemeResizeLeftCursor = 15;
1023: public static final int kThemeResizeRightCursor = 16;
1024: public static final int kThemeRoundedBevelButton = 15;
1025: public static final int kThemeSmallBevelButton = 8;
1026: public static final int kThemeSmallEmphasizedSystemFont = 2;
1027: public static final int kThemeSmallSystemFont = 1;
1028: public static final int kThemeSpinningCursor = 14;
1029: public static final int kThemeStateActive = 1;
1030: public static final int kThemeStateInactive = 0;
1031: public static final int kThemeStatePressed = 2;
1032: public static final int kThemeStateRollover = 6;
1033: public static final int kThemeStateUnavailable = 7;
1034: public static final int kThemeStateUnavailableInactive = 8;
1035: public static final int kThemeSystemFont = 0;
1036: public static final int kThemeTextColorDialogActive = 1;
1037: public static final int kThemeTextColorDocumentWindowTitleActive = 23;
1038: public static final int kThemeTextColorDocumentWindowTitleInactive = 24;
1039: public static final int kThemeTextColorListView = 22;
1040: public static final int kThemeTextColorPushButtonActive = 12;
1041: public static final int kThemeToolbarFont = 108;
1042: public static final int kThemeViewsFont = 3;
1043: public static final int kThemeWatchCursor = 7;
1044: public static final int kTrackMouseLocationOptionDontConsumeMouseUp = 1;
1045: public static final int kTransformSelected = 0x4000;
1046: public static final int kUIModeNormal = 0;
1047: public static final int kUIModeContentSuppressed = 1;
1048: public static final int kUIModeContentHidden = 2;
1049: public static final int kUIModeAllHidden = 3;
1050: public static final int kUIModeAllSuppressed = 4;
1051: public static final int kUnicodeDocument = ('u' << 24)
1052: + ('d' << 16) + ('o' << 8) + 'c';
1053: public static final int kUtilityWindowClass = 8;
1054: public static final int kWindowActivationScopeNone = 0;
1055: public static final int kWindowActivationScopeIndependent = 1;
1056: public static final int kWindowActivationScopeAll = 2;
1057: public static final int kWindowAlertPositionParentWindowScreen = 0x700A;
1058: public static final int kWindowBoundsChangeOriginChanged = 1 << 3;
1059: public static final int kWindowBoundsChangeSizeChanged = 1 << 2;
1060: public static final int kWindowCascadeOnMainScreen = 4;
1061: public static final int kWindowCloseBoxAttribute = (1 << 0);
1062: public static final int kWindowCollapseBoxAttribute = (1 << 3);
1063: public static final int kWindowCompositingAttribute = (1 << 19);
1064: public static final int kWindowContentRgn = 33;
1065: public static final int kWindowGroupAttrHideOnCollapse = 16;
1066: public static final int kWindowHorizontalZoomAttribute = 1 << 1;
1067: public static final int kWindowVerticalZoomAttribute = 1 << 2;
1068: public static final int kWindowFullZoomAttribute = (OS.kWindowVerticalZoomAttribute | OS.kWindowHorizontalZoomAttribute);
1069: public static final int kWindowLiveResizeAttribute = (1 << 28);
1070: public static final int kWindowModalityAppModal = 2;
1071: public static final int kWindowModalityNone = 0;
1072: public static final int kWindowModalitySystemModal = 1;
1073: public static final int kWindowModalityWindowModal = 3;
1074: public static final int kWindowNoShadowAttribute = (1 << 21);
1075: public static final int kWindowResizableAttribute = (1 << 4);
1076: public static final int kWindowStandardHandlerAttribute = (1 << 25);
1077: public static final int kWindowStructureRgn = 32;
1078: public static final int kWindowToolbarButtonAttribute = (1 << 6);
1079: public static final int kWindowUpdateRgn = 34;
1080: public static final int kWindowNoTitleBarAttribute = (1 << 9);
1081: public static final int kCaretPosition = 1;
1082: public static final int kRawText = 2;
1083: public static final int kSelectedRawText = 3;
1084: public static final int kConvertedText = 4;
1085: public static final int kSelectedConvertedText = 5;
1086: public static final int kBlockFillText = 6;
1087: public static final int kOutlineText = 7;
1088: public static final int kSelectedText = 8;
1089: public static final int mouseDown = 1;
1090: public static final int noErr = 0;
1091: public static final int normal = 0;
1092: public static final int optionKey = 1 << 11;
1093: public static final int osEvt = 15;
1094: public static final int paramErr = -50;
1095: public static final int shiftKey = 1 << 9;
1096: public static final int smKCHRCache = 38;
1097: public static final int smKeyScript = 22;
1098: public static final int smRegionCode = 40;
1099: public static final int smSystemScript = -1;
1100: public static final int srcCopy = 0;
1101: public static final int srcOr = 1;
1102: public static final int srcXor = 2;
1103: public static final int notSrcXor = 6;
1104: public static final int teFlushDefault = 0;
1105: public static final int teCenter = 1;
1106: public static final int teFlushRight = -1;
1107: public static final int teFlushLeft = -2;
1108: public static final int teJustLeft = 0;
1109: public static final int teJustCenter = 1;
1110: public static final int teJustRight = -1;
1111: public static final int typeBoolean = ('b' << 24) + ('o' << 16)
1112: + ('o' << 8) + 'l';
1113: public static final int typeCFDictionaryRef = ('c' << 24)
1114: + ('f' << 16) + ('d' << 8) + 'c';
1115: public static final int typeCFMutableArrayRef = ('c' << 24)
1116: + ('f' << 16) + ('m' << 8) + 'a';
1117: public static final int typeCFStringRef = ('c' << 24) + ('f' << 16)
1118: + ('s' << 8) + 't';
1119: public static final int typeCFTypeRef = ('c' << 24) + ('f' << 16)
1120: + ('t' << 8) + 'y';
1121: public static final int typeCGContextRef = ('c' << 24)
1122: + ('n' << 16) + ('t' << 8) + 'x';
1123: public static final int typeChar = ('T' << 24) + ('E' << 16)
1124: + ('X' << 8) + 'T';
1125: public static final int typeClickActivationResult = ('c' << 24)
1126: + ('l' << 16) + ('a' << 8) + 'c';
1127: public static final int typeControlPartCode = ('c' << 24)
1128: + ('p' << 16) + ('r' << 8) + 't';
1129: public static final int typeControlRef = ('c' << 24) + ('t' << 16)
1130: + ('r' << 8) + 'l';
1131: public static final int typeEventRef = ('e' << 24) + ('v' << 16)
1132: + ('r' << 8) + 'f';
1133: public static final int typeFileURL = ('f' << 24) + ('u' << 16)
1134: + ('r' << 8) + 'l';
1135: public static final int typeFixed = ('f' << 24) + ('i' << 16)
1136: + ('x' << 8) + 'd';
1137: public static final int typeFSRef = ('f' << 24) + ('s' << 16)
1138: + ('r' << 8) + 'f';
1139: public static final int typeGrafPtr = ('g' << 24) + ('r' << 16)
1140: + ('a' << 8) + 'f';
1141: public static final int typeHICommand = ('h' << 24) + ('c' << 16)
1142: + ('m' << 8) + 'd';
1143: public static final int typeHIPoint = ('h' << 24) + ('i' << 16)
1144: + ('p' << 8) + 't';
1145: public static final int typeHIRect = ('h' << 24) + ('i' << 16)
1146: + ('r' << 8) + 'c';
1147: public static final int typeHISize = ('h' << 24) + ('i' << 16)
1148: + ('s' << 8) + 'z';
1149: public static final int typeLongInteger = ('l' << 24) + ('o' << 16)
1150: + ('n' << 8) + 'g';
1151: public static final int typeMenuCommand = ('m' << 24) + ('c' << 16)
1152: + ('m' << 8) + 'd';
1153: public static final int typeMenuItemIndex = ('m' << 24)
1154: + ('i' << 16) + ('d' << 8) + 'x';
1155: public static final int typeMenuRef = ('m' << 24) + ('e' << 16)
1156: + ('n' << 8) + 'u';
1157: public static final int typeMouseButton = ('m' << 24) + ('b' << 16)
1158: + ('t' << 8) + 'n';
1159: public static final int typeMouseWheelAxis = ('m' << 24)
1160: + ('w' << 16) + ('a' << 8) + 'x';
1161: public static final int typeQDPoint = ('Q' << 24) + ('D' << 16)
1162: + ('p' << 8) + 't';
1163: public static final int typeQDRectangle = ('q' << 24) + ('d' << 16)
1164: + ('r' << 8) + 't';
1165: public static final int typeQDRgnHandle = ('r' << 24) + ('g' << 16)
1166: + ('n' << 8) + 'h';
1167: public static final int typeRGBColor = ('c' << 24) + ('R' << 16)
1168: + ('G' << 8) + 'B';
1169: public static final int typeSInt16 = ('s' << 24) + ('h' << 16)
1170: + ('o' << 8) + 'r';
1171: public static final int typeSInt32 = ('l' << 24) + ('o' << 16)
1172: + ('n' << 8) + 'g';
1173: public static final int typeTextRangeArray = ('t' << 24)
1174: + ('r' << 16) + ('a' << 8) + 'y';
1175: public static final int typeType = ('t' << 24) + ('y' << 16)
1176: + ('p' << 8) + 'e';
1177: public static final int typeUInt32 = ('m' << 24) + ('a' << 16)
1178: + ('g' << 8) + 'n';
1179: public static final int typeUnicodeText = ('u' << 24) + ('t' << 16)
1180: + ('x' << 8) + 't';
1181: public static final int typeWildCard = ('w' << 24) + ('i' << 16)
1182: + ('l' << 8) + 'd';
1183: public static final int typeWindowDefPartCode = ('w' << 24)
1184: + ('d' << 16) + ('p' << 8) + 't';
1185: public static final int typeWindowRef = ('w' << 24) + ('i' << 16)
1186: + ('n' << 8) + 'd';
1187: public static final int typeWindowRegionCode = ('w' << 24)
1188: + ('s' << 16) + ('h' << 8) + 'p';
1189: public static final int updateEvt = 6;
1190: public static final int updateMask = 1 << updateEvt;
1191: public static final int userCanceledErr = -128;
1192: public static final short wInContent = 1;
1193: public static final short wNoHit = 0;
1194:
1195: /** JNI natives */
1196: public static final native int NewGlobalRef(Object object);
1197:
1198: public static final native void DeleteGlobalRef(int globalRef);
1199:
1200: public static final native Object JNIGetObject(int globalRef);
1201:
1202: /** Natives */
1203: public static final native boolean __BIG_ENDIAN__();
1204:
1205: public static final native int kCFRunLoopCommonModes();
1206:
1207: public static final native int kCFRunLoopDefaultMode();
1208:
1209: public static final native int kFontPanelAttributesKey();
1210:
1211: public static final native int kFontPanelAttributeTagsKey();
1212:
1213: public static final native int kFontPanelAttributeSizesKey();
1214:
1215: public static final native int kFontPanelAttributeValuesKey();
1216:
1217: public static final native int kUTTagClassFilenameExtension();
1218:
1219: public static final native int kHIViewWindowContentID();
1220:
1221: public static final native int kPMDocumentFormatPDF();
1222:
1223: public static final native int kPMGraphicsContextCoreGraphics();
1224:
1225: public static final native int ActiveNonFloatingWindow();
1226:
1227: public static final native int ActivateTSMDocument(int idocID);
1228:
1229: public static final native int AECountItems(AEDesc theAEDescList,
1230: int[] theCount);
1231:
1232: public static final native int AEGetNthPtr(AEDesc theAEDescList,
1233: int index, int desiredType, int[] theAEKeyword,
1234: int[] typeCode, int dataPtr, int maximumSize,
1235: int[] actualSize);
1236:
1237: public static final native int AEInstallEventHandler(
1238: int theAEEventClass, int theAEEventID, int handler,
1239: int handlerRefcon, boolean isSysHandler);
1240:
1241: public static final native int AEProcessAppleEvent(
1242: EventRecord theEventRecord);
1243:
1244: public static final native int ATSFontActivateFromFileSpecification(
1245: byte[] iFile, int iContext, int iFormat, int iReserved,
1246: int iOptions, int[] oContainer);
1247:
1248: public static final native int ATSFontDeactivate(int iContainer,
1249: int iRefCon, int iOptions);
1250:
1251: public static final native int ATSFontFindFromName(int iName,
1252: int iOptions);
1253:
1254: public static final native int ATSFontGetName(int iFont,
1255: int iOptions, int[] oName);
1256:
1257: public static final native int ATSFontGetPostScriptName(int iFont,
1258: int iOptions, int[] oName);
1259:
1260: public static final native int ATSFontIteratorNext(int iIterator,
1261: int[] Font);
1262:
1263: public static final native int ATSFontIteratorRelease(
1264: int[] ioIterator);
1265:
1266: public static final native int ATSFontIteratorCreate(int iContext,
1267: int iFilter, int iRefCon, int iOptions, int[] ioIterator);
1268:
1269: public static final native int ATSFontGetVerticalMetrics(int iFont,
1270: int iOptions, ATSFontMetrics oMetrics);
1271:
1272: public static final native int ATSFontGetHorizontalMetrics(
1273: int iFont, int iOptions, ATSFontMetrics oMetrics);
1274:
1275: public static final native int ATSUBatchBreakLines(int iTextLayout,
1276: int iRangeStart, int iRangeLength, int iLineWidth,
1277: int[] oBreakCount);
1278:
1279: public static final native int ATSUCreateStyle(int[] oStyle);
1280:
1281: public static final native int ATSUCreateTextLayout(
1282: int[] oTextLayout);
1283:
1284: public static final native int ATSUCreateTextLayoutWithTextPtr(
1285: int iText, int iTextOffset, int iTextLength,
1286: int iTextTotalLength, int iNumberOfRuns, int[] iRunLengths,
1287: int[] iStyles, int[] oTextLayout);
1288:
1289: public static final native int ATSUDirectGetLayoutDataArrayPtrFromTextLayout(
1290: int iTextLayout, int iLineOffset, int iDataSelector,
1291: int[] oLayoutDataArrayPtr, int[] oLayoutDataCount);
1292:
1293: public static final native int ATSUDirectReleaseLayoutDataArrayPtr(
1294: int iLineRef, int iDataSelector, int iLayoutDataArrayPtr);
1295:
1296: public static final native int ATSUDisposeStyle(int iStyle);
1297:
1298: public static final native int ATSUDisposeTextLayout(int iTextLayout);
1299:
1300: public static final native int ATSUDrawText(int iTextLayout,
1301: int iLineOffset, int iLineLength, int iLocationX,
1302: int iLocationY);
1303:
1304: public static final native int ATSUFindFontFromName(byte[] iName,
1305: int iNameLength, int iFontNameCode, int iFontNamePlatform,
1306: int iFontNameScript, int iFontNameLanguage, int[] oFontID);
1307:
1308: public static final native int ATSUFindFontName(int iFontID,
1309: int iFontNameCode, int iFontNamePlatform,
1310: int iFontNameScript, int iFontNameLanguage,
1311: int iMaximumNameLength, byte[] oName,
1312: int[] oActualNameLength, int[] oFontNameIndex);
1313:
1314: public static final native int ATSUGetFontIDs(int[] oFontIDs,
1315: int iArraySize, int[] oFontCount);
1316:
1317: public static final native int ATSUGetGlyphBounds(int iTextLayout,
1318: int iTextBasePointX, int iTextBasePointY,
1319: int iBoundsCharStart, int iBoundsCharLength,
1320: short iTypeOfBounds, int iMaxNumberOfBounds,
1321: int oGlyphBounds, int[] oActualNumberOfBounds);
1322:
1323: public static final native int ATSUGetGlyphBounds(int iTextLayout,
1324: int iTextBasePointX, int iTextBasePointY,
1325: int iBoundsCharStart, int iBoundsCharLength,
1326: short iTypeOfBounds, int iMaxNumberOfBounds,
1327: ATSTrapezoid oGlyphBounds, int[] oActualNumberOfBounds);
1328:
1329: public static final native int ATSUGetLayoutControl(
1330: int iTextLayout, int iTag, int iExpectedValueSize,
1331: int[] oValue, int[] oActualValueSize);
1332:
1333: public static final native int ATSUGetLineControl(int iTextLayout,
1334: int iLineStart, int iTag, int iExpectedValueSize,
1335: int[] oValue, int[] oActualValueSize);
1336:
1337: public static final native int ATSUGlyphGetQuadraticPaths(
1338: int iATSUStyle, short iGlyphID, int iNewPathProc,
1339: int iLineProc, int iCurveProc, int iClosePathProc,
1340: int iCallbackDataPtr, int[] oCallbackResult);
1341:
1342: public static final native int ATSUGetSoftLineBreaks(
1343: int iTextLayout, int iRangeStart, int iRangeLength,
1344: int iMaximumBreaks, int[] oBreaks, int[] oBreakCount);
1345:
1346: public static final native int ATSUGetTextHighlight(
1347: int iTextLayout, int iTextBasePointX, int iTextBasePointY,
1348: int iHighlightStart, int iHighlightLength,
1349: int oHighlightRegion);
1350:
1351: public static final native int ATSUGetUnjustifiedBounds(
1352: int iTextLayout, int iLineStart, int iLineLength,
1353: int[] oTextBefore, int[] oTextAfter, int[] oAscent,
1354: int[] oDescent);
1355:
1356: public static final native int ATSUHighlightText(int iTextLayout,
1357: int iTextBasePointX, int iTextBasePointY,
1358: int iHighlightStart, int iHighlightLength);
1359:
1360: public static final native int ATSUNextCursorPosition(
1361: int iTextLayout, int iOldOffset, int iMovementType,
1362: int[] oNewOffset);
1363:
1364: public static final native int ATSUOffsetToPosition(
1365: int iTextLayout, int iOffset, boolean iIsLeading,
1366: ATSUCaret oMainCaret, ATSUCaret oSecondCaret,
1367: boolean[] oCaretIsSplit);
1368:
1369: public static final native int ATSUPositionToOffset(
1370: int iTextLayout, int iLocationX, int iLocationY,
1371: int[] ioPrimaryOffset, boolean[] oIsLeading,
1372: int[] oSecondaryOffset);
1373:
1374: public static final native int ATSUPreviousCursorPosition(
1375: int iTextLayout, int iOldOffset, int iMovementType,
1376: int[] oNewOffset);
1377:
1378: public static final native int ATSUSetAttributes(int iStyle,
1379: int iAttributeCount, int[] iTag, int[] iValueSize,
1380: int[] iValue);
1381:
1382: public static final native int ATSUSetFontFeatures(int iStyle,
1383: int iFeatureCount, short[] iType, short[] iSelector);
1384:
1385: public static final native int ATSUSetHighlightingMethod(
1386: int iTextLayout, int iMethod,
1387: ATSUUnhighlightData iUnhighlightData);
1388:
1389: public static final native int ATSUSetLayoutControls(
1390: int iTextLayout, int iAttributeCount, int[] iTag,
1391: int[] iValueSize, int[] iValue);
1392:
1393: public static final native int ATSUSetLineControls(int iTextLayout,
1394: int iLineStart, int iAttributeCount, int[] iTag,
1395: int[] iValueSize, int[] iValue);
1396:
1397: public static final native int ATSUSetRunStyle(int iTextLayout,
1398: int iStyle, int iRunStart, int iRunLength);
1399:
1400: public static final native int ATSUSetSoftLineBreak(
1401: int iTextLayout, int iLineBreak);
1402:
1403: public static final native int ATSUSetTabArray(int iTextLayout,
1404: int iTabs, int iTabCount);
1405:
1406: public static final native int ATSUSetTextPointerLocation(
1407: int iTextLayout, int iText, int iTextOffset,
1408: int iTextLength, int iTextTotalLength);
1409:
1410: public static final native int ATSUSetTransientFontMatching(
1411: int iTextLayout, boolean iTransientFontMatching);
1412:
1413: public static final native int ATSUTextInserted(int iTextLayout,
1414: int iInsertionLocation, int iInsertionLength);
1415:
1416: public static final native int ATSUTextDeleted(int iTextLayout,
1417: int iInsertionLocation, int iInsertionLength);
1418:
1419: public static final native int AddDataBrowserItems(int cHandle,
1420: int containerID, int numItems, int[] itemIDs,
1421: int preSortProperty);
1422:
1423: public static final native int AddDataBrowserListViewColumn(
1424: int browser, DataBrowserListViewColumnDesc columnDesc,
1425: int position);
1426:
1427: public static final native int AddDragItemFlavor(int theDrag,
1428: int theItemRef, int theType, byte[] dataPtr, int dataSize,
1429: int theFlags);
1430:
1431: public static final native int AppendMenuItemTextWithCFString(
1432: int mHandle, int sHandle, int attributes, int commandID,
1433: short[] outItemIndex);
1434:
1435: public static final native int AcquireFirstMatchingEventInQueue(
1436: int inQueue, int inNumTypes, int[] inList, int inOptions);
1437:
1438: public static final native int AutoSizeDataBrowserListViewColumns(
1439: int cHandle);
1440:
1441: public static final native void BringToFront(int wHandle);
1442:
1443: public static final native void CFRelease(int sHandle);
1444:
1445: public static final native void CFRetain(int sHandle);
1446:
1447: public static final native int GetCFRunLoopFromEventLoop(
1448: int inEventLoop);
1449:
1450: public static final native void CFRunLoopAddObserver(int rl,
1451: int observer, int mode);
1452:
1453: public static final native void CFRunLoopAddSource(int rl,
1454: int source, int mode);
1455:
1456: public static final native int CFRunLoopObserverCreate(
1457: int allocator, int activities, boolean repeats, int order,
1458: int callout, int context);
1459:
1460: public static final native void CFRunLoopObserverInvalidate(
1461: int observer);
1462:
1463: public static final native int CFRunLoopRunInMode(int mode,
1464: double seconds, boolean returnAfterSourceHandled);
1465:
1466: public static final native int CFRunLoopSourceCreate(int allocator,
1467: int order, CFRunLoopSourceContext context);
1468:
1469: public static final native void CFRunLoopSourceInvalidate(int source);
1470:
1471: public static final native void CFRunLoopSourceSignal(int source);
1472:
1473: public static final native void CFRunLoopStop(int rl);
1474:
1475: public static final native void CFRunLoopWakeUp(int rl);
1476:
1477: public static final native void CFArrayAppendValue(int theArray,
1478: int value);
1479:
1480: public static final native int CFArrayCreateMutable(int allocator,
1481: int capacity, int callBacks);
1482:
1483: public static final native int CFArrayGetCount(int theArray);
1484:
1485: public static final native int CFArrayGetValueAtIndex(int theArray,
1486: int idx);
1487:
1488: public static final native void CFDataGetBytes(int theData,
1489: CFRange range, byte[] buffer);
1490:
1491: public static final native int CFDataGetBytePtr(int theData);
1492:
1493: public static final native int CFDataGetLength(int theData);
1494:
1495: public static final native boolean CFDictionaryGetValueIfPresent(
1496: int theDict, int key, int[] value);
1497:
1498: public static final native boolean CFEqual(int theString,
1499: int theOtherString);
1500:
1501: public static final native int CFLocaleCopyCurrent();
1502:
1503: public static final native int CFNumberFormatterCopyProperty(
1504: int formatter, int key);
1505:
1506: public static final native int CFNumberFormatterCreate(int alloc,
1507: int locale, int style);
1508:
1509: public static final native int CFStringCreateWithBytes(int alloc,
1510: byte[] bytes, int numBytes, int encoding,
1511: boolean isExternalRepresentation);
1512:
1513: public static final native int CFStringCreateWithCharacters(
1514: int alloc, char[] chars, int numChars);
1515:
1516: public static final native int CFStringCreateWithCharacters(
1517: int alloc, int chars, int numChars);
1518:
1519: public static final native int CFStringGetBytes(int theString,
1520: CFRange range, int encoding, byte lossByte,
1521: boolean isExternalRepresentation, byte[] buffer,
1522: int maxBufLen, int[] usedBufLen);
1523:
1524: public static final native void CFStringGetCharacters(
1525: int theString, CFRange range, char[] buffer);
1526:
1527: public static final native int CFStringGetLength(int theString);
1528:
1529: public static final native int CFStringGetSystemEncoding();
1530:
1531: public static final native int CFURLCopyFileSystemPath(int anURL,
1532: int pathStyle);
1533:
1534: public static final native int CFURLCopyLastPathComponent(int url);
1535:
1536: public static final native int CFURLCopyPathExtension(int url);
1537:
1538: public static final native int CFURLCreateData(int allocator,
1539: int url, int encoding, boolean escapeWhitespace);
1540:
1541: public static final native int CFURLCreateCopyAppendingPathComponent(
1542: int allocator, int url, int pathComponent,
1543: boolean isDirectory);
1544:
1545: public static final native int CFURLCreateCopyDeletingLastPathComponent(
1546: int allocator, int url);
1547:
1548: public static final native int CFURLCreateFromFSRef(int allocator,
1549: byte[] fsRef);
1550:
1551: public static final native int CFURLCreateWithBytes(int allocator,
1552: byte[] URLBytes, int length, int encoding, int baseURL);
1553:
1554: public static final native int CFURLCreateWithFileSystemPath(
1555: int allocator, int filePath, int pathStyle,
1556: boolean isDirectory);
1557:
1558: public static final native int CFURLCreateFromFileSystemRepresentation(
1559: int allocator, int buffer, int bufLen, boolean isDirectory);
1560:
1561: public static final native int CFURLCreateWithString(int allocator,
1562: int URLString, int baseURL);
1563:
1564: public static final native int CFURLCreateStringByAddingPercentEscapes(
1565: int allocator, int originalString,
1566: int charactersToLeaveUnescaped,
1567: int legalURLCharactersToBeEscaped, int encoding);
1568:
1569: public static final native boolean CFURLGetFSRef(int url,
1570: byte[] fsRef);
1571:
1572: public static final native void CGAffineTransformConcat(float[] t1,
1573: float[] t2, float[] result);
1574:
1575: public static final native void CGAffineTransformMake(float a,
1576: float b, float c, float d, float tx, float ty,
1577: float[] result);
1578:
1579: public static final native void CGAffineTransformTranslate(
1580: float[] t, float tx, float ty, float[] result);
1581:
1582: public static final native void CGAffineTransformRotate(float[] t,
1583: float angle, float[] result);
1584:
1585: public static final native void CGAffineTransformScale(float[] t,
1586: float sx, float sy, float[] result);
1587:
1588: public static final native void CGAffineTransformInvert(float[] t,
1589: float[] result);
1590:
1591: public static final native void CGContextScaleCTM(int inContext,
1592: float sx, float sy);
1593:
1594: public static final native void CGContextTranslateCTM(
1595: int inContext, float tx, float ty);
1596:
1597: public static final native int CGBitmapContextCreate(int data,
1598: int width, int height, int bitsPerComponent,
1599: int bytesPerRow, int colorspace, int alphaInfo);
1600:
1601: public static final native int CGColorCreate(int colorspace,
1602: float[] components);
1603:
1604: public static final native void CGColorRelease(int color);
1605:
1606: public static final native int CGColorSpaceCreatePattern(
1607: int baseSpace);
1608:
1609: public static final native int CGColorSpaceCreateDeviceRGB();
1610:
1611: public static final native int CGBitmapContextCreateImage(
1612: int context);
1613:
1614: public static final native void CGColorSpaceRelease(int cs);
1615:
1616: public static final native void CGContextAddArc(int ctx, float x,
1617: float y, float radius, float startAngle, float endAngle,
1618: boolean clockwise);
1619:
1620: public static final native void CGContextAddArcToPoint(int ctx,
1621: float x1, float y1, float x2, float y2, float radius);
1622:
1623: public static final native void CGContextAddLineToPoint(int ctx,
1624: float x, float y);
1625:
1626: public static final native void CGContextAddLines(int ctx,
1627: float[] points, int count);
1628:
1629: public static final native void CGContextAddRect(int context,
1630: CGRect rect);
1631:
1632: public static final native void CGContextAddPath(int context,
1633: int path);
1634:
1635: public static final native void CGContextBeginPath(int ctx);
1636:
1637: public static final native void CGContextClip(int ctx);
1638:
1639: public static final native void CGContextClearRect(int ctx,
1640: CGRect rect);
1641:
1642: public static final native void CGContextClosePath(int ctx);
1643:
1644: public static final native void CGContextConcatCTM(int context,
1645: float[] transform);
1646:
1647: public static final native void CGContextDrawImage(int ctx,
1648: CGRect rect, int image);
1649:
1650: public static final native void CGContextDrawShading(int context,
1651: int shading);
1652:
1653: public static final native void CGContextEOClip(int ctx);
1654:
1655: public static final native void CGContextEOFillPath(int ctx);
1656:
1657: public static final native void CGContextFillPath(int ctx);
1658:
1659: public static final native void CGContextStrokeRect(int ctx,
1660: CGRect rect);
1661:
1662: public static final native void CGContextFillRect(int ctx,
1663: CGRect rect);
1664:
1665: public static final native void CGContextFlush(int ctx);
1666:
1667: public static final native void CGContextGetCTM(int context,
1668: float[] result);
1669:
1670: public static final native int CGContextGetInterpolationQuality(
1671: int context);
1672:
1673: public static final native void CGContextGetPathBoundingBox(
1674: int ctx, CGRect rect);
1675:
1676: public static final native void CGContextGetTextPosition(int ctx,
1677: CGPoint point);
1678:
1679: public static final native void CGContextMoveToPoint(int ctx,
1680: float x, float y);
1681:
1682: public static final native void CGContextRelease(int ctx);
1683:
1684: public static final native void CGContextRestoreGState(int ctx);
1685:
1686: public static final native void CGContextSaveGState(int ctx);
1687:
1688: public static final native void CGContextSelectFont(int ctx,
1689: byte[] name, float size, int textEncoding);
1690:
1691: public static final native void CGContextSetFillColorSpace(int ctx,
1692: int colorspace);
1693:
1694: public static final native void CGContextSetFillPattern(
1695: int context, int pattern, float[] components);
1696:
1697: public static final native void CGContextSetAlpha(int context,
1698: float alpha);
1699:
1700: public static final native void CGContextSetFillColor(int ctx,
1701: float[] value);
1702:
1703: public static final native void CGContextSetFont(int ctx, int font);
1704:
1705: public static final native void CGContextSetFontSize(int ctx,
1706: float size);
1707:
1708: public static final native void CGContextSetInterpolationQuality(
1709: int context, int quality);
1710:
1711: public static final native void CGContextSetLineCap(int context,
1712: int cap);
1713:
1714: public static final native void CGContextSetLineDash(int ctx,
1715: float phase, float[] lengths, int count);
1716:
1717: public static final native void CGContextSetLineJoin(int context,
1718: int join);
1719:
1720: public static final native void CGContextSetLineWidth(int ctx,
1721: float width);
1722:
1723: public static final native void CGContextSetMiterLimit(int context,
1724: float limit);
1725:
1726: public static final native void CGContextSetShouldAntialias(
1727: int ctx, boolean shouldAntialias);
1728:
1729: public static final native void CGContextSetShouldSmoothFonts(
1730: int ctx, boolean shouldSmooth);
1731:
1732: public static final native void CGContextSetStrokeColorSpace(
1733: int ctx, int colorspace);
1734:
1735: public static final native void CGContextSetStrokeColor(int ctx,
1736: float[] value);
1737:
1738: public static final native void CGContextSetStrokePattern(
1739: int context, int pattern, float[] components);
1740:
1741: public static final native void CGContextSetRenderingIntent(
1742: int context, int intent);
1743:
1744: public static final native void CGContextSetRGBFillColor(int ctx,
1745: float r, float g, float b, float alpha);
1746:
1747: public static final native void CGContextSetRGBStrokeColor(int ctx,
1748: float r, float g, float b, float alpha);
1749:
1750: public static final native void CGContextSetTextDrawingMode(
1751: int ctx, int mode);
1752:
1753: public static final native void CGContextSetTextPosition(int ctx,
1754: float x, float y);
1755:
1756: public static final native void CGContextShowText(int ctx,
1757: byte[] cstring, int length);
1758:
1759: public static final native void CGContextShowTextAtPoint(int ctx,
1760: float x, float y, byte[] cstring, int length);
1761:
1762: public static final native void CGContextSetTextMatrix(int ctx,
1763: float[] transform);
1764:
1765: public static final native void CGContextStrokePath(int ctx);
1766:
1767: public static final native void CGContextSynchronize(int ctx);
1768:
1769: public static final native int CGFunctionCreate(int info,
1770: int domainDimension, float[] domain, int rangeDimension,
1771: float[] range, CGFunctionCallbacks callbacks);
1772:
1773: public static final native void CGFunctionRelease(int function);
1774:
1775: public static final native int CGDataProviderCreateWithData(
1776: int info, int data, int size, int releaseData);
1777:
1778: public static final native int CGDataProviderCreateWithURL(int url);
1779:
1780: public static final native void CGDataProviderRelease(int provider);
1781:
1782: public static final native int CGDisplayBaseAddress(int display);
1783:
1784: public static final native int CGDisplayBitsPerPixel(int display);
1785:
1786: public static final native int CGDisplayBitsPerSample(int display);
1787:
1788: public static final native int CGDisplayBytesPerRow(int display);
1789:
1790: public static final native int CGDisplayPixelsHigh(int display);
1791:
1792: public static final native int CGDisplayPixelsWide(int display);
1793:
1794: public static final native int CGFontCreateWithPlatformFont(
1795: int[] platformFontReference);
1796:
1797: public static final native void CGFontRelease(int font);
1798:
1799: public static final native int CGGetDisplaysWithRect(CGRect rect,
1800: int maxDisplays, int[] dspys, int[] dspyCnt);
1801:
1802: public static final native int CGImageCreate(int width, int height,
1803: int bitsPerComponent, int bitsPerPixel, int bytesPerRow,
1804: int colorspace, int alphaInfo, int provider,
1805: float[] decode, boolean shouldInterpolate, int intent);
1806:
1807: public static final native int CGImageCreateWithImageInRect(
1808: int image, CGRect rect);
1809:
1810: public static final native int CGImageCreateWithPNGDataProvider(
1811: int source, float[] decode, boolean shouldInterpolate,
1812: int intent);
1813:
1814: public static final native int CGImageCreateWithJPEGDataProvider(
1815: int source, float[] decode, boolean shouldInterpolate,
1816: int intent);
1817:
1818: public static final native int CGImageGetAlphaInfo(int image);
1819:
1820: public static final native int CGImageGetBitsPerComponent(int image);
1821:
1822: public static final native int CGImageGetBitsPerPixel(int image);
1823:
1824: public static final native int CGImageGetBytesPerRow(int image);
1825:
1826: public static final native int CGImageGetColorSpace(int image);
1827:
1828: public static final native int CGImageGetHeight(int image);
1829:
1830: public static final native int CGImageGetWidth(int image);
1831:
1832: public static final native void CGImageRelease(int image);
1833:
1834: public static final native void CGPathAddArc(int path, float[] m,
1835: float x, float y, float r, float startAngle,
1836: float endAngle, boolean clockwise);
1837:
1838: public static final native void CGPathAddCurveToPoint(int path,
1839: float[] m, float cx1, float cy1, float cx2, float cy2,
1840: float x, float y);
1841:
1842: public static final native void CGPathAddLineToPoint(int path,
1843: float[] m, float x, float y);
1844:
1845: public static final native void CGPathAddPath(int path1, float[] m,
1846: int path2);
1847:
1848: public static final native void CGPathAddQuadCurveToPoint(int path,
1849: float[] m, float cx, float cy, float x, float y);
1850:
1851: public static final native void CGPathAddRect(int path, float[] m,
1852: CGRect rect);
1853:
1854: public static final native void CGPathApply(int path, int info,
1855: int function);
1856:
1857: public static final native void CGPathCloseSubpath(int path);
1858:
1859: public static final native int CGPathCreateMutable();
1860:
1861: public static final native void CGPathGetBoundingBox(int path,
1862: CGRect rect);
1863:
1864: public static final native void CGPathGetCurrentPoint(int path,
1865: CGPoint point);
1866:
1867: public static final native boolean CGPathIsEmpty(int path);
1868:
1869: public static final native void CGPathMoveToPoint(int path,
1870: float[] m, float x, float y);
1871:
1872: public static final native void CGPathRelease(int path);
1873:
1874: public static final native int CGPatternCreate(int info,
1875: CGRect bounds, float[] matrix, float xStep, float yStep,
1876: int tiling, int isColored, CGPatternCallbacks callbacks);
1877:
1878: public static final native void CGPatternRelease(int pattern);
1879:
1880: public static final native void CGPointApplyAffineTransform(
1881: CGPoint point, float[] t, CGPoint result);
1882:
1883: public static final native int CGPostMouseEvent(
1884: CGPoint mouseCursorPosition,
1885: boolean updateMouseCursorPosition, int buttonCount,
1886: boolean mouseButtonDown, boolean mouseButtonDown2,
1887: boolean mouseButtonDown3, boolean mouseButtonDown4,
1888: boolean mouseButtonDown5);
1889:
1890: public static final native int CGPostKeyboardEvent(int keyChar,
1891: int virtualKey, boolean keyDown);
1892:
1893: public static final native int CGPostScrollWheelEvent(
1894: int wheelCount, int wheel1);
1895:
1896: public static final native int CGRectContainsPoint(CGRect rect,
1897: CGPoint point);
1898:
1899: public static final native int CGShadingCreateAxial(int colorspace,
1900: CGPoint start, CGPoint end, int function,
1901: boolean extendStart, boolean extendEnd);
1902:
1903: public static final native int CGShadingCreateRadial(
1904: int colorspace, CGPoint start, float startRadius,
1905: CGPoint end, float endRadius, int function,
1906: boolean extendStart, boolean extendEnd);
1907:
1908: public static final native void CGShadingRelease(int shading);
1909:
1910: public static final native int CGWarpMouseCursorPosition(
1911: CGPoint newCursorPosition);
1912:
1913: public static final native int ChangeMenuItemAttributes(int menu,
1914: int item, int setTheseAttributes, int clearTheseAttributes);
1915:
1916: public static final native int ChangeWindowAttributes(
1917: int windowHandle, int setAttributes, int clearAttributes);
1918:
1919: public static final native int CPSEnableForegroundOperation(
1920: int[] psn, int arg2, int arg3, int arg4, int arg5);
1921:
1922: public static final native int CPSSetProcessName(int[] psn,
1923: byte[] name);
1924:
1925: public static final native int CallNextEventHandler(
1926: int nextHandler, int eventRefHandle);
1927:
1928: public static final native void Call(int proc, int arg1, int arg2);
1929:
1930: public static final native void CalcMenuSize(int theMenu);
1931:
1932: public static final native int CancelMenuTracking(int inRootMenu,
1933: boolean inImmediate, int inDismissalReason);
1934:
1935: public static final native int ClearCurrentScrap();
1936:
1937: public static final native int ClearKeyboardFocus(int inWindow);
1938:
1939: public static final native void ClearMenuBar();
1940:
1941: public static final native int ClipCGContextToRegion(int inContext,
1942: Rect portRect, int rgnHandle);
1943:
1944: public static final native int CloseDataBrowserContainer(
1945: int cHandle, int container);
1946:
1947: public static final native void CloseRgn(int dstRgn);
1948:
1949: public static final native int CollapseWindow(int wHandle,
1950: boolean collapse);
1951:
1952: public static final native int ContextualMenuSelect(int inMenu,
1953: Point inGlobalLocation, boolean inReserved, int inHelpType,
1954: byte[] inHelpItemString, AEDesc inSelection,
1955: int[] outUserSelectionType, short[] outMenuID,
1956: short[] outMenuItem);
1957:
1958: public static final native boolean ConvertEventRefToEventRecord(
1959: int inEvent, EventRecord outEvent);
1960:
1961: public static final native int ConvertFromPStringToUnicode(
1962: int iTextToUnicodeInfo, byte[] iPascalStr,
1963: int iOutputBufLen, int[] oUnicodeLen, char[] oUnicodeStr);
1964:
1965: public static final native int ConvertFromUnicodeToPString(
1966: int iUnicodeToTextInfo, int iUnicodeLen,
1967: char[] iUnicodeStr, byte[] oPascalStr);
1968:
1969: public static final native void CopyBits(int srcPixMapHandle,
1970: int dstPixMapHandle, Rect srcRect, Rect dstRect,
1971: short mode, int maskRgn);
1972:
1973: public static final native int CopyControlTitleAsCFString(
1974: int cHandle, int[] sHandle);
1975:
1976: public static final native int CopyMenuItemTextAsCFString(
1977: int mHandle, short index, int[] sHandle);
1978:
1979: public static final native void CopyRgn(int srcRgnHandle,
1980: int dstRgnHandle);
1981:
1982: public static final native int CountDragItems(int theDrag,
1983: short[] numItems);
1984:
1985: public static final native int CountDragItemFlavors(int theDrag,
1986: int theItemRef, short[] numFlavors);
1987:
1988: public static final native short CountMenuItems(int mHandle);
1989:
1990: public static final native int CountSubControls(int cHandle,
1991: short[] count);
1992:
1993: public static final native int CreateBevelButtonControl(int window,
1994: Rect boundsRect, int title, short thickness,
1995: short behavior, int info, short menuID, short menuBehavior,
1996: short menuPlacement, int[] outControl);
1997:
1998: public static final native int CreateClockControl(int window,
1999: Rect boundsRect, int clockType, int clockFlags,
2000: int[] outControl);
2001:
2002: public static final native int CreateCheckBoxControl(int window,
2003: Rect boundsRect, int title, int initialValue,
2004: boolean autoToggle, int[] outControl);
2005:
2006: public static final native int CreateCGContextForPort(int inPort,
2007: int[] outContext);
2008:
2009: public static final native int CreateDataBrowserControl(int window,
2010: Rect boundsRect, int style, int[] outControl);
2011:
2012: public static final native int CreateEvent(int allocator,
2013: int inClassID, int kind, double when, int flags,
2014: int[] outEventRef);
2015:
2016: public static final native int CreateGroupBoxControl(int window,
2017: Rect boundsRect, int title, boolean primary,
2018: int[] outControl);
2019:
2020: public static final native int CreateIconControl(int window,
2021: Rect boundsRect, ControlButtonContentInfo icon,
2022: boolean dontTrack, int[] outControl);
2023:
2024: public static final native int CreateLittleArrowsControl(
2025: int window, Rect boundsRect, int value, int minimum,
2026: int maximum, int increment, int[] outControl);
2027:
2028: public static final native int CreateNewMenu(short menuID,
2029: int menuAttributes, int[] outMenuRef);
2030:
2031: public static final native int CreateNewWindow(int windowClass,
2032: int attributes, Rect bounds, int[] wHandle);
2033:
2034: public static final native int CreatePopupArrowControl(int window,
2035: Rect boundsRect, short orientation, short size,
2036: int[] outControl);
2037:
2038: public static final native int CreatePopupButtonControl(int window,
2039: Rect boundsRect, int title, short menuID,
2040: boolean variableWidth, short titleWidth,
2041: short titleJustification, int titleStyle, int[] outControl);
2042:
2043: public static final native int CreateProgressBarControl(int window,
2044: Rect boundsRect, int value, int minimim, int maximum,
2045: boolean indeterminate, int[] outControl);
2046:
2047: public static final native int CreatePushButtonControl(int window,
2048: Rect boundsRect, int title, int[] outControl);
2049:
2050: public static final native int CreatePushButtonWithIconControl(
2051: int window, Rect boundsRect, int title,
2052: ControlButtonContentInfo icon, short iconAlignment,
2053: int[] outControl);
2054:
2055: public static final native int CreateRadioButtonControl(int window,
2056: Rect boundsRect, int title, int initialValue,
2057: boolean autoToggle, int[] outControl);
2058:
2059: public static final native int CreateRootControl(int windowHandle,
2060: int[] cHandle);
2061:
2062: public static final native int CreateSliderControl(int window,
2063: Rect boundsRect, int value, int minimum, int maximum,
2064: int orientation, short numTickMarks, boolean liveTracking,
2065: int liveTrackingProc, int[] outControl);
2066:
2067: public static final native int CreateScrollBarControl(int window,
2068: Rect boundsRect, int value, int minimum, int maximum,
2069: int viewSize, boolean liveTracking, int liveTrackingProc,
2070: int[] outControl);
2071:
2072: public static final native int CreateSeparatorControl(int window,
2073: Rect boundsRect, int[] outControl);
2074:
2075: public static final native int CreateStandardAlert(short alertType,
2076: int errorSHandle, int explanationSHandle,
2077: AlertStdCFStringAlertParamRec alertParamHandle,
2078: int[] dialogHandle);
2079:
2080: public static final native int CreateStaticTextControl(int window,
2081: Rect boundsRect, int text, ControlFontStyleRec style,
2082: int[] outControl);
2083:
2084: public static final native int CreateTabsControl(int window,
2085: Rect boundsRect, short size, short direction,
2086: short numTabs, int tabArray, int[] outControl);
2087:
2088: public static final native int CreateTextToUnicodeInfoByEncoding(
2089: int iEncoding, int[] oTextToUnicodeInfo);
2090:
2091: public static final native int CreateUnicodeToTextInfoByEncoding(
2092: int iEncoding, int[] oUnicodeToTextInfo);
2093:
2094: public static final native int CreateEditUnicodeTextControl(
2095: int window, Rect boundsRect, int text, boolean isPassword,
2096: ControlFontStyleRec style, int[] outControl);
2097:
2098: public static final native int CreateUserPaneControl(int window,
2099: Rect boundsRect, int features, int[] outControl);
2100:
2101: public static final native int CreateWindowGroup(int inAttributes,
2102: int[] outGroup);
2103:
2104: public static final native int DataBrowserChangeAttributes(
2105: int inDataBrowser, int inAttributesToSet,
2106: int inAttributesToClear);
2107:
2108: public static final native int DataBrowserGetMetric(
2109: int inDataBrowser, int inMetric,
2110: boolean[] outUsingDefaultValue, float[] outValue);
2111:
2112: public static final native int DataBrowserSetMetric(
2113: int inDataBrowser, int inMetric, boolean inUseDefaultValue,
2114: float inValue);
2115:
2116: public static final native int DataBrowserGetAttributes(
2117: int inDataBrowser, int[] outAttributes);
2118:
2119: public static final native int DeactivateTSMDocument(int idocID);
2120:
2121: public static final native void DeleteMenu(short menuID);
2122:
2123: public static final native void DeleteMenuItem(int mHandle,
2124: short index);
2125:
2126: public static final native int DeleteMenuItems(int mHandle,
2127: short firstItem, int numItems);
2128:
2129: public static final native int DeleteTSMDocument(int idocID);
2130:
2131: public static final native void DiffRgn(int srcRgnA, int srcRgnB,
2132: int dstRgn);
2133:
2134: public static final native int DisableControl(int cHandle);
2135:
2136: public static final native void DisableMenuCommand(int mHandle,
2137: int commandId);
2138:
2139: public static final native void DisableMenuItem(int mHandle,
2140: short index);
2141:
2142: public static final native void DisposeControl(int cHandle);
2143:
2144: public static final native int DisposeDrag(int theDrag);
2145:
2146: public static final native void DisposeGWorld(int offscreenGWorld);
2147:
2148: public static final native void DisposeHandle(int handle);
2149:
2150: public static final native void DisposeMenu(int mHandle);
2151:
2152: public static final native void DisposePtr(int ptr);
2153:
2154: public static final native void DisposeRgn(int rgnHandle);
2155:
2156: public static final native int DisposeTextToUnicodeInfo(
2157: int[] ioTextToUnicodeInfo);
2158:
2159: public static final native int DisposeUnicodeToTextInfo(
2160: int[] ioUnicodeToTextInfo);
2161:
2162: public static final native void DisposeWindow(int wHandle);
2163:
2164: public static final native void DrawControlInCurrentPort(
2165: int inControl);
2166:
2167: public static final native void DrawMenuBar();
2168:
2169: public static final native int DrawThemeButton(Rect inBounds,
2170: short inKind, ThemeButtonDrawInfo inNewInfo,
2171: ThemeButtonDrawInfo inPrevInfo, int inEraseProc,
2172: int inLabelProc, int inUserData);
2173:
2174: public static final native int DrawThemeEditTextFrame(Rect bounds,
2175: int state);
2176:
2177: public static final native int DrawThemeFocusRect(Rect bounds,
2178: boolean hasFocus);
2179:
2180: public static final native int DrawThemePopupArrow(Rect bounds,
2181: short orientation, short size, int state, int eraseProc,
2182: int eraseData);
2183:
2184: public static final native int DrawThemeSeparator(Rect bounds,
2185: int state);
2186:
2187: public static final native int DrawThemeTextBox(int sHandle,
2188: short fontID, int state, boolean wrapToWidth, Rect bounds,
2189: short just, int context);
2190:
2191: public static final native int EmbedControl(int inControl,
2192: int inContainer);
2193:
2194: public static final native boolean EmptyRect(Rect r);
2195:
2196: public static final native boolean EmptyRgn(int rgnHandle);
2197:
2198: public static final native int EnableControl(int cHandle);
2199:
2200: public static final native void EnableMenuCommand(int mHandle,
2201: int commandId);
2202:
2203: public static final native void EnableMenuItem(int mHandle,
2204: short index);
2205:
2206: public static final native void EraseRect(Rect bounds);
2207:
2208: public static final native int Fix2Long(int x);
2209:
2210: public static final native int FindSpecificEventInQueue(
2211: int inQueue, int inComparator, int inCompareData);
2212:
2213: public static final native double Fix2X(int x);
2214:
2215: public static final native int FixTSMDocument(int idocID);
2216:
2217: public static final native int FMGetATSFontRefFromFont(int iFont);
2218:
2219: public static final native short FMGetFontFamilyFromName(byte[] name);
2220:
2221: public static final native int FMGetFontFamilyInstanceFromFont(
2222: int iFont, short[] oFontFamily, short[] oStyle);
2223:
2224: public static final native int FMGetFontFromATSFontRef(int iFont);
2225:
2226: public static final native int FMGetFontFromFontFamilyInstance(
2227: short iFontFamily, short iStyle, int[] oFont,
2228: short[] oIntrinsicStyle);
2229:
2230: public static final native boolean FPIsFontPanelVisible();
2231:
2232: public static final native int FPShowHideFontPanel();
2233:
2234: public static final native int FSpGetFInfo(byte[] spec,
2235: byte[] fndrInfo);
2236:
2237: public static final native int FSpMakeFSRef(byte[] source,
2238: byte[] newRef);
2239:
2240: public static final native int FSGetCatalogInfo(byte[] ref,
2241: int whichInfo, byte[] catalogInfo, byte[] outName,
2242: byte[] fsSpec, byte[] parentRef);
2243:
2244: public static final native short FindWindow(Point where,
2245: int[] wHandle);
2246:
2247: public static final native int FrontWindow();
2248:
2249: public static final native int Gestalt(int selector, int[] response);
2250:
2251: public static final native int GetApplicationEventTarget();
2252:
2253: public static final native int GetAvailableWindowAttributes(
2254: int windowClass);
2255:
2256: public static final native int GetAvailableWindowPositioningBounds(
2257: int inDevice, Rect outAvailableRect);
2258:
2259: public static final native int GetBestControlRect(int inControl,
2260: Rect outRect, short[] outBaseLineOffset);
2261:
2262: public static final native int GetCaretTime();
2263:
2264: public static final native void GetClip(int rgnHandle);
2265:
2266: public static final native int GetControlAction(int theControl);
2267:
2268: public static final native int GetControl32BitMaximum(int cHandle);
2269:
2270: public static final native int GetControl32BitMinimum(int cHandle);
2271:
2272: public static final native int GetControl32BitValue(int cHandle);
2273:
2274: public static final native void GetControlBounds(int cHandle,
2275: Rect bounds);
2276:
2277: public static final native int GetControlData(int inControl,
2278: short inPart, int inTagName, int inBufferSize,
2279: ControlFontStyleRec inBuffer, int[] outActualSize);
2280:
2281: public static final native int GetControlData(int inControl,
2282: short inPart, int inTagName, int inBufferSize,
2283: Rect inBuffer, int[] outActualSize);
2284:
2285: public static final native int GetControlData(int inControl,
2286: short inPart, int inTagName, int inBufferSize,
2287: int[] inBuffer, int[] outActualSize);
2288:
2289: public static final native int GetControlData(int inControl,
2290: short inPart, int inTagName, int inBufferSize,
2291: short[] inBuffer, int[] outActualSize);
2292:
2293: public static final native int GetControlData(int inControl,
2294: short inPart, int inTagName, int inBufferSize,
2295: byte[] inBuffer, int[] outActualSize);
2296:
2297: public static final native int GetControlData(int inControl,
2298: short inPart, int inTagName, int inBufferSize,
2299: ControlEditTextSelectionRec inBuffer, int[] outActualSize);
2300:
2301: public static final native int GetControlData(int inControl,
2302: short inPart, int inTagName, int inBufferSize,
2303: LongDateRec inBuffer, int[] outActualSize);
2304:
2305: public static final native int GetControlEventTarget(int cHandle);
2306:
2307: public static final native int GetControlFeatures(int inControl,
2308: int[] outFeatures);
2309:
2310: public static final native int GetControlKind(int inControl,
2311: ControlKind kind);
2312:
2313: public static final native int GetControlOwner(int cHandle);
2314:
2315: public static final native int GetControlProperty(int control,
2316: int propertyCreator, int propertyTag, int bufferSize,
2317: int[] actualSize, int[] propertyBuffer);
2318:
2319: public static final native int GetControlReference(int cHandle);
2320:
2321: public static final native int GetControlRegion(int cHandle,
2322: short inPart, int rgnHandle);
2323:
2324: public static final native short GetControlValue(int cHandle);
2325:
2326: public static final native int GetControlViewSize(int cHandle);
2327:
2328: public static final native int GetCurrentEventButtonState();
2329:
2330: public static final native int GetCurrentEventLoop();
2331:
2332: public static final native int GetCurrentEventKeyModifiers();
2333:
2334: public static final native int GetCurrentEventQueue();
2335:
2336: public static final native int GetCurrentProcess(int[] psn);
2337:
2338: public static final native int GetCurrentScrap(int[] scrap);
2339:
2340: public static final native int GetDataBrowserCallbacks(int browser,
2341: DataBrowserCallbacks callbacks);
2342:
2343: public static final native int GetDataBrowserItemCount(int cHandle,
2344: int container, boolean recurse, int state, int[] numItems);
2345:
2346: public static final native int GetDataBrowserItemDataButtonValue(
2347: int itemData, short[] theData);
2348:
2349: public static final native int GetDataBrowserItemPartBounds(
2350: int cHandle, int item, int property, int part, Rect bounds);
2351:
2352: public static final native int GetDataBrowserItems(int browser,
2353: int container, boolean recurse, int state, int items);
2354:
2355: public static final native int GetDataBrowserItemState(int browser,
2356: int item, int[] state);
2357:
2358: public static final native int GetDataBrowserListViewDisclosureColumn(
2359: int browser, int[] column, boolean[] expandableRows);
2360:
2361: public static final native int GetDataBrowserListViewHeaderBtnHeight(
2362: int browser, short[] height);
2363:
2364: public static final native int GetDataBrowserListViewHeaderDesc(
2365: int browser, int column, DataBrowserListViewHeaderDesc desc);
2366:
2367: public static final native int GetDataBrowserPropertyFlags(
2368: int browser, int property, int[] flags);
2369:
2370: public static final native int GetDataBrowserTableViewColumnPosition(
2371: int browser, int column, int[] position);
2372:
2373: public static final native int GetDataBrowserTableViewItemID(
2374: int browser, int row, int[] item);
2375:
2376: public static final native int GetDataBrowserTableViewItemRow(
2377: int browser, int item, int[] row);
2378:
2379: public static final native int GetDataBrowserTableViewNamedColumnWidth(
2380: int browser, int column, short[] width);
2381:
2382: public static final native int GetDataBrowserTableViewRowHeight(
2383: int browser, short[] height);
2384:
2385: public static final native int GetDataBrowserScrollBarInset(
2386: int browser, Rect insetRect);
2387:
2388: public static final native int GetDataBrowserScrollPosition(
2389: int cHandle, int[] top, int[] left);
2390:
2391: public static final native int GetDataBrowserSelectionAnchor(
2392: int browser, int[] first, int[] last);
2393:
2394: public static final native int GetDataBrowserSelectionFlags(
2395: int browser, int[] selectionFlags);
2396:
2397: public static final native int GetDataBrowserSortProperty(
2398: int browser, int[] property);
2399:
2400: public static final native int GetDblTime();
2401:
2402: public static final native int GetDeviceList();
2403:
2404: public static final native int GetDragAllowableActions(int theDrag,
2405: int[] outActions);
2406:
2407: public static final native int GetDragDropAction(int theDrag,
2408: int[] outAction);
2409:
2410: public static final native int GetDragItemReferenceNumber(
2411: int theDrag, short index, int[] theItemRef);
2412:
2413: public static final native int GetDragModifiers(int theDrag,
2414: short[] modifiers, short[] mouseDownModifiers,
2415: short[] mouseUpModifiers);
2416:
2417: public static final native int GetDragMouse(int theDrag,
2418: Point mouse, Point globalPinnedMouse);
2419:
2420: public static final native int GetEventClass(int eHandle);
2421:
2422: public static final native int GetEventDispatcherTarget();
2423:
2424: public static final native int GetEventKind(int eHandle);
2425:
2426: public static final native int GetEventParameter(int inEvent,
2427: int inName, int inDesiredType, int[] outActualType,
2428: int inBufferSize, int[] outActualSize, int outData);
2429:
2430: public static final native int GetEventParameter(int inEvent,
2431: int inName, int inDesiredType, int[] outActualType,
2432: int inBufferSize, int[] outActualSize, int[] outData);
2433:
2434: public static final native int GetEventParameter(int inEvent,
2435: int inName, int inDesiredType, int[] outActualType,
2436: int inBufferSize, int[] outActualSize, char[] outData);
2437:
2438: public static final native int GetEventParameter(int inEvent,
2439: int inName, int inDesiredType, int[] outActualType,
2440: int inBufferSize, int[] outActualSize, short[] outData);
2441:
2442: public static final native int GetEventParameter(int inEvent,
2443: int inName, int inDesiredType, int[] outActualType,
2444: int inBufferSize, int[] outActualSize, byte[] outData);
2445:
2446: public static final native int GetEventParameter(int inEvent,
2447: int inName, int inDesiredType, int[] outActualType,
2448: int inBufferSize, int[] outActualSize, boolean[] outData);
2449:
2450: public static final native int GetEventParameter(int inEvent,
2451: int inName, int inDesiredType, int[] outActualType,
2452: int inBufferSize, int[] outActualSize, HICommand outData);
2453:
2454: public static final native int GetEventParameter(int inEvent,
2455: int inName, int inDesiredType, int[] outActualType,
2456: int inBufferSize, int[] outActualSize, Point outData);
2457:
2458: public static final native int GetEventParameter(int inEvent,
2459: int inName, int inDesiredType, int[] outActualType,
2460: int inBufferSize, int[] outActualSize, CGPoint outData);
2461:
2462: public static final native int GetEventParameter(int inEvent,
2463: int inName, int inDesiredType, int[] outActualType,
2464: int inBufferSize, int[] outActualSize, CGRect outData);
2465:
2466: public static final native int GetEventParameter(int inEvent,
2467: int inName, int inDesiredType, int[] outActualType,
2468: int inBufferSize, int[] outActualSize, RGBColor outData);
2469:
2470: public static final native int GetEventParameter(int inEvent,
2471: int inName, int inDesiredType, int[] outActualType,
2472: int inBufferSize, int[] outActualSize, Rect outData);
2473:
2474: public static final native double GetEventTime(int eHandle);
2475:
2476: public static final native int GetFlavorData(int theDrag,
2477: int theItemRef, int theType, byte[] dataPtr,
2478: int[] dataSize, int dataOffset);
2479:
2480: public static final native int GetFlavorDataSize(int theDrag,
2481: int theItemRef, int theType, int[] dataSize);
2482:
2483: public static final native int GetFlavorType(int theDrag,
2484: int theItemRef, short index, int[] theType);
2485:
2486: public static final native void GetGWorld(int[] portHandle,
2487: int[] gdHandle);
2488:
2489: public static final native void GetGlobalMouse(Point where);
2490:
2491: public static final native int GetHandleSize(int handle);
2492:
2493: public static final native int GetIconFamilyData(int iconFamily,
2494: int iconType, int h);
2495:
2496: public static final native int GetIconRefFromIconFamilyPtr(
2497: int inIconFamilyPtr, int inSize, int[] outIconRef);
2498:
2499: public static final native int GetIconRefFromFileInfo(byte[] inRef,
2500: int inFileNameLength, char[] inFileName, int inWhichInfo,
2501: int inCatalogInfo, int inUsageFlags, int[] outIconRef,
2502: int[] outLabel);
2503:
2504: public static final native int GetIconRef(short vRefNum,
2505: int creator, int iconType, int[] theIconRef);
2506:
2507: public static final native int GetIndMenuItemWithCommandID(
2508: int mHandle, int commandId, int index, int[] outMenu,
2509: short[] outIndex);
2510:
2511: public static final native int GetIndexedSubControl(int cHandle,
2512: short index, int[] outHandle);
2513:
2514: public static final native void GetItemMark(int theMenu,
2515: short item, short[] markChar);
2516:
2517: public static final native int GetKeyboardFocus(int wHandle,
2518: int[] cHandle);
2519:
2520: public static final native double GetLastUserEventTime();
2521:
2522: public static final native int GetMainDevice();
2523:
2524: public static final native int GetMainEventQueue();
2525:
2526: public static final native int GetMBarHeight();
2527:
2528: public static final native int GetMenuCommandMark(int theMenu,
2529: int commandId, char[] outMark);
2530:
2531: public static final native int GetMenuEventTarget(int cHandle);
2532:
2533: public static final native int GetMenuFont(int inMenu,
2534: short[] outFontID, short[] outFontSize);
2535:
2536: public static final native short GetMenuHeight(int inMenu);
2537:
2538: public static final native short GetMenuID(int menu);
2539:
2540: public static final native int GetMenuItemCommandID(int inMenu,
2541: short inItem, int[] outCommandID);
2542:
2543: public static final native int GetMenuItemHierarchicalMenu(
2544: int inMenu, short inItem, int[] outHierMenu);
2545:
2546: public static final native int GetMenuItemRefCon(int inMenu,
2547: short intItem, int[] outRefCon);
2548:
2549: public static final native int GetMenuTrackingData(int menu,
2550: MenuTrackingData outData);
2551:
2552: public static final native short GetMenuWidth(int inMenu);
2553:
2554: public static final native void GetMouse(Point where);
2555:
2556: public static final native int GetNextDevice(int curDevice);
2557:
2558: public static final native short GetPixDepth(int pHandle);
2559:
2560: public static final native void GetPort(int[] port);
2561:
2562: public static final native int GetPortBitMapForCopyBits(
2563: int portHandle);
2564:
2565: public static final native void GetPortBounds(int pHandle, Rect rect);
2566:
2567: public static final native int GetPreviousWindow(int inWindow);
2568:
2569: public static final native int GetPtrSize(int ptr);
2570:
2571: public static final native void GetRegionBounds(int rgnHandle,
2572: Rect bounds);
2573:
2574: public static final native int GetRootControl(int windowHandle,
2575: int[] cHandle);
2576:
2577: public static final native int GetScrapFlavorCount(int scrap,
2578: int[] infoCount);
2579:
2580: public static final native int GetScrapFlavorData(int scrap,
2581: int flavorType, int[] byteCount, byte[] destination);
2582:
2583: public static final native int GetScrapFlavorData(int scrap,
2584: int flavorType, int[] byteCount, char[] destination);
2585:
2586: public static final native int GetScrapFlavorInfoList(int scrap,
2587: int[] infoCount, int[] info);
2588:
2589: public static final native int GetScrapFlavorSize(int scrap,
2590: int flavorType, int[] byteCount);
2591:
2592: public static final native int GetScriptManagerVariable(
2593: short selector);
2594:
2595: public static final native int GetSuperControl(int cHandle,
2596: int[] parentHandle);
2597:
2598: public static final native void GetSystemUIMode(int[] outMode,
2599: int[] outOptions);
2600:
2601: public static final native int GetTabContentRect(int theControl,
2602: Rect rect);
2603:
2604: public static final native int GetThemeBrushAsColor(short inBrush,
2605: short inDepth, boolean inColorDev, RGBColor outColor);
2606:
2607: public static final native int GetThemeButtonContentBounds(
2608: Rect inBounds, int inKind, ThemeButtonDrawInfo inDrawInfo,
2609: Rect outBounds);
2610:
2611: public static final native int GetThemeButtonRegion(Rect inBounds,
2612: int inKind, ThemeButtonDrawInfo inNewInfo, int outRegion);
2613:
2614: public static final native int GetThemeDrawingState(int[] state);
2615:
2616: public static final native int GetThemeFont(short themeFontId,
2617: short scriptCode, byte[] fontName, short[] fontSize,
2618: byte[] style);
2619:
2620: public static final native int GetThemeMenuItemExtra(
2621: short inItemType, short[] outHeight, short[] outWidth);
2622:
2623: public static final native int GetThemeMetric(int inMetric,
2624: int[] outMetric);
2625:
2626: public static final native int GetThemeTextColor(short inColor,
2627: short inDepth, boolean inColorDev, RGBColor outColor);
2628:
2629: public static final native int GetThemeTextDimensions(int sHandle,
2630: short fontID, int state, boolean wrapToWidth,
2631: Point ioBounds, short[] baseLine);
2632:
2633: public static final native int GetUserFocusEventTarget();
2634:
2635: public static final native int GetUserFocusWindow();
2636:
2637: public static final native int GetWindowActivationScope(
2638: int inWindow, int[] outScope);
2639:
2640: public static final native void GetWindowBounds(int wHandle,
2641: short windowRegion, Rect bounds);
2642:
2643: public static final native int GetWindowClass(int inWindow,
2644: int[] outClass);
2645:
2646: public static final native int GetWindowDefaultButton(int wHandle,
2647: int[] cHandle);
2648:
2649: public static final native int GetWindowEventTarget(int wHandle);
2650:
2651: public static final native int GetWindowFromPort(int pHandle);
2652:
2653: public static final native int GetWindowGroupOfClass(int windowClass);
2654:
2655: public static final native int GetWindowList();
2656:
2657: public static final native int GetNextWindow(int inWindow);
2658:
2659: public static final native int GetWindowModality(int inWindow,
2660: int[] outModalKind, int[] outUnavailableWindow);
2661:
2662: public static final native int GetWindowPort(int wHandle);
2663:
2664: public static final native int GetWindowRegion(int window,
2665: short inRegionCode, int ioWinRgn);
2666:
2667: public static final native int GetWindowResizeLimits(int inWindow,
2668: CGPoint inMinLimits, CGPoint inMaxLimits);
2669:
2670: public static final native void GetWindowStructureWidths(
2671: int intWindow, Rect outRect);
2672:
2673: public static final native int HICreateTransformedCGImage(
2674: int inImage, int inTransform, int[] outImage);
2675:
2676: public static final native int HandleControlSetCursor(int control,
2677: Point localPoint, int modifiers, boolean[] cursorWasSet);
2678:
2679: public static final native int HIComboBoxAppendTextItem(
2680: int inComboBox, int inText, int[] outIndex);
2681:
2682: public static final native int HIComboBoxCopyTextItemAtIndex(
2683: int inComboBox, int inIndex, int[] outString);
2684:
2685: public static final native int HIComboBoxCreate(CGRect boundsRect,
2686: int text, ControlFontStyleRec style, int list,
2687: int inAttributes, int[] outComboBox);
2688:
2689: public static final native int HIComboBoxGetItemCount(int inComboBox);
2690:
2691: public static final native int HIComboBoxInsertTextItemAtIndex(
2692: int inComboBox, int inIndex, int inText);
2693:
2694: public static final native int HIComboBoxRemoveItemAtIndex(
2695: int inComboBox, int inIndex);
2696:
2697: public static final native int HIComboBoxSetListVisible(
2698: int inComboBox, boolean inVisible);
2699:
2700: public static final native int HICopyAccessibilityRoleDescription(
2701: int inRole, int inSubrole);
2702:
2703: public static final native int HIObjectCopyClassID(int inObject);
2704:
2705: public static final native int HIObjectCreate(int inClassID,
2706: int inConstructData, int[] outObject);
2707:
2708: public static final native int HIObjectRegisterSubclass(
2709: int inClassID, int inBaseClassID, int inOptions,
2710: int inConstructProc, int inNumEvents, int[] inEventList,
2711: int inConstructData, int[] outClassRef);
2712:
2713: public static final native int HIViewScrollRect(int inView,
2714: CGRect inRect, float inDX, float inDY);
2715:
2716: public static final native int HIScrollViewCreate(int inOptions,
2717: int[] outView);
2718:
2719: public static final native int HISearchFieldCreate(CGRect inBounds,
2720: int inAttributes, int inSearchMenu, int inDescriptiveText,
2721: int[] outRef);
2722:
2723: public static final native int HISearchFieldChangeAttributes(
2724: int inSearchField, int inAttributesToSet,
2725: int inAttributesToClear);
2726:
2727: public static final native int HISearchFieldCopyDescriptiveText(
2728: int inSearchField, int[] outDescription);
2729:
2730: public static final native int HISearchFieldGetAttributes(
2731: int inSearchField, int[] outAttributes);
2732:
2733: public static final native int HISearchFieldSetDescriptiveText(
2734: int inSearchField, int inDescription);
2735:
2736: public static final native int HITextViewCreate(
2737: CGRect inBoundsRect, int inOptions, int inTXNFrameOptions,
2738: int[] outTextView);
2739:
2740: public static final native int HITextViewGetTXNObject(int inTextView);
2741:
2742: public static final native int HIThemeDrawBackground(
2743: CGRect inBounds, HIThemeBackgroundDrawInfo inDrawInfo,
2744: int inContext, int inOrientation);
2745:
2746: public static final native int HIThemeDrawButton(CGRect inBounds,
2747: HIThemeButtonDrawInfo inDrawInfo, int inContext,
2748: int inOrientation, CGRect outLabelRect);
2749:
2750: public static final native int HIThemeDrawFocusRect(CGRect inRect,
2751: boolean inHasFocus, int inContext, int inOrientation);
2752:
2753: public static final native int HIThemeDrawFrame(CGRect inRect,
2754: HIThemeFrameDrawInfo inDrawInfo, int inContext,
2755: int inOrientation);
2756:
2757: public static final native int HIThemeDrawGenericWell(
2758: CGRect inRect, HIThemeButtonDrawInfo info, int inContext,
2759: int inOrientation);
2760:
2761: public static final native int HIThemeDrawGroupBox(CGRect inRect,
2762: HIThemeGroupBoxDrawInfo inDrawInfo, int inContext,
2763: int inOrientation);
2764:
2765: public static final native int HIThemeDrawGrowBox(CGPoint inOrigin,
2766: HIThemeGrowBoxDrawInfo inDrawInfo, int inContext,
2767: int inOrientation);
2768:
2769: public static final native int HIThemeDrawPopupArrow(
2770: CGRect inBounds, HIThemePopupArrowDrawInfo inDrawInfo,
2771: int inContext, int inOrientation);
2772:
2773: public static final native int HIThemeDrawSeparator(CGRect inRect,
2774: HIThemeSeparatorDrawInfo inDrawInfo, int inContext,
2775: int inOrientation);
2776:
2777: public static final native int HIThemeDrawTab(CGRect inRect,
2778: HIThemeTabDrawInfo inDrawInfo, int inContext,
2779: int inOrientation, CGRect outLabelRect);
2780:
2781: public static final native int HIThemeDrawTabPane(CGRect inRect,
2782: HIThemeTabPaneDrawInfo inDrawInfo, int inContext,
2783: int inOrientation);
2784:
2785: public static final native int HIThemeDrawTextBox(int inString,
2786: CGRect inBounds, HIThemeTextInfo inTextInfo, int inContext,
2787: int inOrientation);
2788:
2789: public static final native int HIThemeDrawTrack(
2790: HIThemeTrackDrawInfo inDrawInfo, CGRect inGhostRect,
2791: int inContext, int inOrientation);
2792:
2793: public static final native int HIThemeGetButtonBackgroundBounds(
2794: CGRect inBounds, HIThemeButtonDrawInfo inDrawInfo,
2795: CGRect outBounds);
2796:
2797: public static final native int HIThemeGetButtonContentBounds(
2798: CGRect inBounds, HIThemeButtonDrawInfo inDrawInfo,
2799: CGRect outBounds);
2800:
2801: public static final native int HIThemeGetScrollBarTrackRect(
2802: CGRect inBounds, HIScrollBarTrackInfo inTrackInfo,
2803: boolean inIsHoriz, CGRect outTrackBounds);
2804:
2805: public static final native int HIThemeGetTextDimensions(
2806: int inString, float inWidth, HIThemeTextInfo inTextInfo,
2807: float[] outWidth, float[] outHeight, float[] outBaseline);
2808:
2809: public static final native int HIThemeGetTrackBounds(
2810: HIThemeTrackDrawInfo inDrawInfo, CGRect outBounds);
2811:
2812: public static final native int HIThemeGetTrackPartBounds(
2813: HIThemeTrackDrawInfo inDrawInfo, short inPartCode,
2814: CGRect outPartBounds);
2815:
2816: public static final native int HIThemeGetTrackThumbPositionFromBounds(
2817: HIThemeTrackDrawInfo inDrawInfo, CGRect inThumbBounds,
2818: float[] outRelativePosition);
2819:
2820: public static final native int HIThemeGetTrackThumbPositionFromOffset(
2821: HIThemeTrackDrawInfo inDrawInfo, CGPoint inThumbOffset,
2822: float[] outRelativePosition);
2823:
2824: public static final native int HIThemeGetTrackLiveValue(
2825: HIThemeTrackDrawInfo inDrawInfo, float inRelativePosition,
2826: int[] outValue);
2827:
2828: public static final native boolean HIThemeHitTestScrollBarArrows(
2829: CGRect inScrollBarBounds, HIScrollBarTrackInfo inTrackInfo,
2830: boolean inIsHoriz, CGPoint inPtHit, CGRect outTrackBounds,
2831: short[] outPartCode);
2832:
2833: public static final native boolean HIThemeHitTestTrack(
2834: HIThemeTrackDrawInfo inDrawInfo, CGPoint inMousePoint,
2835: short[] outPartHit);
2836:
2837: public static final native int HIThemeSetFill(int inBrush,
2838: int inInfo, int inContext, int inOrientation);
2839:
2840: public static final native int HIThemeSetTextFill(int inColor,
2841: int inInfo, int inContext, int inOrientation);
2842:
2843: public static final native int HIViewAddSubview(int parent,
2844: int child);
2845:
2846: public static final native int HIViewChangeAttributes(int inView,
2847: int inAttrsToSet, int inAttrsToClear);
2848:
2849: public static final native int HIViewChangeFeatures(int inView,
2850: int inFeaturesToSet, int inFeaturesToClear);
2851:
2852: public static final native int HIViewClick(int inView, int inEvent);
2853:
2854: public static final native int HIViewConvertPoint(CGPoint ioPoint,
2855: int inSourceView, int inDestView);
2856:
2857: public static final native int HIViewConvertRect(CGRect ioRect,
2858: int inSourceView, int inDestView);
2859:
2860: public static final native int HIViewConvertRegion(int ioRgn,
2861: int inSourceView, int inDestView);
2862:
2863: public static final native int HIViewCreateOffscreenImage(
2864: int inView, int inOptions, CGRect outFrame, int[] outImage);
2865:
2866: public static final native int HIViewDrawCGImage(int inContext,
2867: CGRect inBounds, int inImage);
2868:
2869: public static final native int HIViewFindByID(int inStartView,
2870: int inID, int[] outControl);
2871:
2872: public static final native int HIViewGetBounds(int inView,
2873: CGRect outRect);
2874:
2875: public static final native int HIViewGetFeatures(int inView,
2876: int[] outFeatures);
2877:
2878: public static final native int HIViewGetFirstSubview(int inView);
2879:
2880: public static final native int HIViewGetLastSubview(int inView);
2881:
2882: public static final native int HIViewGetLayoutInfo(int inView,
2883: HILayoutInfo outLayoutInfo);
2884:
2885: public static final native int HIViewGetNextView(int inView);
2886:
2887: public static final native int HIViewGetFrame(int inView,
2888: CGRect outRect);
2889:
2890: public static final native boolean HIViewGetNeedsDisplay(int inView);
2891:
2892: public static final native int HIViewGetRoot(int wHandle);
2893:
2894: public static final native int HIViewGetSizeConstraints(int inView,
2895: CGRect outMinSize, CGRect outMaxSize);
2896:
2897: public static final native int HIViewGetSubviewHit(int inView,
2898: CGPoint inPoint, boolean inDeep, int[] outView);
2899:
2900: public static final native int HIViewGetSuperview(int inView);
2901:
2902: public static final native int HIViewGetViewForMouseEvent(
2903: int inView, int inEvent, int[] outView);
2904:
2905: public static final native boolean HIViewIsDrawingEnabled(int inView);
2906:
2907: public static final native boolean HIViewIsVisible(int inView);
2908:
2909: public static final native int HIViewRemoveFromSuperview(int inView);
2910:
2911: public static final native int HIViewRender(int inView);
2912:
2913: public static final native int HIViewSetBoundsOrigin(int inView,
2914: float inX, float inY);
2915:
2916: public static final native int HIViewSetDrawingEnabled(int inView,
2917: boolean isEnabled);
2918:
2919: public static final native int HIViewSetFrame(int inView,
2920: CGRect inRect);
2921:
2922: public static final native int HIViewSetLayoutInfo(int inView,
2923: HILayoutInfo outLayoutInfo);
2924:
2925: public static final native int HIViewSetNeedsDisplay(int inView,
2926: boolean inNeedsDisplay);
2927:
2928: public static final native int HIViewSetNeedsDisplayInRegion(
2929: int inView, int inRgn, boolean inNeedsDisplay);
2930:
2931: public static final native int HIViewSetVisible(int inView,
2932: boolean inVisible);
2933:
2934: public static final native int HIViewSetZOrder(int inView,
2935: int inOp, int inOther);
2936:
2937: public static final native int HIViewSimulateClick(int inView,
2938: short inPartToClick, int modifiers, short[] outPartClicked);
2939:
2940: public static final native short HandleControlClick(int cHandle,
2941: Point where, int modifiers, int actionUPP);
2942:
2943: public static final native short HiWord(int doubleWord);
2944:
2945: public static final native void HideWindow(int wHandle);
2946:
2947: public static final native void HiliteMenu(short menuID);
2948:
2949: public static final native void HLock(int h);
2950:
2951: public static final native int HMDisplayTag(
2952: HMHelpContentRec inContent);
2953:
2954: public static final native int HMGetTagDelay(int[] outDelay);
2955:
2956: public static final native int HMHideTag();
2957:
2958: public static final native int HMSetTagDelay(int inDelay);
2959:
2960: public static final native void HMInstallControlContentCallback(
2961: int inControl, int inContentUPP);
2962:
2963: public static final native void HUnlock(int h);
2964:
2965: public static final native int IconRefToIconFamily(int theIconRef,
2966: int whichIcons, int[] iconFamily);
2967:
2968: public static final native int InitContextualMenus();
2969:
2970: public static final native void InitCursor();
2971:
2972: public static final native int InitDataBrowserCallbacks(
2973: DataBrowserCallbacks callbacks);
2974:
2975: public static final native int InitDataBrowserCustomCallbacks(
2976: DataBrowserCustomCallbacks callbacks);
2977:
2978: public static final native void InsertMenu(int mHandle,
2979: short beforeID);
2980:
2981: public static final native int InsertMenuItemTextWithCFString(
2982: int mHandle, int sHandle, short index, int attributes,
2983: int commandID);
2984:
2985: public static final native int InstallEventHandler(int inTarget,
2986: int inHandler, int inNumTypes, int[] inList,
2987: int inUserData, int[] outRef);
2988:
2989: public static final native int InstallEventLoopIdleTimer(
2990: int inEventLoop, double inFireDelay, double inInterval,
2991: int inTimerProc, int inTimerData, int[] outTimer);
2992:
2993: public static final native int InstallEventLoopTimer(
2994: int inEventLoop, double inFireDelay, double inInterval,
2995: int inTimerProc, int inTimerData, int[] outTimer);
2996:
2997: public static final native int InstallReceiveHandler(
2998: int receiveHandler, int theWindow, int[] handlerRefCon);
2999:
3000: public static final native int InstallTrackingHandler(
3001: int trackingHandler, int theWindow, int[] handlerRefCon);
3002:
3003: public static final native void InvalWindowRect(int wHandle,
3004: Rect bounds);
3005:
3006: public static final native void InvalWindowRgn(int wHandle,
3007: int rgnHandle);
3008:
3009: public static final native void InvertRect(Rect r);
3010:
3011: public static final native boolean IsControlActive(int inControl);
3012:
3013: public static final native boolean IsControlEnabled(int cHandle);
3014:
3015: public static final native boolean IsControlVisible(int cHandle);
3016:
3017: public static final native boolean IsDataBrowserItemSelected(
3018: int cHandle, int itemID);
3019:
3020: public static final native boolean IsEventInQueue(int inQueue,
3021: int inEvent);
3022:
3023: public static final native boolean IsMenuCommandEnabled(
3024: int mHandle, int commandId);
3025:
3026: public static final native boolean IsMenuItemEnabled(int mHandle,
3027: short index);
3028:
3029: public static final native boolean IsValidControlHandle(int cHandle);
3030:
3031: public static final native boolean IsValidMenu(int mHandle);
3032:
3033: public static final native boolean IsValidWindowPtr(int grafPort);
3034:
3035: public static final native boolean IsWindowActive(int window);
3036:
3037: public static final native boolean IsWindowCollapsed(int window);
3038:
3039: public static final native boolean IsWindowVisible(int window);
3040:
3041: public static final native int KeyTranslate(int transData,
3042: short keycode, int[] state);
3043:
3044: public static final native void LineTo(short h, short v);
3045:
3046: public static final native int Long2Fix(int x);
3047:
3048: public static final native short LoWord(int doubleWord);
3049:
3050: public static final native int LSFindApplicationForInfo(
3051: int inCreator, int inBundleID, int inName,
3052: byte[] outAppRef, int[] outAppURL);
3053:
3054: public static final native int LSCopyAllRoleHandlersForContentType(
3055: int inContentType, int inRoleMask);
3056:
3057: public static final native int LSGetApplicationForInfo(int inType,
3058: int inCreator, int inExtension, int inRoleMask,
3059: byte[] outAppRef, int[] outAppURL);
3060:
3061: public static final native int LSOpenURLsWithRole(int inURLs,
3062: int inRole, int inAEParam,
3063: LSApplicationParameters inAppParams, int[] outPSNs,
3064: int inMaxPSNCount);
3065:
3066: public static final native int LSOpenCFURLRef(int inURL,
3067: int[] outLaunchedURL);
3068:
3069: public static final native int LSOpenApplication(
3070: LSApplicationParameters inAppParams, int[] outPSN);
3071:
3072: public static final native int LSCopyDisplayNameForRef(
3073: byte[] inRef, int[] outDisplayName);
3074:
3075: public static final native int MenuSelect(Point mHandle);
3076:
3077: public static final native void MoveControl(int theControl,
3078: short h, short v);
3079:
3080: public static final native void MoveTo(short h, short v);
3081:
3082: public static final native void MoveWindow(int wHandle, short h,
3083: short v, boolean toFront);
3084:
3085: public static final native int NavCreateChooseFolderDialog(
3086: NavDialogCreationOptions inOptions, int inEventProc,
3087: int inFilterProc, int inClientData, int[] outDialog);
3088:
3089: public static final native int NavCreateGetFileDialog(
3090: NavDialogCreationOptions inOptions, int inTypeList,
3091: int inEventProc, int inPreviewProc, int inFilterProc,
3092: int inClientData, int[] outDialog);
3093:
3094: public static final native int NavCreatePutFileDialog(
3095: NavDialogCreationOptions inOptions, int inFileType,
3096: int inFileCreator, int inEventProc, int inClientData,
3097: int[] outDialog);
3098:
3099: public static final native void NavDialogDispose(int dialogHandle);
3100:
3101: public static final native int NavDialogGetSaveFileName(
3102: int dialogHandle);
3103:
3104: public static final native int NavDialogGetUserAction(
3105: int dialogHandle);
3106:
3107: public static final native int NavDialogRun(int dialogHandle);
3108:
3109: public static final native int NavDialogSetSaveFileName(
3110: int dialogHandle, int fileNameHandle);
3111:
3112: public static final native int NavDialogSetFilterTypeIdentifiers(
3113: int inGetFileDialog, int inTypeIdentifiers);
3114:
3115: public static final native int NavGetDefaultDialogCreationOptions(
3116: NavDialogCreationOptions outOptions);
3117:
3118: public static final native int NavDialogGetReply(int inDialog,
3119: NavReplyRecord outReply);
3120:
3121: public static final native int NewControl(int owningWindow,
3122: Rect boundsRect, byte[] controlTitle,
3123: boolean initiallyVisible, short initialValue,
3124: short minimumValue, short maximumValue, short procID,
3125: int controlReference);
3126:
3127: public static final native int NewDrag(int[] theDrag);
3128:
3129: public static final native int NewGWorldFromPtr(
3130: int[] offscreenGWorld, int PixelFormat, Rect boundsRect,
3131: int cTable, int aGDevice, int flags, int newBuffer,
3132: int rowBytes);
3133:
3134: public static final native int NewHandle(int size);
3135:
3136: public static final native int NewHandleClear(int size);
3137:
3138: public static final native int NewPtr(int size);
3139:
3140: public static final native int NewPtrClear(int size);
3141:
3142: public static final native int NewRgn();
3143:
3144: public static final native int NewTSMDocument(short numOfInterface,
3145: int[] supportedInterfaceTypes, int[] idocID, long refcon);
3146:
3147: public static final native void OffsetRect(Rect rect, short dh,
3148: short dv);
3149:
3150: public static final native void OffsetRgn(int rgnHandle, short dh,
3151: short dv);
3152:
3153: public static final native int OpenDataBrowserContainer(
3154: int cHandle, int container);
3155:
3156: public static final native void OpenRgn();
3157:
3158: public static final native int PickColor(
3159: ColorPickerInfo theColorInfo);
3160:
3161: public static final native int PopUpMenuSelect(int mHandle,
3162: short top, short left, short popUpItem);
3163:
3164: public static final native int PostEvent(short eventNum,
3165: int eventMsg);
3166:
3167: public static final native int PostEventToQueue(int inQueue,
3168: int inEvent, short inPriority);
3169:
3170: public static final native int PMCreatePageFormat(int[] pageFormat);
3171:
3172: public static final native int PMCreatePrintSettings(
3173: int[] printSettings);
3174:
3175: public static final native int PMCreateSession(int[] printSession);
3176:
3177: public static final native int PMFlattenPageFormat(int pageFormat,
3178: int[] flatFormat);
3179:
3180: public static final native int PMFlattenPrintSettings(
3181: int printSettings, int[] flatSettings);
3182:
3183: public static final native int PMGetAdjustedPageRect(
3184: int pageFormat, PMRect pageRect);
3185:
3186: public static final native int PMGetAdjustedPaperRect(
3187: int pageFormat, PMRect paperRect);
3188:
3189: public static final native int PMGetCollate(int printSettings,
3190: boolean[] collate);
3191:
3192: public static final native int PMGetCopies(int printSettings,
3193: int[] copies);
3194:
3195: public static final native int PMGetFirstPage(int printSettings,
3196: int[] first);
3197:
3198: public static final native int PMGetJobNameCFString(
3199: int printSettings, int[] name);
3200:
3201: public static final native int PMGetLastPage(int printSettings,
3202: int[] last);
3203:
3204: public static final native int PMGetPageRange(int printSettings,
3205: int[] minPage, int[] maxPage);
3206:
3207: public static final native int PMRelease(int printManagerObject);
3208:
3209: public static final native int PMGetResolution(int pageFormat,
3210: PMResolution resolution);
3211:
3212: public static final native int PMSessionBeginDocumentNoDialog(
3213: int printSession, int printSettings, int pageFormat);
3214:
3215: public static final native int PMSessionBeginPageNoDialog(
3216: int printSession, int pageFormat, PMRect pageFrame);
3217:
3218: public static final native int PMSessionCopyDestinationLocation(
3219: int printSession, int printSettings, int[] destLocationP);
3220:
3221: public static final native int PMSessionCreatePrinterList(
3222: int printSession, int[] printerList, int[] currentIndex,
3223: int[] currentPrinter);
3224:
3225: public static final native int PMSessionDefaultPageFormat(
3226: int printSession, int pageFormat);
3227:
3228: public static final native int PMSessionDefaultPrintSettings(
3229: int printSession, int printSettings);
3230:
3231: public static final native int PMSessionEndDocumentNoDialog(
3232: int printSession);
3233:
3234: public static final native int PMSessionEndPageNoDialog(
3235: int printSession);
3236:
3237: public static final native int PMSessionError(int printSession);
3238:
3239: public static final native int PMSessionGetDestinationType(
3240: int printSession, int printSettings, short[] destTypeP);
3241:
3242: public static final native int PMSessionGetGraphicsContext(
3243: int printSession, int graphicsType, int[] graphicsContext);
3244:
3245: public static final native int PMSessionPageSetupDialog(
3246: int printSession, int pageFormat, boolean[] result);
3247:
3248: public static final native int PMSessionPrintDialog(
3249: int printSession, int settings, int pageFormat,
3250: boolean[] accepted);
3251:
3252: public static final native int PMSessionSetCurrentPrinter(
3253: int session, int printerName);
3254:
3255: public static final native int PMSessionSetDestination(
3256: int printSession, int printSettings, short destType,
3257: int destFormat, int destLocation);
3258:
3259: public static final native int PMSessionSetError(int printSession,
3260: int printError);
3261:
3262: public static final native int PMSessionSetDocumentFormatGeneration(
3263: int printSession, int docFormat, int graphicsContexts,
3264: int options);
3265:
3266: public static final native int PMSessionUseSheets(int printSession,
3267: int documentWindow, int sheetDoneProc);
3268:
3269: public static final native int PMSessionValidatePageFormat(
3270: int printSession, int pageFormat, boolean[] result);
3271:
3272: public static final native int PMSessionValidatePrintSettings(
3273: int printSession, int printSettings, boolean[] result);
3274:
3275: public static final native int PMSetCollate(int printSettings,
3276: boolean collate);
3277:
3278: public static final native int PMSetFirstPage(int printSettings,
3279: int first, boolean lock);
3280:
3281: public static final native int PMSetJobNameCFString(
3282: int printSettings, int name);
3283:
3284: public static final native int PMSetLastPage(int printSettings,
3285: int last, boolean lock);
3286:
3287: public static final native int PMSetPageRange(int printSettings,
3288: int minPage, int maxPage);
3289:
3290: public static final native int PMUnflattenPageFormat(
3291: int flatFormat, int[] pageFormat);
3292:
3293: public static final native int PMUnflattenPrintSettings(
3294: int flatSettings, int[] printSettings);
3295:
3296: public static final native boolean PtInRect(Point pt, Rect r);
3297:
3298: public static final native boolean PtInRgn(Point pt, int rgnHandle);
3299:
3300: public static final native int PutScrapFlavor(int scrap,
3301: int flavorType, int flavorFlags, int flavorSize,
3302: byte[] flavorData);
3303:
3304: public static final native int PutScrapFlavor(int scrap,
3305: int flavorType, int flavorFlags, int flavorSize,
3306: char[] flavorData);
3307:
3308: public static final native int QDBeginCGContext(int inPort,
3309: int[] outContext);
3310:
3311: public static final native int QDEndCGContext(int inPort,
3312: int[] inoutContext);
3313:
3314: public static final native void QDFlushPortBuffer(int port,
3315: int rgnHandle);
3316:
3317: public static final native int QDRegionToRects(int rgn, int dir,
3318: int proc, int userData);
3319:
3320: public static final native void RGBBackColor(RGBColor color);
3321:
3322: public static final native void RGBForeColor(RGBColor color);
3323:
3324: public static final native int ReadIconFile(byte[] iconFile,
3325: int[] iconFamily);
3326:
3327: public static final native int ReceiveNextEvent(int inNumTypes,
3328: int[] inList, double inTimeout, boolean inPullEvent,
3329: int[] outEvent);
3330:
3331: public static final native boolean RectInRgn(Rect rect,
3332: int rgnHandle);
3333:
3334: public static final native void RectRgn(int rgnHandle, Rect left);
3335:
3336: public static final native int RegisterAppearanceClient();
3337:
3338: public static final native void ReleaseEvent(int theEvent);
3339:
3340: public static final native void ReleaseIconRef(int theIconRef);
3341:
3342: public static final native int ReleaseMenu(int mHandle);
3343:
3344: public static final native int ReleaseWindowGroup(int inGroup);
3345:
3346: public static final native int ReleaseWindow(int inWindow);
3347:
3348: public static final native int RemoveControlProperty(int control,
3349: int propertyCreator, int propertyTag);
3350:
3351: public static final native int RemoveDataBrowserItems(int cHandle,
3352: int containerID, int numItems, int[] itemIDs,
3353: int preSortProperty);
3354:
3355: public static final native int RemoveDataBrowserTableViewColumn(
3356: int browser, int column);
3357:
3358: public static final native int RemoveEventFromQueue(int inQueue,
3359: int inEvent);
3360:
3361: public static final native int RemoveEventHandler(int inHandlerRef);
3362:
3363: public static final native int RemoveEventLoopTimer(int inTimer);
3364:
3365: public static final native int RemoveReceiveHandler(
3366: int receiveHandler, int theWindow);
3367:
3368: public static final native int RemoveTrackingHandler(
3369: int trackingHandler, int theWindow);
3370:
3371: public static final native int RepositionWindow(int window,
3372: int parentWindow, int method);
3373:
3374: public static final native int ReshapeCustomWindow(int window);
3375:
3376: public static final native int RestoreApplicationDockTileImage();
3377:
3378: public static final native int RetainEvent(int inEvent);
3379:
3380: public static final native int RetainMenu(int mHandle);
3381:
3382: public static final native int RetainWindow(int inWindow);
3383:
3384: public static final native int RevealDataBrowserItem(int browser,
3385: int item, int property, byte options);
3386:
3387: public static final native int RunStandardAlert(int dialogHandle,
3388: int modalFilterUPP, short[] itemHit);
3389:
3390: public static final native void ScrollRect(Rect rect, short dh,
3391: short dv, int updateRgn);
3392:
3393: public static final native boolean SectRect(Rect src1, Rect src2,
3394: Rect dstRect);
3395:
3396: public static final native void SectRgn(int srcRgnA, int srcRgnB,
3397: int dstRgn);
3398:
3399: public static final native void SelectWindow(int wHandle);
3400:
3401: public static final native void SendBehind(int window,
3402: int behindWindow);
3403:
3404: public static final native int SendEventToEventTarget(int theEvent,
3405: int theTarget);
3406:
3407: public static final native int SendEventToEventTargetWithOptions(
3408: int theEvent, int theTarget, int options);
3409:
3410: public static final native int SetApplicationDockTileImage(
3411: int inImage);
3412:
3413: public static final native int SetAutomaticControlDragTrackingEnabledForWindow(
3414: int inWindow, boolean inTracks);
3415:
3416: public static final native int SetBevelButtonContentInfo(
3417: int inButton, ControlButtonContentInfo inContent);
3418:
3419: public static final native void SetClip(int rgnHandle);
3420:
3421: public static final native void SetControl32BitMaximum(int cHandle,
3422: int maximum);
3423:
3424: public static final native void SetControl32BitMinimum(int cHandle,
3425: int minimum);
3426:
3427: public static final native void SetControl32BitValue(int cHandle,
3428: int value);
3429:
3430: public static final native void SetControlAction(int cHandle,
3431: int actionProc);
3432:
3433: public static final native void SetControlBounds(int cHandle,
3434: Rect bounds);
3435:
3436: public static final native int SetControlColorProc(int inControl,
3437: int inProc);
3438:
3439: public static final native int SetControlData(int inControl,
3440: int inPart, int inTagName, int inSize,
3441: ControlButtonContentInfo inData);
3442:
3443: public static final native int SetControlData(int inControl,
3444: int inPart, int inTagName, int inSize, LongDateRec inData);
3445:
3446: public static final native int SetControlData(int inControl,
3447: int inPart, int inTagName, int inSize,
3448: ControlTabInfoRecV1 inData);
3449:
3450: public static final native int SetControlData(int inControl,
3451: int inPart, int inTagName, int inSize, Rect inData);
3452:
3453: public static final native int SetControlData(int inControl,
3454: int inPart, int inTagName, int inSize, short[] inData);
3455:
3456: public static final native int SetControlData(int inControl,
3457: int inPart, int inTagName, int inSize, int[] inData);
3458:
3459: public static final native int SetControlData(int inControl,
3460: int inPart, int inTagName, int inSize, int inData);
3461:
3462: public static final native int SetControlData(int inControl,
3463: int inPart, int inTagName, int inSize, byte[] inData);
3464:
3465: public static final native int SetControlData(int inControl,
3466: int inPart, int inTagName, int inSize,
3467: ControlEditTextSelectionRec inData);
3468:
3469: public static final native int SetControlFontStyle(int inControl,
3470: ControlFontStyleRec inStyle);
3471:
3472: public static final native void SetControlPopupMenuHandle(
3473: int cHandle, int popupMenuHandle);
3474:
3475: public static final native int SetControlProperty(int control,
3476: int propertyCreator, int propertyTag, int propertySize,
3477: int[] propertyData);
3478:
3479: public static final native void SetControlReference(int cHandle,
3480: int data);
3481:
3482: public static final native int SetControlTitleWithCFString(
3483: int cHandle, int sHandle);
3484:
3485: public static final native void SetControlViewSize(int cHandle,
3486: int viewSize);
3487:
3488: public static final native int SetControlVisibility(int inControl,
3489: boolean inIsVisible, boolean inDoDraw);
3490:
3491: public static final native void SetCursor(int cursor);
3492:
3493: public static final native int SetDataBrowserCallbacks(int browser,
3494: DataBrowserCallbacks callbacks);
3495:
3496: public static final native int SetDataBrowserCustomCallbacks(
3497: int browser, DataBrowserCustomCallbacks callbacks);
3498:
3499: public static final native int SetDataBrowserHasScrollBars(
3500: int cHandle, boolean hScroll, boolean vScroll);
3501:
3502: public static final native int SetDataBrowserItemDataBooleanValue(
3503: int itemRef, boolean data);
3504:
3505: public static final native int SetDataBrowserItemDataButtonValue(
3506: int itemRef, short themeButtonValue);
3507:
3508: public static final native int SetDataBrowserItemDataIcon(
3509: int itemRef, int iconRef);
3510:
3511: public static final native int SetDataBrowserItemDataItemID(
3512: int itemRef, int itemID);
3513:
3514: public static final native int SetDataBrowserItemDataText(
3515: int itemRef, int sHandle);
3516:
3517: public static final native int SetDataBrowserListViewDisclosureColumn(
3518: int cHandle, int colID, boolean b);
3519:
3520: public static final native int SetDataBrowserListViewHeaderBtnHeight(
3521: int cHandle, short height);
3522:
3523: public static final native int SetDataBrowserListViewHeaderDesc(
3524: int browser, int column, DataBrowserListViewHeaderDesc desc);
3525:
3526: public static final native int SetDataBrowserPropertyFlags(
3527: int browser, int property, int flags);
3528:
3529: public static final native int SetDataBrowserScrollPosition(
3530: int cHandle, int top, int left);
3531:
3532: public static final native int SetDataBrowserSelectedItems(
3533: int cHandle, int numItems, int[] items, int operation);
3534:
3535: public static final native int SetDataBrowserSelectionFlags(
3536: int cHandle, int selectionFlags);
3537:
3538: public static final native int SetDataBrowserSortOrder(int browser,
3539: short order);
3540:
3541: public static final native int SetDataBrowserSortProperty(
3542: int browser, int property);
3543:
3544: public static final native int SetDataBrowserTableViewColumnPosition(
3545: int browser, int column, int position);
3546:
3547: public static final native int SetDataBrowserTableViewHiliteStyle(
3548: int browser, int hiliteStyle);
3549:
3550: public static final native int SetDataBrowserTableViewItemRow(
3551: int browser, int item, int row);
3552:
3553: public static final native int SetDataBrowserTableViewNamedColumnWidth(
3554: int browser, int column, short width);
3555:
3556: public static final native int SetDataBrowserTableViewRowHeight(
3557: int browser, short height);
3558:
3559: public static final native int SetDataBrowserTarget(int cHandle,
3560: int rootID);
3561:
3562: public static final native int SetDragAllowableActions(int theDrag,
3563: int inActions, boolean isLocal);
3564:
3565: public static final native int SetDragDropAction(int theDrag,
3566: int inAction);
3567:
3568: public static final native int SetDragImageWithCGImage(int inDrag,
3569: int inCGImage, CGPoint inImageOffsetPt, int inImageFlags);
3570:
3571: public static final native int SetDragInputProc(int theDrag,
3572: int inputProc, int dragInputRefCon);
3573:
3574: public static final native int SetDragItemFlavorData(int theDrag,
3575: int theItemRef, int theType, byte[] dataPtr, int dataSize,
3576: int dataOffset);
3577:
3578: public static final native int SetDragSendProc(int theDrag,
3579: int sendProc, int dragSendRefCon);
3580:
3581: public static final native int SetEventLoopTimerNextFireTime(
3582: int inTimer, double inNextFire);
3583:
3584: public static final native int SetEventParameter(int inEvent,
3585: int inName, int inType, int inSize, Point inDataPtr);
3586:
3587: public static final native int SetEventParameter(int inEvent,
3588: int inName, int inType, int inSize, HICommand inDataPtr);
3589:
3590: public static final native int SetEventParameter(int inEvent,
3591: int inName, int inType, int inSize, char[] inDataPtr);
3592:
3593: public static final native int SetEventParameter(int inEvent,
3594: int inName, int inType, int inSize, short[] inDataPtr);
3595:
3596: public static final native int SetEventParameter(int inEvent,
3597: int inName, int inType, int inSize, int[] inDataPtr);
3598:
3599: public static final native int SetEventParameter(int inEvent,
3600: int inName, int inType, int inSize, boolean[] inDataPtr);
3601:
3602: public static final native int SetEventParameter(int inEvent,
3603: int inName, int inType, int inSize, CGPoint inDataPtr);
3604:
3605: public static final native int SetFontInfoForSelection(
3606: int iStyleType, int iNumStyles, int iStyles,
3607: int iFPEventTarget);
3608:
3609: public static final native int SetFrontProcess(int[] psn);
3610:
3611: public static final native int SetFrontProcessWithOptions(
3612: int[] psn, int inOptions);
3613:
3614: public static final native void SetHandleSize(int handle, int size);
3615:
3616: public static final native void SetGWorld(int portHandle,
3617: int gdHandle);
3618:
3619: public static final native int SetIconFamilyData(int iconFamily,
3620: int iconType, int h);
3621:
3622: public static final native void SetItemMark(int theMenu,
3623: short item, short markChar);
3624:
3625: public static final native int SetKeyboardFocus(int wHandle,
3626: int cHandle, short inPart);
3627:
3628: public static final native int SetMenuCommandMark(int mHandle,
3629: int commandId, char mark);
3630:
3631: public static final native int SetMenuFont(int mHandle,
3632: short fontID, short size);
3633:
3634: public static final native int SetMenuItemCommandKey(int mHandle,
3635: short index, boolean virtualKey, char key);
3636:
3637: public static final native int SetMenuItemHierarchicalMenu(
3638: int mHandle, short index, int hierMenuHandle);
3639:
3640: public static final native int SetMenuItemIconHandle(int mHandle,
3641: short item, byte iconType, int iconHandle);
3642:
3643: public static final native int SetMenuItemKeyGlyph(int mHandle,
3644: short index, short glyph);
3645:
3646: public static final native int SetMenuItemModifiers(int mHandle,
3647: short index, byte modifiers);
3648:
3649: public static final native int SetMenuItemRefCon(int mHandle,
3650: short index, int refCon);
3651:
3652: public static final native int SetMenuItemTextWithCFString(
3653: int mHandle, short index, int sHandle);
3654:
3655: public static final native int SetMenuTitleWithCFString(
3656: int mHandle, int sHandle);
3657:
3658: public static final native void SetPort(int pHandle);
3659:
3660: public static final native void SetPt(Point p, short h, short v);
3661:
3662: public static final native void SetRect(Rect r, short left,
3663: short top, short right, short bottom);
3664:
3665: public static final native void SetRectRgn(int rgnHandle,
3666: short left, short top, short right, short bottom);
3667:
3668: public static final native int SetRootMenu(int mHandle);
3669:
3670: public static final native int SetSystemUIMode(int inMode,
3671: int inOptions);
3672:
3673: public static final native int SetThemeBackground(short inBrush,
3674: short depth, boolean isColorDevice);
3675:
3676: public static final native int SetThemeCursor(int themeCursor);
3677:
3678: public static final native int SetThemeDrawingState(int state,
3679: boolean disposeNow);
3680:
3681: public static final native int SetThemeTextColor(short inBrush,
3682: short depth, boolean isColorDevice);
3683:
3684: public static final native int SetThemeWindowBackground(
3685: int wHandle, short brush, boolean update);
3686:
3687: public static final native int SetUpControlBackground(int cHandle,
3688: short depth, boolean isColorDevice);
3689:
3690: public static final native int SetWindowActivationScope(
3691: int wHandle, int scope);
3692:
3693: public static final native void SetWindowBounds(int window,
3694: int regionCode, Rect globalBounds);
3695:
3696: public static final native int SetWindowDefaultButton(int wHandle,
3697: int cHandle);
3698:
3699: public static final native int SetWindowGroup(int inWindow,
3700: int inNewGroup);
3701:
3702: public static final native int SetWindowGroupOwner(int inGroup,
3703: int inWindow);
3704:
3705: public static final native int SetWindowGroupParent(int inGroup,
3706: int inNewGroup);
3707:
3708: public static final native int SetWindowModality(int inWindow,
3709: int inModalKind, int inUnavailableWindow);
3710:
3711: public static final native int SetWindowResizeLimits(int inWindow,
3712: CGPoint inMinLimits, CGPoint inMaxLimits);
3713:
3714: public static final native int SetWindowTitleWithCFString(
3715: int wHandle, int sHandle);
3716:
3717: public static final native void ShowWindow(int wHandle);
3718:
3719: public static final native void SizeControl(int cHandle, short w,
3720: short h);
3721:
3722: public static final native void SizeWindow(int wHandle, short w,
3723: short h, boolean update);
3724:
3725: public static final native boolean StillDown();
3726:
3727: public static final native void SysBeep(short duration);
3728:
3729: public static final native int TXNCopy(int txHandle);
3730:
3731: public static final native int TXNCut(int txHandle);
3732:
3733: public static final native int TXNDataSize(int txHandle);
3734:
3735: public static final native void TXNDeleteObject(int txHandle);
3736:
3737: public static final native int TXNEchoMode(int txHandle,
3738: char echoCharacter, int encoding, boolean on);
3739:
3740: public static final native int TXNGetData(int txHandle,
3741: int startOffset, int endOffset, int[] dataHandle);
3742:
3743: public static final native int TXNGetLineCount(int txHandle,
3744: int[] lineTotal);
3745:
3746: public static final native int TXNGetLineMetrics(int iTXNObject,
3747: int iLineNumber, int[] oLineWidth, int[] oLineHeight);
3748:
3749: public static final native int TXNGetTXNObjectControls(
3750: int iTXNObject, int iControlCount, int[] iControlTags,
3751: int[] oControlData);
3752:
3753: public static final native int TXNGetHIRect(int iTXNObject,
3754: int iTXNRectKey, CGRect oRectangle);
3755:
3756: public static final native void TXNGetSelection(int txHandle,
3757: int[] startOffset, int[] endOffset);
3758:
3759: public static final native void TXNGetViewRect(int iTXNObject,
3760: Rect oViewRect);
3761:
3762: public static final native int TXNInitTextension(int iDefaultFonts,
3763: int iCountDefaultFonts, int iUsageFlags);
3764:
3765: public static final native int TXNOffsetToHIPoint(int txHandle,
3766: int offset, CGPoint point);
3767:
3768: public static final native int TXNPaste(int txHandle);
3769:
3770: public static final native int TXNHIPointToOffset(int iTXNObject,
3771: CGPoint iPoint, int[] oOffset);
3772:
3773: public static final native void TXNSelectAll(int txHandle);
3774:
3775: public static final native int TXNSetBackground(int iTXNObject,
3776: TXNBackground iBackgroundInfo);
3777:
3778: public static final native int TXNSetData(int iTXNObject,
3779: int iDataType, char[] iDataPtr, int iDataSize,
3780: int iStartOffset, int iEndOffset);
3781:
3782: public static final native void TXNSetFrameBounds(int txHandle,
3783: int top, int left, int bottom, int right, int frameID);
3784:
3785: public static final native int TXNSetSelection(int txHandle,
3786: int startOffset, int endOffset);
3787:
3788: public static final native int TXNSetTypeAttributes(int iTXNObject,
3789: int iAttrCount, int iAttributes, int iStartOffset,
3790: int iEndOffset);
3791:
3792: public static final native int TXNSetTXNObjectControls(
3793: int iTXNObject, boolean iClearAll, int iControlCount,
3794: int[] iControlTags, int[] iControlData);
3795:
3796: public static final native void TXNShowSelection(int txHandle,
3797: boolean showEnd);
3798:
3799: public static final native void TextFace(short face);
3800:
3801: public static final native void TextFont(short fontID);
3802:
3803: public static final native void TextSize(short size);
3804:
3805: public static final native int TrackDrag(int theDrag,
3806: EventRecord theEvent, int theRegion);
3807:
3808: public static final native int TrackMouseLocationWithOptions(
3809: int inPort, int inOptions, double inTime, Point outPt,
3810: int[] outModifiers, short[] outResult);
3811:
3812: public static final native int UTTypeCreatePreferredIdentifierForTag(
3813: int inTagClass, int inTag, int inConformingToUTI);
3814:
3815: public static final native int UTTypeCreateAllIdentifiersForTag(
3816: int inTagClass, int inTag, int inConformingToUTI);
3817:
3818: public static final native void UnionRect(Rect srcA, Rect srcB,
3819: Rect dst);
3820:
3821: public static final native void UnionRgn(int srcRgnA, int srcRgnB,
3822: int dstRgn);
3823:
3824: public static final native int UpdateDataBrowserItems(int cHandle,
3825: int container, int numItems, int[] items,
3826: int preSortProperty, int propertyID);
3827:
3828: public static final native int UpgradeScriptInfoToTextEncoding(
3829: short iTextScriptID, short iTextLanguageID,
3830: short iRegionID, byte[] iTextFontname, int[] oEncoding);
3831:
3832: public static final native int UseInputWindow(int idocID,
3833: boolean useWindow);
3834:
3835: public static final native boolean WaitMouseMoved(
3836: Point initialGlobalMouse);
3837:
3838: public static final native int X2Fix(double x);
3839:
3840: public static final native int ZoomWindowIdeal(int inWindow,
3841: short inPartCode, Point ioIdealSize);
3842:
3843: public static final native int kCFNumberFormatterDecimalSeparator();
3844:
3845: public static final native int getpid();
3846:
3847: public static final native void memmove(ATSTrapezoid dest, int src,
3848: int n);
3849:
3850: public static final native void memmove(RGBColor dest, int src,
3851: int n);
3852:
3853: public static final native void memmove(CGPathElement dest,
3854: int src, int n);
3855:
3856: public static final native void memmove(TextRange dest, int src,
3857: int n);
3858:
3859: public static final native void memmove(int dest, PixMap src, int n);
3860:
3861: public static final native void memmove(int dest, Cursor src, int n);
3862:
3863: public static final native void memmove(GDevice dest, int src, int n);
3864:
3865: public static final native void memmove(PixMap dest, int src, int n);
3866:
3867: public static final native void memmove(HMHelpContentRec dest,
3868: int src, int n);
3869:
3870: public static final native void memmove(ATSLayoutRecord dest,
3871: int src, int n);
3872:
3873: public static final native void memmove(
3874: org.eclipse.swt.internal.carbon.Point dest, int[] src, int n);
3875:
3876: public static final native void memmove(int dest,
3877: HMHelpContentRec src, int n);
3878:
3879: public static final native void memmove(int dest, BitMap src, int n);
3880:
3881: public static final native void memmove(int dest, RGBColor src,
3882: int n);
3883:
3884: public static final native void memmove(Rect dest, int src, int n);
3885:
3886: public static final native void memmove(int dest, Rect src, int n);
3887:
3888: public static final native void memmove(char[] dest, byte[] src,
3889: int size);
3890:
3891: public static final native void memmove(int dest, ATSUTab src,
3892: int size);
3893:
3894: public static final native void memmove(int[] dest, TXNTab src,
3895: int size);
3896:
3897: public static final native int AXUIElementCreateWithHIObjectAndIdentifier(
3898: int inHIObject, long inIdentifier);
3899:
3900: public static final native void AXNotificationHIObjectNotify(
3901: int inNotification, int inHIObject, long inIdentifier);
3902:
3903: public static final native void AXUIElementGetIdentifier(
3904: int inUIElement, long[] outIdentifier);
3905:
3906: public static final native int AXUIElementGetDataBrowserItemInfo(
3907: int inElement, int inDataBrowser, int inDesiredInfoVersion,
3908: int[] outInfo);
3909:
3910: public static final native int AXValueCreate(int theType,
3911: CFRange range);
3912:
3913: public static final native int HIObjectSetAccessibilityIgnored(
3914: int inObject, boolean inIgnored);
3915:
3916: public static final int kEventClassAccessibility = ('a' << 24)
3917: + ('c' << 16) + ('c' << 8) + 'e';
3918:
3919: public static final int kEventAccessibleGetChildAtPoint = 1;
3920: public static final int kEventAccessibleGetFocusedChild = 2;
3921: public static final int kEventAccessibleGetAllAttributeNames = 21;
3922: public static final int kEventAccessibleGetAllParameterizedAttributeNames = 25;
3923: public static final int kEventAccessibleGetNamedAttribute = 22;
3924: public static final int kEventAccessibleSetNamedAttribute = 23;
3925: public static final int kEventAccessibleIsNamedAttributeSettable = 24;
3926: public static final int kEventAccessibleGetAllActionNames = 41;
3927: public static final int kEventAccessiblePerformNamedAction = 42;
3928: public static final int kEventAccessibleGetNamedActionDescription = 44;
3929:
3930: public static final int kEventParamAccessibleObject = ('a' << 24)
3931: + ('o' << 16) + ('b' << 8) + 'j';
3932: public static final int kEventParamAccessibleChild = ('a' << 24)
3933: + ('c' << 16) + ('h' << 8) + 'l';
3934: public static final int kEventParamAccessibleAttributeName = ('a' << 24)
3935: + ('t' << 16) + ('n' << 8) + 'm';
3936: public static final int kEventParamAccessibleAttributeNames = ('a' << 24)
3937: + ('t' << 16) + ('n' << 8) + 's';
3938: public static final int kEventParamAccessibleAttributeValue = ('a' << 24)
3939: + ('t' << 16) + ('v' << 8) + 'l';
3940: public static final int kEventParamAccessibleAttributeSettable = ('a' << 24)
3941: + ('t' << 16) + ('s' << 8) + 't';
3942: public static final int kEventParamAccessibleAttributeParameter = ('a' << 24)
3943: + ('t' << 16) + ('p' << 8) + 'a';
3944: public static final int kEventParamAccessibleActionName = ('a' << 24)
3945: + ('c' << 16) + ('n' << 8) + 'm';
3946: public static final int kEventParamAccessibleActionNames = ('a' << 24)
3947: + ('c' << 16) + ('n' << 8) + 's';
3948: public static final int kEventParamAccessibleActionDescription = ('a' << 24)
3949: + ('c' << 16) + ('d' << 8) + 's';
3950: public static final int kEventParamAccessibleEventQueued = ('a' << 24)
3951: + ('e' << 16) + ('q' << 8) + 'u';
3952:
3953: public static final String kAXApplicationRole = "AXApplication";
3954: public static final String kAXSystemWideRole = "AXSystemWide";
3955: public static final String kAXWindowRole = "AXWindow";
3956: public static final String kAXSheetRole = "AXSheet";
3957: public static final String kAXDrawerRole = "AXDrawer";
3958: public static final String kAXGrowAreaRole = "AXGrowArea";
3959: public static final String kAXImageRole = "AXImage";
3960: public static final String kAXUnknownRole = "AXUnknown";
3961: public static final String kAXButtonRole = "AXButton";
3962: public static final String kAXRadioButtonRole = "AXRadioButton";
3963: public static final String kAXCheckBoxRole = "AXCheckBox";
3964: public static final String kAXPopUpButtonRole = "AXPopUpButton";
3965: public static final String kAXMenuButtonRole = "AXMenuButton";
3966: public static final String kAXTabGroupRole = "AXTabGroup";
3967: public static final String kAXTableRole = "AXTable";
3968: public static final String kAXColumnRole = "AXColumn";
3969: public static final String kAXRowRole = "AXRow";
3970: public static final String kAXOutlineRole = "AXOutline";
3971: public static final String kAXBrowserRole = "AXBrowser";
3972: public static final String kAXScrollAreaRole = "AXScrollArea";
3973: public static final String kAXScrollBarRole = "AXScrollBar";
3974: public static final String kAXRadioGroupRole = "AXRadioGroup";
3975: public static final String kAXListRole = "AXList";
3976: public static final String kAXGroupRole = "AXGroup";
3977: public static final String kAXValueIndicatorRole = "AXValueIndicator";
3978: public static final String kAXComboBoxRole = "AXComboBox";
3979: public static final String kAXSliderRole = "AXSlider";
3980: public static final String kAXIncrementorRole = "AXIncrementor";
3981: public static final String kAXBusyIndicatorRole = "AXBusyIndicator";
3982: public static final String kAXProgressIndicatorRole = "AXProgressIndicator";
3983: public static final String kAXRelevanceIndicatorRole = "AXRelevanceIndicator";
3984: public static final String kAXToolbarRole = "AXToolbar";
3985: public static final String kAXDisclosureTriangleRole = "AXDisclosureTriangle";
3986: public static final String kAXTextFieldRole = "AXTextField";
3987: public static final String kAXTextAreaRole = "AXTextArea";
3988: public static final String kAXStaticTextRole = "AXStaticText";
3989: public static final String kAXMenuBarRole = "AXMenuBar";
3990: public static final String kAXMenuBarItemRole = "AXMenuBarItem";
3991: public static final String kAXMenuRole = "AXMenu";
3992: public static final String kAXMenuItemRole = "AXMenuItem";
3993: public static final String kAXSplitGroupRole = "AXSplitGroup";
3994: public static final String kAXSplitterRole = "AXSplitter";
3995: public static final String kAXColorWellRole = "AXColorWell";
3996: public static final String kAXTimeFieldRole = "AXTimeField";
3997: public static final String kAXDateFieldRole = "AXDateField";
3998: public static final String kAXHelpTagRole = "AXHelpTag";
3999: public static final String kAXMatteRole = "AXMatteRole";
4000: public static final String kAXDockItemRole = "AXDockItem";
4001: public static final String kAXLinkRole = "AXLink"; // as seen in Safari
4002:
4003: public static final String kAXCloseButtonSubrole = "AXCloseButton";
4004: public static final String kAXMinimizeButtonSubrole = "AXMinimizeButton";
4005: public static final String kAXZoomButtonSubrole = "AXZoomButton";
4006: public static final String kAXToolbarButtonSubrole = "AXToolbarButton";
4007: public static final String kAXSecureTextFieldSubrole = "AXSecureTextField";
4008: public static final String kAXTableRowSubrole = "AXTableRow";
4009: public static final String kAXOutlineRowSubrole = "AXOutlineRow";
4010: public static final String kAXUnknownSubrole = "AXUnknown";
4011: public static final String kAXStandardWindowSubrole = "AXStandardWindow";
4012: public static final String kAXDialogSubrole = "AXDialog";
4013: public static final String kAXSystemDialogSubrole = "AXSystemDialog";
4014: public static final String kAXFloatingWindowSubrole = "AXFloatingWindow";
4015: public static final String kAXSystemFloatingWindowSubrole = "AXSystemFloatingWindow";
4016: public static final String kAXIncrementArrowSubrole = "AXIncrementArrow";
4017: public static final String kAXDecrementArrowSubrole = "AXDecrementArrow";
4018: public static final String kAXIncrementPageSubrole = "AXIncrementPage";
4019: public static final String kAXDecrementPageSubrole = "AXDecrementPage";
4020: public static final String kAXSortButtonSubrole = "AXSortButton";
4021: public static final String kAXSearchFieldSubrole = "AXSearchField";
4022: public static final String kAXApplicationDockItemSubrole = "AXApplicationDockItem";
4023: public static final String kAXDocumentDockItemSubrole = "AXDocumentDockItem";
4024: public static final String kAXFolderDockItemSubrole = "AXFolderDockItem";
4025: public static final String kAXMinimizedWindowDockItemSubrole = "AXMinimizedWindowDockItem";
4026: public static final String kAXURLDockItemSubrole = "AXURLDockItem";
4027: public static final String kAXDockExtraDockItemSubrole = "AXDockExtraDockItem";
4028: public static final String kAXTrashDockItemSubrole = "AXTrashDockItem";
4029: public static final String kAXProcessSwitcherListSubrole = "AXProcessSwitcherList";
4030:
4031: //General attributes
4032: public static final String kAXRoleAttribute = "AXRole";
4033: public static final String kAXSubroleAttribute = "AXSubrole";
4034: public static final String kAXRoleDescriptionAttribute = "AXRoleDescription";
4035: public static final String kAXHelpAttribute = "AXHelp";
4036: public static final String kAXTitleAttribute = "AXTitle";
4037: public static final String kAXValueAttribute = "AXValue";
4038: public static final String kAXMinValueAttribute = "AXMinValue";
4039: public static final String kAXMaxValueAttribute = "AXMaxValue";
4040: public static final String kAXValueIncrementAttribute = "AXValueIncrement";
4041: public static final String kAXAllowedValuesAttribute = "AXAllowedValues";
4042: public static final String kAXEnabledAttribute = "AXEnabled";
4043: public static final String kAXFocusedAttribute = "AXFocused";
4044: public static final String kAXParentAttribute = "AXParent";
4045: public static final String kAXChildrenAttribute = "AXChildren";
4046: public static final String kAXSelectedChildrenAttribute = "AXSelectedChildren";
4047: public static final String kAXVisibleChildrenAttribute = "AXVisibleChildren";
4048: public static final String kAXWindowAttribute = "AXWindow";
4049: public static final String kAXTopLevelUIElementAttribute = "AXTopLevelUIElement";
4050: public static final String kAXPositionAttribute = "AXPosition";
4051: public static final String kAXSizeAttribute = "AXSize";
4052: public static final String kAXOrientationAttribute = "AXOrientation";
4053: public static final String kAXDescriptionAttribute = "AXDescription";
4054:
4055: // Text-specific attributes
4056: public static final String kAXSelectedTextAttribute = "AXSelectedText";
4057: public static final String kAXVisibleCharacterRangeAttribute = "AXVisibleCharacterRange";
4058: public static final String kAXSelectedTextRangeAttribute = "AXSelectedTextRange";
4059: public static final String kAXNumberOfCharactersAttribute = "AXNumberOfCharacters";
4060: public static final String kAXSharedTextUIElementsAttribute = "AXSharedTextUIElements";
4061: public static final String kAXSharedCharacterRangeAttribute = "AXSharedCharacterRange";
4062:
4063: // Window-specific attributes
4064: public static final String kAXMainAttribute = "AXMain";
4065: public static final String kAXMinimizedAttribute = "AXMinimized";
4066: public static final String kAXCloseButtonAttribute = "AXCloseButton";
4067: public static final String kAXZoomButtonAttribute = "AXZoomButton";
4068: public static final String kAXMinimizeButtonAttribute = "AXMinimizeButton";
4069: public static final String kAXToolbarButtonAttribute = "AXToolbarButton";
4070: public static final String kAXGrowAreaAttribute = "AXGrowArea";
4071: public static final String kAXProxyAttribute = "AXProxy";
4072: public static final String kAXModalAttribute = "AXModal";
4073: public static final String kAXDefaultButtonAttribute = "AXDefaultButton";
4074: public static final String kAXCancelButtonAttribute = "AXCancelButton";
4075:
4076: // Menu-specific attributes
4077: public static final String kAXMenuItemCmdCharAttribute = "AXMenuItemCmdChar";
4078: public static final String kAXMenuItemCmdVirtualKeyAttribute = "AXMenuItemCmdVirtualKey";
4079: public static final String kAXMenuItemCmdGlyphAttribute = "AXMenuItemCmdGlyph";
4080: public static final String kAXMenuItemCmdModifiersAttribute = "AXMenuItemCmdModifiers";
4081: public static final String kAXMenuItemMarkCharAttribute = "AXMenuItemMarkChar";
4082: public static final String kAXMenuItemPrimaryUIElementAttribute = "AXMenuItemPrimaryUIElement";
4083:
4084: // Application-specific attributes
4085: public static final String kAXMenuBarAttribute = "AXMenuBar";
4086: public static final String kAXWindowsAttribute = "AXWindows";
4087: public static final String kAXFrontmostAttribute = "AXFrontmost";
4088: public static final String kAXHiddenAttribute = "AXHidden";
4089: public static final String kAXMainWindowAttribute = "AXMainWindow";
4090: public static final String kAXFocusedWindowAttribute = "AXFocusedWindow";
4091: public static final String kAXFocusedUIElementAttribute = "AXFocusedUIElement";
4092:
4093: // Miscellaneous attributes
4094: public static final String kAXHeaderAttribute = "AXHeader";
4095: public static final String kAXEditedAttribute = "AXEdited";
4096: public static final String kAXValueWrapsAttribute = "AXValueWraps";
4097: public static final String kAXTabsAttribute = "AXTabs";
4098: public static final String kAXTitleUIElementAttribute = "AXTitleUIElement";
4099: public static final String kAXHorizontalScrollBarAttribute = "AXHorizontalScrollBar";
4100: public static final String kAXVerticalScrollBarAttribute = "AXVerticalScrollBar";
4101: public static final String kAXOverflowButtonAttribute = "AXOverflowButton";
4102: public static final String kAXFilenameAttribute = "AXFilename";
4103: public static final String kAXExpandedAttribute = "AXExpanded";
4104: public static final String kAXSelectedAttribute = "AXSelected";
4105: public static final String kAXSplittersAttribute = "AXSplitters";
4106: public static final String kAXNextContentsAttribute = "AXNextContents";
4107: public static final String kAXDocumentAttribute = "AXDocument";
4108: public static final String kAXDecrementButtonAttribute = "AXDecrementButton";
4109: public static final String kAXIncrementButtonAttribute = "AXIncrementButton";
4110: public static final String kAXPreviousContentsAttribute = "AXPreviousContents";
4111: public static final String kAXContentsAttribute = "AXContents";
4112: public static final String kAXIncrementorAttribute = "AXIncrementor";
4113: public static final String kAXHourFieldAttribute = "AXHourField";
4114: public static final String kAXMinuteFieldAttribute = "AXMinuteField";
4115: public static final String kAXSecondFieldAttribute = "AXSecondField";
4116: public static final String kAXAMPMFieldAttribute = "AXAMPMField";
4117: public static final String kAXDayFieldAttribute = "AXDayField";
4118: public static final String kAXMonthFieldAttribute = "AXMonthField";
4119: public static final String kAXYearFieldAttribute = "AXYearField";
4120: public static final String kAXColumnTitleAttribute = "AXColumnTitles";
4121: public static final String kAXURLAttribute = "AXURL";
4122: public static final String kAXLabelUIElementsAttribute = "AXLabelUIElements";
4123: public static final String kAXLabelValueAttribute = "AXLabelValue";
4124: public static final String kAXShownMenuUIElementAttribute = "AXShownMenuUIElement";
4125: public static final String kAXServesAsTitleForUIElementsAttribute = "AXServesAsTitleForUIElements";
4126: public static final String kAXLinkedUIElementsAttribute = "AXLinkedUIElements";
4127:
4128: // Table and outline view attributes
4129: public static final String kAXRowsAttribute = "AXRows";
4130: public static final String kAXVisibleRowsAttribute = "AXVisibleRows";
4131: public static final String kAXSelectedRowsAttribute = "AXSelectedRows";
4132: public static final String kAXColumnsAttribute = "AXColumns";
4133: public static final String kAXVisibleColumnsAttribute = "AXVisibleColumns";
4134: public static final String kAXSelectedColumnsAttribute = "AXSelectedColumns";
4135: public static final String kAXSortDirectionAttribute = "AXSortDirection";
4136: public static final String kAXColumnHeaderUIElementsAttribute = "AXColumnHeaderUIElements";
4137: public static final String kAXIndexAttribute = "AXIndex";
4138: public static final String kAXDisclosingAttribute = "AXDisclosing";
4139: public static final String kAXDisclosedRowsAttribute = "AXDisclosedRows";
4140: public static final String kAXDisclosedByRowAttribute = "AXDisclosedByRow";
4141:
4142: // Matte attributes
4143: public static final String kAXMatteHoleAttribute = "AXMatteHole";
4144: public static final String kAXMatteContentUIElementAttribute = "AXMatteContentUIElement";
4145:
4146: // Dock attributes
4147: public static final String kAXIsApplicationRunningAttribute = "AXIsApplicationRunning";
4148:
4149: // System-wide attributes
4150: public static final String kAXFocusedApplicationAttribute = "AXFocusedApplication";
4151:
4152: // Text-suite parameterized attributes
4153: public static final String kAXLineForIndexParameterizedAttribute = "AXLineForIndex";
4154: public static final String kAXRangeForLineParameterizedAttribute = "AXRangeForLine";
4155: public static final String kAXStringForRangeParameterizedAttribute = "AXStringForRange";
4156: public static final String kAXRangeForPositionParameterizedAttribute = "AXRangeForPosition";
4157: public static final String kAXRangeForIndexParameterizedAttribute = "AXRangeForIndex";
4158: public static final String kAXBoundsForRangeParameterizedAttribute = "AXBoundsForRange";
4159: public static final String kAXRTFForRangeParameterizedAttribute = "AXRTFForRange";
4160: public static final String kAXAttributedStringForRangeParameterizedAttribute = "AXAttributedStringForRange";
4161: public static final String kAXStyleRangeForIndexParameterizedAttribute = "AXStyleRangeForIndex";
4162: public static final String kAXInsertionPointLineNumberAttribute = "AXInsertionPointLineNumber";
4163:
4164: // Accessibility actions.
4165: public static final String kAXPressAction = "AXPress";
4166: public static final String kAXIncrementAction = "AXIncrement";
4167: public static final String kAXDecrementAction = "AXDecrement";
4168: public static final String kAXConfirmAction = "AXConfirm";
4169: public static final String kAXCancelAction = "AXCancel";
4170: public static final String kAXRaiseAction = "AXRaise";
4171: public static final String kAXShowMenuAction = "AXShowMenu";
4172:
4173: // Focus notifications
4174: public static final String kAXMainWindowChangedNotification = "AXMainWindowChanged";
4175: public static final String kAXFocusedWindowChangedNotification = "AXFocusedWindowChanged";
4176: public static final String kAXFocusedUIElementChangedNotification = "AXFocusedUIElementChanged";
4177:
4178: // Application notifications
4179: public static final String kAXApplicationActivatedNotification = "AXApplicationActivated";
4180: public static final String kAXApplicationDeactivatedNotification = "AXApplicationDeactivated";
4181: public static final String kAXApplicationHiddenNotification = "AXApplicationHidden";
4182: public static final String kAXApplicationShownNotification = "AXApplicationShown";
4183:
4184: // Window notifications
4185: public static final String kAXWindowCreatedNotification = "AXWindowCreated";
4186: public static final String kAXWindowMovedNotification = "AXWindowMoved";
4187: public static final String kAXWindowResizedNotification = "AXWindowResized";
4188: public static final String kAXWindowMiniaturizedNotification = "AXWindowMiniaturized";
4189: public static final String kAXWindowDeminiaturizedNotification = "AXWindowDeminiaturized";
4190:
4191: // New drawer, sheet, and help tag notifications
4192: public static final String kAXDrawerCreatedNotification = "AXDrawerCreated";
4193: public static final String kAXSheetCreatedNotification = "AXSheetCreated";
4194: public static final String kAXHelpTagCreatedNotification = "AXHelpTagCreated";
4195:
4196: // Element notifications
4197: public static final String kAXValueChangedNotification = "AXValueChanged";
4198: public static final String kAXUIElementDestroyedNotification = "AXUIElementDestroyed";
4199:
4200: // Menu notifications
4201: public static final String kAXMenuOpenedNotification = "AXMenuOpened";
4202: public static final String kAXMenuClosedNotification = "AXMenuClosed";
4203: public static final String kAXMenuItemSelectedNotification = "AXMenuItemSelected";
4204:
4205: // Table and outline view notifications
4206: public static final String kAXRowCountChangedNotification = "AXRowCountChanged";
4207:
4208: // Miscellaneous notifications
4209: public static final String kAXSelectedChildrenChangedNotification = "AXSelectedChildrenChanged";
4210: public static final String kAXResizedNotification = "AXResized";
4211: public static final String kAXMovedNotification = "AXMoved";
4212: public static final String kAXCreatedNotification = "AXCreated";
4213:
4214: // AXValue types
4215: public static final int kAXValueCFRangeType = 4;
4216:
4217: // Error codes
4218: public static final int kAXErrorIllegalArgument = -25201;
4219: public static final int kAXErrorInvalidUIElement = -25202;
4220: public static final int kAXErrorInvalidUIElementObserver = -25203;
4221: public static final int kAXErrorCannotComplete = -25204;
4222: public static final int kAXErrorAttributeUnsupported = -25205;
4223: public static final int kAXErrorActionUnsupported = -25206;
4224: public static final int kAXErrorAPIDisabled = -25211;
4225: public static final int kAXErrorParameterizedAttributeUnsupported = -25213;
4226:
4227: }
|