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

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

?? tablecolumn.java

?? 源碼為Eclipse開源開發平臺桌面開發工具SWT的源代碼,
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
/******************************************************************************* * 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.widgets; import org.eclipse.swt.internal.win32.*;import org.eclipse.swt.*;import org.eclipse.swt.graphics.*;import org.eclipse.swt.events.*;/** * Instances of this class represent a column in a table widget. *  <dl> * <dt><b>Styles:</b></dt> * <dd>LEFT, RIGHT, CENTER</dd> * <dt><b>Events:</b></dt> * <dd> Move, Resize, Selection</dd> * </dl> * <p> * Note: Only one of the styles LEFT, RIGHT and CENTER may be specified. * </p><p> * IMPORTANT: This class is <em>not</em> intended to be subclassed. * </p> */public class TableColumn extends Item {	Table parent;	boolean resizable;/** * Constructs a new instance of this class given its parent * (which must be a <code>Table</code>) and a style value * describing its behavior and appearance. The item is added * to the end of the items maintained by its parent. * <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. * </p> * * @param parent a composite control which will be the parent of the new instance (cannot be null) * @param style the style of control to construct * * @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> *    <li>ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass</li> * </ul> * * @see SWT#LEFT * @see SWT#RIGHT * @see SWT#CENTER * @see Widget#checkSubclass * @see Widget#getStyle */public TableColumn (Table parent, int style) {	super (parent, checkStyle (style));	resizable = true;	this.parent = parent;	parent.createItem (this, parent.getColumnCount ());}/** * Constructs a new instance of this class given its parent * (which must be a <code>Table</code>), a style value * describing its behavior and appearance, and the index * at which to place it in the items maintained by its parent. * <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. * </p> * * @param parent a composite control which will be the parent of the new instance (cannot be null) * @param style the style of control to construct * @param index the index to store the receiver in its parent * * @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> *    <li>ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass</li> * </ul> * * @see SWT#LEFT * @see SWT#RIGHT * @see SWT#CENTER * @see Widget#checkSubclass * @see Widget#getStyle */public TableColumn (Table parent, int style, int index) {	super (parent, checkStyle (style));	resizable = true;	this.parent = parent;	parent.createItem (this, index);}/** * Adds the listener to the collection of listeners who will * be notified when the control is moved or resized, by sending * it one of the messages defined in the <code>ControlListener</code> * interface. * * @param listener the listener which should be notified * * @exception IllegalArgumentException <ul> *    <li>ERROR_NULL_ARGUMENT - if the listener 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 ControlListener * @see #removeControlListener */public void addControlListener(ControlListener listener) {	checkWidget ();	if (listener == null) error (SWT.ERROR_NULL_ARGUMENT);	TypedListener typedListener = new TypedListener (listener);	addListener (SWT.Resize,typedListener);	addListener (SWT.Move,typedListener);}/** * Adds the listener to the collection of listeners who will * be notified when the control is selected, by sending * it one of the messages defined in the <code>SelectionListener</code> * interface. * <p> * <code>widgetSelected</code> is called when the column header is selected. * <code>widgetDefaultSelected</code> is not called. * </p> * * @param listener the listener which should be notified * * @exception IllegalArgumentException <ul> *    <li>ERROR_NULL_ARGUMENT - if the listener 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 SelectionListener * @see #removeSelectionListener * @see SelectionEvent */public void addSelectionListener (SelectionListener listener) {	checkWidget ();	if (listener == null) error (SWT.ERROR_NULL_ARGUMENT);	TypedListener typedListener = new TypedListener (listener);	addListener (SWT.Selection,typedListener);	addListener (SWT.DefaultSelection,typedListener);}static int checkStyle (int style) {	return checkBits (style, SWT.LEFT, SWT.CENTER, SWT.RIGHT, 0, 0, 0);}protected void checkSubclass () {	if (!isValidSubclass ()) error (SWT.ERROR_INVALID_SUBCLASS);}/** * Returns a value which describes the position of the * text or image in the receiver. The value will be one of * <code>LEFT</code>, <code>RIGHT</code> or <code>CENTER</code>. * * @return the alignment  * * @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 getAlignment () {	checkWidget ();	if ((style & SWT.LEFT) != 0) return SWT.LEFT;	if ((style & SWT.CENTER) != 0) return SWT.CENTER;	if ((style & SWT.RIGHT) != 0) return SWT.RIGHT;	return SWT.LEFT;}String getNameText () {	return getText ();}/** * Returns the receiver's parent, which must be a <code>Table</code>. * * @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 Table getParent () {	checkWidget ();	return parent;}/** * Gets the resizable attribute. A column that is * not resizable cannot be dragged by the user but * may be resized by the programmer. * * @return the resizable attribute * * @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 boolean getResizable () {	checkWidget ();	return resizable;}/** * Gets the width of the receiver. * * @return the width * * @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 getWidth () {

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91啦中文在线观看| 欧美日韩国产电影| 日韩欧美色综合网站| 中文字幕在线不卡一区二区三区| 麻豆国产精品777777在线| 在线视频中文字幕一区二区| 一级女性全黄久久生活片免费| 成人91在线观看| 久久久精品综合| 国产资源精品在线观看| 久久亚洲精精品中文字幕早川悠里| 日韩av一区二区在线影视| 欧美久久久久久蜜桃| 亚洲成人精品一区| 欧洲生活片亚洲生活在线观看| 国产精品成人一区二区三区夜夜夜 | 日韩免费电影一区| 秋霞午夜av一区二区三区| 欧美精选一区二区| 丝袜a∨在线一区二区三区不卡 | 狠狠色伊人亚洲综合成人| 日韩精品综合一本久道在线视频| 久久精品国产网站| 日韩美女视频一区二区在线观看| 国产麻豆视频一区| 中文字幕+乱码+中文字幕一区| 国产精品久久久久久久岛一牛影视| 中文字幕欧美日韩一区| 亚洲色图欧美在线| 国产精品久久久久久久久搜平片| 亚洲精品大片www| 亚洲成人久久影院| 粉嫩久久99精品久久久久久夜| 成人国产精品免费观看| 91一区二区在线观看| 成人教育av在线| 国产aⅴ综合色| 欧美日韩另类一区| 26uuu久久天堂性欧美| 亚洲成av人片| 成人黄色小视频| 欧美www视频| 久久成人久久鬼色| 国内精品嫩模私拍在线| 国产在线观看免费一区| 日韩一区二区三区视频在线观看| 亚洲综合一区二区| 国产精品夜夜爽| 不卡的电视剧免费网站有什么| 欧美成人精品二区三区99精品| 中文字幕第一区二区| 亚洲国产一区二区三区青草影视| 日本午夜一区二区| av电影在线观看一区| 欧美色精品在线视频| 中文字幕在线视频一区| 另类小说一区二区三区| 欧美一区二区在线免费观看| 久久蜜桃一区二区| 日韩一级黄色片| 成人毛片老司机大片| 亚洲品质自拍视频| 色哟哟亚洲精品| 一区二区欧美精品| 日韩免费福利电影在线观看| 国产精品一区二区在线播放| 欧美激情资源网| 日本韩国欧美一区| 亚洲另类一区二区| 欧美视频一区二区三区| 视频一区视频二区中文字幕| 欧美一区日韩一区| 欧美国产综合色视频| 国产一区不卡视频| 国产精品网曝门| 国产成人综合亚洲91猫咪| 国产日韩精品一区二区三区在线| 粉嫩在线一区二区三区视频| 国产精品区一区二区三区| 91视频.com| 偷窥国产亚洲免费视频| 最新国产の精品合集bt伙计| 欧美日本韩国一区二区三区视频| 九一久久久久久| 久久亚洲欧美国产精品乐播| 国模大尺度一区二区三区| 国产免费成人在线视频| 日韩欧美不卡在线观看视频| 久久精品国产**网站演员| 国产精品入口麻豆九色| va亚洲va日韩不卡在线观看| 亚洲精品久久久久久国产精华液| 8x8x8国产精品| 在线观看视频一区二区| 91麻豆免费视频| 欧美日韩国产片| 免费看日韩精品| 奇米一区二区三区av| 久色婷婷小香蕉久久| 国内精品第一页| 成人性生交大片免费| 色狠狠一区二区| 538在线一区二区精品国产| 欧美大肚乱孕交hd孕妇| 日本一区二区三区免费乱视频| 亚洲欧洲在线观看av| 亚洲精品乱码久久久久久黑人| 亚洲成人久久影院| 麻豆免费精品视频| 国产91在线|亚洲| 色88888久久久久久影院按摩| 欧美三级电影在线看| 精品区一区二区| 国产精品国产三级国产aⅴ中文| 国产欧美精品一区| 亚洲男帅同性gay1069| 亚洲一区视频在线| 天堂成人免费av电影一区| 久久精品免费看| 成人一区二区三区在线观看| 在线亚洲高清视频| 91精品国产一区二区三区香蕉| 欧美精品一区二区蜜臀亚洲| 国产精品―色哟哟| 亚洲精品成人悠悠色影视| 亚洲日韩欧美一区二区在线| 性感美女久久精品| 国产美女在线观看一区| 97se亚洲国产综合在线| 91亚洲精品乱码久久久久久蜜桃| 欧美理论在线播放| 亚洲国产高清不卡| 午夜精品久久久久久久久久久| 美腿丝袜一区二区三区| 一区二区不卡在线播放| 国产精品影音先锋| 欧美日韩性生活| 久久久青草青青国产亚洲免观| 国产成人精品www牛牛影视| 亚洲午夜国产一区99re久久| 奇米777欧美一区二区| 91网站黄www| 精品国产乱码91久久久久久网站| 亚洲一区二区视频在线| 综合欧美亚洲日本| 午夜欧美大尺度福利影院在线看| 国产麻豆视频精品| 91精品麻豆日日躁夜夜躁| 日本一区二区免费在线| 亚洲一区二区精品视频| 国产a久久麻豆| 欧美一区二区三区视频在线| 国产欧美日韩麻豆91| 韩国欧美国产一区| 欧美吞精做爰啪啪高潮| 国产嫩草影院久久久久| 日本欧美在线看| 一本大道综合伊人精品热热| 欧美激情艳妇裸体舞| 奇米精品一区二区三区在线观看 | 欧美激情一区二区三区全黄| 亚洲在线视频网站| 成人国产精品免费观看| 欧美一区二区三区在线视频| 香蕉成人啪国产精品视频综合网| 成人理论电影网| 精品噜噜噜噜久久久久久久久试看| 亚洲综合网站在线观看| 99re在线精品| 国产精品天天看| 精品一区二区精品| 3751色影院一区二区三区| 一区二区在线观看视频| 91传媒视频在线播放| 亚洲欧美激情小说另类| 成人av免费网站| 欧美经典一区二区| 奇米色777欧美一区二区| 日韩午夜av电影| 免费人成网站在线观看欧美高清| 欧美最新大片在线看| 亚洲乱码国产乱码精品精小说| 91在线一区二区三区| 国产精品天干天干在观线| 国产成人午夜视频| 久久久久久一二三区| 精品一区二区国语对白| 国产精品午夜春色av| 成人免费视频一区| 日本一区二区三区在线不卡| 国产精品系列在线观看| 日韩精品一区二区三区中文不卡| 同产精品九九九| 欧美日韩一级片在线观看| 亚洲午夜影视影院在线观看| 欧美日韩中文一区| 另类小说视频一区二区| wwwwxxxxx欧美| 99国产精品久久| 亚洲精选一二三|