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

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

?? widget.java

?? 源碼為Eclipse開源開發平臺桌面開發工具SWT的源代碼,
?? JAVA
?? 第 1 頁 / 共 3 頁
字號:
 * * @see #addDisposeListener * @see #removeDisposeListener * @see #checkWidget */public void dispose () {	/*	* Note:  It is valid to attempt to dispose a widget	* more than once.  If this happens, fail silently.	*/	if (isDisposed ()) return;	if (!isValidThread ()) error (SWT.ERROR_THREAD_INVALID_ACCESS);	releaseChild ();	releaseWidget ();	destroyWidget ();}/** * Does whatever widget specific cleanup is required, and then * uses the code in <code>SWTError.error</code> to handle the error. * * @param code the descriptive error code * * @see SWTError#error */void error (int code) {	SWT.error(code);}boolean filters (int eventType) {	return display.filters (eventType);}/** * Returns the application defined widget data associated * with the receiver, or null if it has not been set. The * <em>widget data</em> is a single, unnamed field that is * stored with every widget.  * <p> * Applications may put arbitrary objects in this field. If * the object stored in the widget data needs to be notified * when the widget is disposed of, it is the application's * responsibility to hook the Dispose event on the widget and * do so. * </p> * * @return the widget data * * @exception SWTException <ul> *    <li>ERROR_WIDGET_DISPOSED - when the receiver has been disposed</li> *    <li>ERROR_THREAD_INVALID_ACCESS - when called from the wrong thread</li> * </ul> * * @see #setData */public Object getData () {	checkWidget();	return (state & KEYED_DATA) != 0 ? ((Object []) data) [0] : data;}/** * Returns the application defined property of the receiver * with the specified name, or null if it has not been set. * <p> * Applications may have associated arbitrary objects with the * receiver in this fashion. If the objects stored in the * properties need to be notified when the widget is disposed * of, it is the application's responsibility to hook the * Dispose event on the widget and do so. * </p> * * @param	key the name of the property * @return the value of the property or null if it has not been set * * @exception IllegalArgumentException <ul> *    <li>ERROR_NULL_ARGUMENT - if the key is null</li> * </ul> * @exception SWTException <ul> *    <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> * * @see #setData */public Object getData (String key) {	checkWidget();	if (key == null) error (SWT.ERROR_NULL_ARGUMENT);	if ((state & KEYED_DATA) != 0) {		Object [] table = (Object []) data;		for (int i=1; i<table.length; i+=2) {			if (key.equals (table [i])) return table [i+1];		}	}	return null;}/** * Returns the <code>Display</code> that is associated with * the receiver. * <p> * A widget's display is either provided when it is created * (for example, top level <code>Shell</code>s) or is the * same as its parent's display. * </p> * * @return the receiver's display * * @exception SWTException <ul> *    <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> */public Display getDisplay () {	Display display = this.display;	if (display == null) error (SWT.ERROR_WIDGET_DISPOSED);	return display;}/** * Returns the name of the widget. This is the name of * the class without the package name. * * @return the name of the widget */String getName () {	String string = getClass ().getName ();	int index = string.lastIndexOf ('.');	if (index == -1) return string;	return string.substring (index + 1, string.length ());}/* * Returns a short printable representation for the contents * of a widget. For example, a button may answer the label * text. This is used by <code>toString</code> to provide a * more meaningful description of the widget. * * @return the contents string for the widget * * @see #toString */String getNameText () {	return ""; //$NON-NLS-1$}/** * Returns the receiver's style information. * <p> * Note that the value which is returned by this method <em>may * not match</em> the value which was provided to the constructor * when the receiver was created. This can occur when the underlying * operating system does not support a particular combination of * requested styles. For example, if the platform widget used to * implement a particular SWT widget always has scroll bars, the * result of calling this method would always have the * <code>SWT.H_SCROLL</code> and <code>SWT.V_SCROLL</code> bits set. * </p> * * @return the style bits * * @exception SWTException <ul> *    <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> */public int getStyle () {	checkWidget();	return style;}/* * Returns <code>true</code> if the specified eventType is * hooked, and <code>false</code> otherwise. Implementations * of SWT can avoid creating objects and sending events * when an event happens in the operating system but * there are no listeners hooked for the event. * * @param eventType the event to be checked * * @return <code>true</code> when the eventType is hooked and <code>false</code> otherwise * * @see #isListening */boolean hooks (int eventType) {	if (eventTable == null) return false;	return eventTable.hooks (eventType);}/** * Returns <code>true</code> if the widget has been disposed, * and <code>false</code> otherwise. * <p> * This method gets the dispose state for the widget. * When a widget has been disposed, it is an error to * invoke any other method using the widget. * </p> * * @return <code>true</code> when the widget is disposed and <code>false</code> otherwise */public boolean isDisposed () {	return (state & DISPOSED) != 0;}/** * Returns <code>true</code> if there are any listeners * for the specified event type associated with the receiver, * and <code>false</code> otherwise. * * @param	eventType the type of event * @return true if the event is hooked * * @exception SWTException <ul> *    <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> */protected boolean isListening (int eventType) {	checkWidget();	return hooks (eventType);}/* * Returns <code>true</code> when subclassing is * allowed and <code>false</code> otherwise * * @return <code>true</code> when subclassing is allowed and <code>false</code> otherwise */boolean isValidSubclass () {	return Display.isValidClass (getClass ());}/* * Returns <code>true</code> when the current thread is * the thread that created the widget and <code>false</code> * otherwise. * * @return <code>true</code> when the current thread is the thread that created the widget and <code>false</code> otherwise */boolean isValidThread () {	return getDisplay ().isValidThread ();}/** * Notifies all of the receiver's listeners for events * of the given type that one such event has occurred by * invoking their <code>handleEvent()</code> method. * * @param eventType the type of event which has occurred * @param event the event data * * @exception SWTException <ul> *    <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> */public void notifyListeners (int eventType, Event event) {	checkWidget();	if (event == null) event = new Event ();	sendEvent (eventType, event);}void postEvent (int eventType) {	sendEvent (eventType, null, false);}void postEvent (int eventType, Event event) {	sendEvent (eventType, event, false);}/* * Releases the receiver, a child in a widget hierarchy, * from its parent. * <p> * When a widget is destroyed, it may be necessary to remove * it from an internal data structure of the parent. When * a widget has no handle, it may also be necessary for the * parent to hide the widget or otherwise indicate that the * widget has been disposed. For example, disposing a menu * bar requires that the menu bar first be released from the * shell when the menu bar is active.  This could not be done * in <code>destroyWidget</code> for the menu bar because the * parent shell as well as other fields have been null'd out * already by <code>releaseWidget</code>. * </p> * This method is called first when a widget is disposed. *  * @see #dispose * @see #releaseChild * @see #releaseWidget * @see #releaseHandle */void releaseChild () {}/* * Releases the widget's handle by zero'ing it out. * Does not destroy or release any operating system * resources. * <p> * This method is called after <code>releaseWidget</code> * or from <code>destroyWidget</code> when a widget is being * destroyed to ensure that the widget is marked as destroyed * in case the act of destroying the widget in the operating * system causes application code to run in callback that * could access the widget. * </p> * * @see #dispose * @see #releaseChild * @see #releaseWidget * @see #releaseHandle */void releaseHandle () {	state |= DISPOSED;	display = null;}void releaseResources () {	releaseWidget ();	releaseHandle ();}/* * Releases any internal resources back to the operating * system and clears all fields except the widget handle. * <p> * When a widget is destroyed, resources that were acquired * on behalf of the programmer need to be returned to the * operating system.  For example, if the widget made a * copy of an icon, supplied by the programmer, this copy * would be freed in <code>releaseWidget</code>.  Also, * to assist the garbage collector and minimize the amount * of memory that is not reclaimed when the programmer keeps * a reference to a disposed widget, all fields except the * handle are zero'd.  The handle is needed by <code>destroyWidget</code>. * </p> * <p> * Typically, a widget with children will broadcast this * message to all children so that they too can release their * resources.  The <code>releaseHandle</code> method is used * as part of this broadcast to zero the handle fields of the * children without calling <code>destroyWidget</code>.  In * this scenario, the children are actually destroyed later, * when the operating system destroys the widget tree. * </p> * This method is called after <code>releaseChild</code>. *  * @see #dispose * @see #releaseChild * @see #releaseWidget * @see #releaseHandle */void releaseWidget () {	sendEvent (SWT.Dispose);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美无乱码久久久免费午夜一区 | 色吊一区二区三区| 日本免费在线视频不卡一不卡二 | 91在线一区二区三区| 激情五月婷婷综合| 亚洲va国产天堂va久久en| 中文字幕一区二区三区四区不卡 | 亚洲丝袜精品丝袜在线| 日本一区二区免费在线 | 亚洲靠逼com| 日韩一区欧美小说| 亚洲欧美日韩在线播放| ...xxx性欧美| 日韩伦理av电影| 亚洲人妖av一区二区| 国产精品乱码人人做人人爱| 日本一区二区三区免费乱视频| 久久久久久99精品| 亚洲国产激情av| 国产精品久久久久久久久晋中| 国产精品美女久久久久av爽李琼| 中文字幕在线观看一区| 中文字幕巨乱亚洲| 亚洲女同ⅹxx女同tv| 亚洲精品视频在线看| 亚洲成av人在线观看| 天堂一区二区在线| 久久国产乱子精品免费女| 麻豆精品一二三| 国产一区二区三区免费在线观看| 国产精品一线二线三线精华| 成人av网站大全| 欧美中文字幕亚洲一区二区va在线| 在线观看网站黄不卡| 欧美日韩三级一区| 久久综合中文字幕| 亚洲欧洲美洲综合色网| 亚洲国产视频一区| 久草在线在线精品观看| 国产成人在线视频网站| 91福利精品视频| 精品成人一区二区三区| 综合久久一区二区三区| 日本不卡高清视频| 国产91清纯白嫩初高中在线观看 | 欧美日韩视频在线观看一区二区三区 | av不卡在线播放| 在线日韩一区二区| 精品国产网站在线观看| 综合网在线视频| 久久精品免费看| 波波电影院一区二区三区| 欧美日韩国产影片| 亚洲成人一区在线| 福利一区福利二区| 91精品国产综合久久久久久漫画| 国产日产精品1区| 日韩精彩视频在线观看| 99这里只有精品| 欧美电影免费观看高清完整版| 中文字幕亚洲综合久久菠萝蜜| 日本va欧美va瓶| 91福利在线导航| 中文字幕乱码亚洲精品一区| 青草av.久久免费一区| 91影院在线免费观看| 日韩欧美国产1| 亚洲电影在线播放| 成人动漫一区二区三区| 日韩欧美一区二区三区在线| 一级特黄大欧美久久久| 懂色av中文一区二区三区 | 图片区小说区国产精品视频| 成人理论电影网| 久久先锋影音av鲁色资源| 五月婷婷综合在线| 欧美制服丝袜第一页| 中文字幕一区二区在线观看 | 日韩av高清在线观看| 成人免费av资源| 久久免费电影网| 国产原创一区二区| 精品人在线二区三区| 丝袜美腿亚洲综合| 欧美日韩高清影院| 亚洲与欧洲av电影| 91在线丨porny丨国产| 国产精品日日摸夜夜摸av| 国内精品久久久久影院色| 亚洲三级免费观看| a级精品国产片在线观看| 中文字幕免费在线观看视频一区| 狠狠色丁香婷婷综合| 精品国免费一区二区三区| 青青草国产成人99久久| 欧美一级爆毛片| 蜜臀91精品一区二区三区| 日韩欧美在线网站| 精品一区二区三区视频| 久久综合色8888| 国产成人精品亚洲午夜麻豆| 国产三区在线成人av| 成人免费看视频| 亚洲色图欧美激情| 91久久久免费一区二区| 亚洲国产成人精品视频| 日韩午夜在线观看| 狠狠色丁香久久婷婷综| 国产婷婷色一区二区三区四区| 成人免费av网站| 一区二区成人在线视频 | 国产成人自拍网| 中文字幕制服丝袜一区二区三区| 成人国产精品免费网站| 亚洲同性同志一二三专区| 久久久久久久久97黄色工厂| 国产.欧美.日韩| 亚洲综合偷拍欧美一区色| 欧美一级片免费看| 国产毛片精品国产一区二区三区| 欧美国产视频在线| 日本精品一区二区三区四区的功能| 亚洲国产欧美另类丝袜| 欧美精品一区二区三区高清aⅴ| 成人污视频在线观看| 亚洲成人精品在线观看| 久久久噜噜噜久噜久久综合| 色婷婷激情久久| 裸体健美xxxx欧美裸体表演| 中文字幕第一页久久| 欧美色图片你懂的| 国产精品原创巨作av| 亚洲男人天堂一区| 日韩欧美成人激情| 色综合久久六月婷婷中文字幕| 免费观看在线综合| 国产精品福利影院| 日韩欧美激情四射| 99热这里都是精品| 麻豆精品一区二区三区| 成人免费小视频| 日韩精品在线一区二区| 91蜜桃网址入口| 国产精品伊人色| 日本不卡视频在线| 中文字幕五月欧美| 久久久不卡网国产精品二区| 欧美日韩另类国产亚洲欧美一级| 国产一区二区三区香蕉| 亚洲va欧美va天堂v国产综合| 国产日韩欧美亚洲| 日韩亚洲欧美成人一区| 欧美午夜电影网| 99视频超级精品| 国产精品夜夜嗨| 麻豆精品视频在线| 亚洲成人自拍偷拍| 亚洲激情男女视频| 中文一区二区完整视频在线观看| 日韩片之四级片| 欧美日韩成人综合| 欧美综合久久久| 97超碰欧美中文字幕| 成人中文字幕在线| 国产一区二区三区久久久| 老司机精品视频一区二区三区| 亚洲福利一二三区| 亚洲成人在线网站| 午夜亚洲国产au精品一区二区| 综合中文字幕亚洲| 国产精品久久久久影视| 国产女同互慰高潮91漫画| 久久综合精品国产一区二区三区| 日韩欧美资源站| 久久综合给合久久狠狠狠97色69| 欧美一区二区三区播放老司机| 6080国产精品一区二区| 4hu四虎永久在线影院成人| 欧美精品欧美精品系列| 欧美精品国产精品| 日韩欧美色综合| 精品国产一区久久| 国产视频视频一区| 国产精品久久夜| 中文字幕综合网| 亚洲韩国一区二区三区| 亚洲一区在线观看网站| 亚洲成人精品一区二区| 免费欧美在线视频| 国产一区二区三区视频在线播放| 国产美女一区二区| 99久久精品免费看国产免费软件| 91视频在线观看免费| 欧洲一区二区三区在线| 欧美一区二区三区视频免费播放| 91精品国产91久久久久久一区二区| 日韩一区二区三区在线视频| 欧美xxxxx牲另类人与| 国产精品你懂的在线| 依依成人综合视频|