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

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

?? dialog.java

?? 源碼為Eclipse開源開發平臺桌面開發工具SWT的源代碼,
?? JAVA
字號:
/******************************************************************************* * Copyright (c) 2000, 2003 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.widgets;import org.eclipse.swt.*;/** * This class is the abstract superclass of the classes * that represent the built in platform dialogs. * A <code>Dialog</code> typically contains other widgets * that are not accessible. A <code>Dialog</code> is not * a <code>Widget</code>. * <p> * This class can also be used as the abstract superclass * for user-designed dialogs. Such dialogs usually consist * of a Shell with child widgets. The basic template for a * user-defined dialog typically looks something like this: * <pre><code> * public class MyDialog extends Dialog { *	Object result; *		 *	public MyDialog (Shell parent, int style) { *		super (parent, style); *	} *	public MyDialog (Shell parent) { *		this (parent, 0); // your default style bits go here (not the Shell's style bits) *	} *	public Object open () { *		Shell parent = getParent(); *		Shell shell = new Shell(parent, SWT.DIALOG_TRIM | SWT.APPLICATION_MODAL); *		shell.setText(getText()); *		// Your code goes here (widget creation, set result, etc). *		shell.open(); *		Display display = parent.getDisplay(); *		while (!shell.isDisposed()) { *			if (!display.readAndDispatch()) display.sleep(); *		} *		return result; *	} * } * </pre></code> * <p> * Note: The <em>modality</em> styles supported by this class * must be treated as <em>HINT</em>s, because not all are * supported by every subclass on every platform. If a modality style * is not supported, it is "upgraded" to a more restrictive modality * style that is supported.  For example, if <code>PRIMARY_MODAL</code> * is not supported by a particular dialog, it would be upgraded to  * <code>APPLICATION_MODAL</code>. In addition, as is the case * for shells, the window manager for the desktop on which the * instance is visible has ultimate control over the appearance * and behavior of the instance, including its modality. * <dl> * <dt><b>Styles:</b></dt> * <dd>APPLICATION_MODAL, PRIMARY_MODAL, SYSTEM_MODAL</dd> * <dt><b>Events:</b></dt> * <dd>(none)</dd> * </dl> * * @see Shell */public abstract class Dialog {	int style;	Shell parent;	String title;/** * Constructs a new instance of this class given only its * parent. * * @param parent a shell which will be the parent of the new instance * * @exception IllegalArgumentException <ul> *    <li>ERROR_NULL_ARGUMENT - if the parent is null</li> * </ul> * @exception SWTException <ul> *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent</li> * </ul> */public Dialog (Shell parent) {	this (parent, SWT.PRIMARY_MODAL);}/** * Constructs a new instance of this class given its parent * and a style value describing its behavior and appearance. * <p> * The style value is either one of the style constants defined in * class <code>SWT</code> which is applicable to instances of this * class, or must be built by <em>bitwise OR</em>'ing together  * (that is, using the <code>int</code> "|" operator) two or more * of those <code>SWT</code> style constants. The class description * lists the style constants that are applicable to the class. * Style bits are also inherited from superclasses. * * @param parent a shell which will be the parent of the new instance * * @exception IllegalArgumentException <ul> *    <li>ERROR_NULL_ARGUMENT - if the parent is null</li> * </ul> * @exception SWTException <ul> *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent</li> * </ul> */public Dialog (Shell parent, int style) {	checkParent (parent);	this.parent = parent;	this.style = style;	title = "";}/** * Checks that this class can be subclassed. * <p> * IMPORTANT: See the comment in <code>Widget.checkSubclass()</code>. * </p> * * @exception SWTException <ul> *    <li>ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass</li> * </ul> * * @see Widget#checkSubclass */protected void checkSubclass () {	if (!Display.isValidClass (getClass ())) {		error (SWT.ERROR_INVALID_SUBCLASS);	}}/** * Throws an exception if the specified widget can not be * used as a parent for the receiver. * * @exception IllegalArgumentException <ul> *    <li>ERROR_NULL_ARGUMENT - if the parent is null</li> *    <li>ERROR_INVALID_ARGUMENT - if the parent is disposed</li> * </ul> * @exception SWTException <ul> *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent</li> * </ul> */void checkParent (Shell parent) {	if (parent == null) error (SWT.ERROR_NULL_ARGUMENT);	parent.checkWidget ();}/** * Does whatever dialog 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);}/** * Returns the receiver's parent, which must be a <code>Shell</code> * or null. * * @return the receiver's parent * * @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 Shell getParent () {	return parent;}/** * 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.  * </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 () {	return style;}/** * Returns the receiver's text, which is the string that the * window manager will typically display as the receiver's * <em>title</em>. If the text has not previously been set,  * returns an empty string. * * @return the text * * @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 String getText () {	return title;}/** * Sets the receiver's text, which is the string that the * window manager will typically display as the receiver's * <em>title</em>, to the argument, which must not be null.  * * @param text the new text * * @exception IllegalArgumentException <ul> *    <li>ERROR_NULL_ARGUMENT - if the text 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> */public void setText (String string) {	if (string == null) error (SWT.ERROR_NULL_ARGUMENT);	title = string;}}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧洲性图库| 国产精品 欧美精品| 久久成人综合网| 在线免费观看不卡av| xnxx国产精品| 午夜精品久久久久久久99水蜜桃| 国产露脸91国语对白| 欧美日韩国产不卡| 亚洲婷婷综合久久一本伊一区 | 奇米777欧美一区二区| 成人黄色免费短视频| 91精品蜜臀在线一区尤物| 亚洲欧洲日韩综合一区二区| 国产又黄又大久久| 91精品国产品国语在线不卡| 亚洲人成影院在线观看| 国产精品中文字幕一区二区三区| 91精品国产综合久久精品图片| 国产精品国产自产拍高清av王其 | 欧美大黄免费观看| 一区二区三区在线看| 成人激情免费电影网址| 国产亚洲成年网址在线观看| 男男成人高潮片免费网站| 欧美视频一区在线| 亚洲曰韩产成在线| 91福利在线导航| 一区二区三区在线观看视频 | 国产精品一区专区| 亚洲精品一区二区精华| 免费观看30秒视频久久| 欧美一区二区视频在线观看2020| 午夜视频一区二区三区| 欧美三级三级三级| 日本成人中文字幕| 欧美一区二区三级| 国模套图日韩精品一区二区| 精品盗摄一区二区三区| 精品一区二区av| 久久精品一区二区| 不卡区在线中文字幕| 国产精品不卡在线| 91搞黄在线观看| 性做久久久久久久久| 制服丝袜国产精品| 美国精品在线观看| 国产午夜精品一区二区| 成人综合在线视频| 亚洲欧美色一区| 欧美精品 日韩| 精品亚洲欧美一区| 国产精品美女久久久久aⅴ| 97精品国产露脸对白| 亚洲综合自拍偷拍| 在线播放欧美女士性生活| 精品在线一区二区| 中文字幕在线观看一区| 欧美在线视频不卡| 久久成人羞羞网站| 亚洲欧美另类久久久精品2019| 色综合久久久久综合体| 日韩电影免费在线| 亚洲国产精品国自产拍av| 在线观看日韩毛片| 韩日av一区二区| 一区二区在线免费| 精品国内片67194| 一本色道久久加勒比精品| 免费久久精品视频| 亚洲欧美欧美一区二区三区| 91精品国产综合久久久久久久| 国产成人av电影在线| 亚洲一区二区三区不卡国产欧美| 日韩欧美美女一区二区三区| 成人激情电影免费在线观看| 日韩中文字幕不卡| 亚洲国产精品成人久久综合一区| 欧美亚州韩日在线看免费版国语版| 免费在线观看视频一区| 亚洲欧美福利一区二区| 久久久久88色偷偷免费| 欧美三级一区二区| 不卡的av电影在线观看| 久久99久国产精品黄毛片色诱| 亚洲人xxxx| 久久久www成人免费无遮挡大片| 在线观看国产一区二区| 成人自拍视频在线观看| 久久国产乱子精品免费女| 亚洲综合一二区| 中文字幕一区二区三区不卡在线| 日韩精品专区在线影院观看| 在线视频国产一区| av在线不卡电影| 国产在线精品国自产拍免费| 亚洲高清三级视频| 亚洲欧美一区二区三区极速播放| 国产日韩欧美一区二区三区乱码| 欧美精品三级在线观看| 欧美伊人久久大香线蕉综合69| 成人免费观看视频| 国产精品一卡二卡| 黑人精品欧美一区二区蜜桃| 人人狠狠综合久久亚洲| 五月天欧美精品| 亚洲一二三四区不卡| 亚洲欧美日韩一区| 亚洲人午夜精品天堂一二香蕉| 中文字幕乱码一区二区免费| 亚洲精品在线电影| 日韩精品中文字幕一区| 日韩一区二区电影网| 欧美一区二区网站| 日韩亚洲电影在线| 日韩女优毛片在线| 精品国产免费一区二区三区香蕉| 欧美一区二区三区在线视频| 欧美人动与zoxxxx乱| 欧美色图免费看| 欧美日韩高清一区二区| 欧美视频一区在线| 欧美一区国产二区| 日韩欧美自拍偷拍| 国产亚洲欧美日韩日本| 欧美国产一区二区| 亚洲免费看黄网站| 亚洲一二三四在线| 免费不卡在线观看| 国产一区不卡视频| av成人老司机| 欧美日韩亚洲综合| 日韩欧美成人午夜| 国产欧美日本一区视频| 国产精品成人午夜| 亚洲高清不卡在线| 久久99精品久久只有精品| 国产精品一区免费视频| 波多野结衣精品在线| 在线观看av一区| 日韩久久免费av| 国产精品久久久久久久久动漫 | 欧美在线色视频| 91精品国产高清一区二区三区蜜臀| 欧美成人欧美edvon| 国产亚洲人成网站| 亚洲国产一区二区视频| 激情五月激情综合网| 丁香桃色午夜亚洲一区二区三区| 91麻豆精品视频| 3d动漫精品啪啪一区二区竹菊| 精品国产麻豆免费人成网站| 中文字幕在线观看一区二区| 日一区二区三区| 不卡av免费在线观看| 91精品国产综合久久香蕉的特点| 精品成人佐山爱一区二区| 1000精品久久久久久久久| 丝袜诱惑亚洲看片 | 看片的网站亚洲| av色综合久久天堂av综合| 91精品午夜视频| 亚洲少妇中出一区| 精品写真视频在线观看| 91香蕉视频在线| 亚洲精品一区二区三区99| 亚洲一区二区精品视频| 国产馆精品极品| 91精品国产色综合久久久蜜香臀| 国产精品久久久久久久裸模 | 日韩免费电影一区| 一区二区三区成人在线视频| 韩国女主播一区| 91麻豆精品国产自产在线| 中文字幕视频一区| 国产一区二区三区在线看麻豆| 欧美视频在线一区二区三区| 中文字幕日韩一区| 国产成人啪午夜精品网站男同| 91麻豆精品国产无毒不卡在线观看| 亚洲女同一区二区| 国产+成+人+亚洲欧洲自线| 日韩亚洲国产中文字幕欧美| 亚洲成人综合在线| 色网综合在线观看| 日韩一区欧美小说| 丁香婷婷综合色啪| 国产女主播视频一区二区| 麻豆久久一区二区| 欧美一区二区黄| 亚洲国产成人porn| 欧美亚洲高清一区| 性欧美疯狂xxxxbbbb| 91国偷自产一区二区三区观看 | 午夜久久久久久久久| 色婷婷亚洲一区二区三区| 亚洲色图都市小说| 一本一道波多野结衣一区二区| 亚洲欧洲韩国日本视频| 懂色av噜噜一区二区三区av| 欧美激情综合五月色丁香|