亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? callback.java

?? 源碼為Eclipse開源開發平臺桌面開發工具SWT的源代碼,
?? JAVA
字號:
/******************************************************************************* * Copyright (c) 2000, 2004 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html *  * Contributors: *     IBM Corporation - initial API and implementation *******************************************************************************/package org.eclipse.swt.internal;/** * Instances of this class represent entry points into Java * which can be invoked from operating system level callback * routines. * <p> * IMPORTANT: A callback is only valid when invoked on the * thread which created it. The results are undefined (and * typically bad) when a callback is passed out to the  * operating system (or other code) in such a way that the * callback is called from a different thread. */public class Callback {		Object object;	String method, signature;	int argCount;	int /*long*/ address;	boolean isStatic, isArrayBased;	/* Load the SWT library */	static {		Library.loadLibrary ("swt"); //$NON-NLS-1$	}	static final int PTR_SIZEOF = PTR_sizeof();	static final String PTR_SIGNATURE = PTR_SIZEOF == 4 ? "I" : "J"; //$NON-NLS-1$  //$NON-NLS-2$	static final String SIGNATURE_0 = getSignature(0);	static final String SIGNATURE_1 = getSignature(1);	static final String SIGNATURE_2 = getSignature(2);	static final String SIGNATURE_3 = getSignature(3);	static final String SIGNATURE_4 = getSignature(4);	static final String SIGNATURE_N = "(["+PTR_SIGNATURE+")"+PTR_SIGNATURE; //$NON-NLS-1$  //$NON-NLS-2$/** * Constructs a new instance of this class given an object * to send the message to, a string naming the method to * invoke and an argument count. Note that, if the object * is an instance of <code>Class</code> it is assumed that * the method is a static method on that class. * * @param object the object to send the message to * @param method the name of the method to invoke * @param argCount the number of arguments that the method takes */public Callback (Object object, String method, int argCount) {	this (object, method, argCount, false);}/** * Constructs a new instance of this class given an object * to send the message to, a string naming the method to * invoke, an argument count and a flag indicating whether * or not the arguments will be passed in an array. Note  * that, if the object is an instance of <code>Class</code> * it is assumed that the method is a static method on that * class. * * @param object the object to send the message to * @param method the name of the method to invoke * @param argCount the number of arguments that the method takes * @param isArrayBased <code>true</code> if the arguments should be passed in an array and false otherwise */public Callback (Object object, String method, int argCount, boolean isArrayBased) {	/* Set the callback fields */	this.object = object;	this.method = method;	this.argCount = argCount;	isStatic = object instanceof Class;	this.isArrayBased = isArrayBased;		/* Inline the common cases */	if (isArrayBased) {		signature = SIGNATURE_N;	} else {		switch (argCount) {			case 0: signature = SIGNATURE_0; break; //$NON-NLS-1$			case 1: signature = SIGNATURE_1; break; //$NON-NLS-1$			case 2: signature = SIGNATURE_2; break; //$NON-NLS-1$			case 3: signature = SIGNATURE_3; break; //$NON-NLS-1$			case 4: signature = SIGNATURE_4; break; //$NON-NLS-1$			default:				signature = getSignature(argCount);		}	}		/* Bind the address */	address = bind (this);}static final native int PTR_sizeof ();/** * Allocates the native level resources associated with the * callback. This method is only invoked from within the * constructor for the argument. * * @param callback the callback to bind */static native synchronized int /*long*/ bind (Callback callback);/** * Releases the native level resources associated with the callback, * and removes all references between the callback and * other objects. This helps to prevent (bad) application code * from accidentally holding onto extraneous garbage. */public void dispose () {	if (object == null) return;	unbind (this);	object = method = signature = null;	address = 0;}/** * Returns the address of a block of machine code which will * invoke the callback represented by the receiver. * * @return the callback address */public int /*long*/ getAddress () {	return address;}/** * Returns the SWT platform name. * * @return the platform name of the currently running SWT */public static native String getPlatform ();/** * Returns the number of times the system has been recursively entered * through a callback. * <p> * Note: This should not be called by application code. * </p> *  * @return the entry count *  * @since 2.1 */public static native int getEntryCount ();static String getSignature(int argCount) {	String signature = "("; //$NON-NLS-1$	for (int i = 0; i < argCount; i++) signature += PTR_SIGNATURE;	signature += ")" + PTR_SIGNATURE; //$NON-NLS-1$	return signature;}/** * Indicates whether or not callbacks which are triggered at the * native level should cause the messages described by the matching * <code>Callback</code> objects to be invoked. This method is used * to safely shut down SWT when it is run within environments * which can generate spurious events. * <p> * Note: This should not be called by application code. * </p> * * @param enable true if callbacks should be invoked */public static final native synchronized void setEnabled (boolean enable);/** * Returns whether or not callbacks which are triggered at the * native level should cause the messages described by the matching * <code>Callback</code> objects to be invoked. This method is used * to safely shut down SWT when it is run within environments * which can generate spurious events. * <p> * Note: This should not be called by application code. * </p> * * @return true if callbacks should not be invoked */public static final native synchronized boolean getEnabled ();/** * This might be called directly from native code in environments * which can generate spurious events. Check before removing it. * * @deprecated * * @param ignore true if callbacks should not be invoked */static final void ignoreCallbacks (boolean ignore) {	setEnabled (!ignore);} /** * Immediately wipes out all native level state associated * with <em>all</em> callbacks. * <p> * <b>WARNING:</b> This operation is <em>extremely</em> dangerous, * and should never be performed by application code. * </p> */public static final native synchronized void reset ();/** * Releases the native level resources associated with the callback. * * @see #dispose */static final native synchronized void unbind (Callback callback);}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一区二区三区免费大片| 欧洲激情一区二区| 视频在线观看91| 夜夜操天天操亚洲| 一级日本不卡的影视| 国产精品久久久久久久久晋中| 久久久精品影视| 久久九九99视频| 国产三级精品三级在线专区| 国产日韩三级在线| 国产精品久久久久影院老司| 国产精品久久久久影院| 国产精品美女久久久久久久久 | 欧美va日韩va| 2017欧美狠狠色| 国产亚洲一区字幕| 国产精品乱码久久久久久| 中文字幕在线观看一区| 亚洲欧美日本韩国| 图片区小说区国产精品视频| 日韩电影在线一区| 国产一区91精品张津瑜| 国产成人免费高清| 欧美在线免费播放| 91精品国产综合久久蜜臀| 亚洲精品一区二区三区蜜桃下载 | 国内精品在线播放| 成人午夜激情在线| 91久久奴性调教| 欧美一二三四区在线| 国产欧美日韩在线视频| 亚洲免费观看高清完整版在线观看熊| 亚洲一卡二卡三卡四卡无卡久久 | 成人手机在线视频| 欧美日韩亚洲丝袜制服| 精品国产1区二区| 国产精品国产成人国产三级 | 亚洲一区二区精品视频| 国产精品白丝jk黑袜喷水| 在线免费亚洲电影| 久久久精品国产免大香伊| 中文字幕一区二区三区在线播放| 国产精品白丝在线| 蜜桃av噜噜一区| 色综合久久综合中文综合网| 日韩欧美亚洲一区二区| 综合久久国产九一剧情麻豆| 日日摸夜夜添夜夜添精品视频 | 美女mm1313爽爽久久久蜜臀| 成人sese在线| 欧美大白屁股肥臀xxxxxx| 国产精品不卡一区| 久久精品国产99久久6| 在线日韩av片| 久久综合久久综合亚洲| 香蕉成人伊视频在线观看| 成人免费看片app下载| 日韩免费性生活视频播放| 亚洲精选一二三| 成人网男人的天堂| 26uuu成人网一区二区三区| 亚洲大尺度视频在线观看| av亚洲精华国产精华精| 久久毛片高清国产| 麻豆国产91在线播放| 欧美色综合网站| 综合av第一页| av激情亚洲男人天堂| 国产日韩欧美一区二区三区乱码| 久久激情综合网| 日韩午夜中文字幕| 日韩电影在线看| 欧美老肥妇做.爰bbww| 一区二区三区国产精华| 91丝袜高跟美女视频| 国产精品短视频| 91在线高清观看| 亚洲欧洲另类国产综合| 99久久精品国产麻豆演员表| 欧美国产成人在线| 成人丝袜视频网| 国产精品成人一区二区艾草| 不卡av免费在线观看| 国产精品成人免费在线| jizzjizzjizz欧美| 亚洲欧美日韩国产综合| 欧美性xxxxx极品少妇| 一级女性全黄久久生活片免费| 色8久久精品久久久久久蜜| 亚洲综合色噜噜狠狠| 欧美色综合天天久久综合精品| 夜夜嗨av一区二区三区网页 | 国产成人精品亚洲午夜麻豆| wwww国产精品欧美| 国产成人综合精品三级| 亚洲欧美自拍偷拍| 欧美日免费三级在线| 喷水一区二区三区| 久久精品在这里| 99久久综合狠狠综合久久| 亚洲一区在线观看网站| 日韩一区二区中文字幕| 国产jizzjizz一区二区| 亚洲九九爱视频| 日韩美女天天操| youjizz国产精品| 亚洲成a人v欧美综合天堂| 久久综合久久久久88| 色综合天天综合色综合av| 免费在线观看精品| 亚洲欧洲精品成人久久奇米网| 欧美私模裸体表演在线观看| 美国欧美日韩国产在线播放| 国产精品青草综合久久久久99| 国产91丝袜在线播放0| 91黄色免费版| 免费高清在线一区| 亚洲另类春色校园小说| 在线成人免费视频| 狠狠色丁香九九婷婷综合五月| 精品国产免费一区二区三区香蕉| 91同城在线观看| 日本伊人色综合网| 国产精品网站在线| 欧美日本一区二区在线观看| 日韩av网站免费在线| 亚洲欧美另类综合偷拍| 欧美一级黄色录像| 99精品国产一区二区三区不卡| 日日噜噜夜夜狠狠视频欧美人| 日韩欧美国产综合在线一区二区三区| 色综合久久久久| 精品一区中文字幕| 亚洲一区在线视频| 国产亚洲欧美中文| 99在线精品视频| 国产最新精品免费| 亚洲国产精品久久不卡毛片 | 亚洲综合丁香婷婷六月香| 欧美成人福利视频| 99国内精品久久| 懂色av中文一区二区三区| 视频一区二区中文字幕| 欧美国产乱子伦| 精品国产伦一区二区三区观看体验 | 青青草国产成人av片免费| 国产精品丝袜91| 国产精品无人区| 精品国产伦一区二区三区观看方式 | 麻豆91精品91久久久的内涵| 日韩美女精品在线| 亚洲精品在线电影| 在线播放亚洲一区| 日本电影亚洲天堂一区| 成人免费视频app| 激情成人综合网| 一区二区成人在线视频| 亚洲综合色成人| 亚洲日本在线天堂| 日韩欧美亚洲国产另类| 白白色亚洲国产精品| 日本欧美加勒比视频| 国产日韩欧美综合在线| 国产精品国产自产拍高清av| 久久综合国产精品| 精品日韩成人av| 欧美精品一区二区三区很污很色的 | 黑人巨大精品欧美黑白配亚洲| 婷婷亚洲久悠悠色悠在线播放 | 国产不卡视频一区二区三区| 精品制服美女久久| 精品在线免费观看| 成人一区二区三区视频在线观看| 国产真实乱子伦精品视频| 捆绑变态av一区二区三区| 蜜桃久久av一区| 日本成人中文字幕| 风间由美中文字幕在线看视频国产欧美| 极品少妇一区二区| 国产在线一区观看| 国产美女视频91| 国产乱人伦偷精品视频免下载 | 美女视频一区二区| 免费成人结看片| 精品一区二区三区免费观看| 免费成人性网站| 国产一本一道久久香蕉| 精品一区二区三区免费| 国产精品一二三四五| 国产激情偷乱视频一区二区三区| 国产成人精品一区二| 波波电影院一区二区三区| 欧美日韩mp4| 久久夜色精品国产噜噜av| 国产精品久久久久久久久图文区| 一区二区三区在线观看视频| 日韩成人av影视| 懂色中文一区二区在线播放| 91影院在线免费观看| 欧美最新大片在线看|