Mercurial > projects > dwt-linux
comparison dwt/custom/CTabFolder.d @ 259:c0d810de7093
Update SWT 3.4M7 to 3.4
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 29 Jun 2008 14:33:38 +0200 |
parents | cf113c9ff968 |
children |
comparison
equal
deleted
inserted
replaced
257:cc1d3de0e80b | 259:c0d810de7093 |
---|---|
1 /******************************************************************************* | 1 /******************************************************************************* |
2 * Copyright (c) 2000, 2007 IBM Corporation and others. | 2 * Copyright (c) 2000, 2008 IBM Corporation and others. |
3 * All rights reserved. This program and the accompanying materials | 3 * All rights reserved. This program and the accompanying materials |
4 * are made available under the terms of the Eclipse Public License v1.0 | 4 * are made available under the terms of the Eclipse Public License v1.0 |
5 * which accompanies this distribution, and is available at | 5 * which accompanies this distribution, and is available at |
6 * http://www.eclipse.org/legal/epl-v10.html | 6 * http://www.eclipse.org/legal/epl-v10.html |
7 * | 7 * |
76 * Note: Only one of the styles TOP and BOTTOM | 76 * Note: Only one of the styles TOP and BOTTOM |
77 * may be specified. | 77 * may be specified. |
78 * </p><p> | 78 * </p><p> |
79 * IMPORTANT: This class is <em>not</em> intended to be subclassed. | 79 * IMPORTANT: This class is <em>not</em> intended to be subclassed. |
80 * </p> | 80 * </p> |
81 * | |
82 * @see <a href="http://www.eclipse.org/swt/snippets/#ctabfolder">CTabFolder, CTabItem snippets</a> | |
83 * @see <a href="http://www.eclipse.org/swt/examples.php">DWT Example: CustomControlExample</a> | |
84 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> | |
81 */ | 85 */ |
82 | 86 |
83 public class CTabFolder : Composite { | 87 public class CTabFolder : Composite { |
84 | 88 |
85 /** | 89 /** |
2395 } | 2399 } |
2396 } | 2400 } |
2397 /** | 2401 /** |
2398 * Removes the listener. | 2402 * Removes the listener. |
2399 * | 2403 * |
2400 * @param listener the listener | 2404 * @param listener the listener which should no longer be notified |
2401 * | 2405 * |
2402 * @exception IllegalArgumentException <ul> | 2406 * @exception IllegalArgumentException <ul> |
2403 * <li>ERROR_NULL_ARGUMENT - if the listener is null</li> | 2407 * <li>ERROR_NULL_ARGUMENT - if the listener is null</li> |
2404 * </ul> | 2408 * </ul> |
2405 * | 2409 * |
2434 folderListeners = newTabListeners; | 2438 folderListeners = newTabListeners; |
2435 } | 2439 } |
2436 /** | 2440 /** |
2437 * Removes the listener. | 2441 * Removes the listener. |
2438 * | 2442 * |
2439 * @param listener the listener | 2443 * @param listener the listener which should no longer be notified |
2440 * | 2444 * |
2441 * @exception IllegalArgumentException <ul> | 2445 * @exception IllegalArgumentException <ul> |
2442 * <li>ERROR_NULL_ARGUMENT - if the listener is null</li> | 2446 * <li>ERROR_NULL_ARGUMENT - if the listener is null</li> |
2443 * </ul> | 2447 * </ul> |
2444 * | 2448 * |
3232 * Set the selection to the tab at the specified item. | 3236 * Set the selection to the tab at the specified item. |
3233 * | 3237 * |
3234 * @param item the tab item to be selected | 3238 * @param item the tab item to be selected |
3235 * | 3239 * |
3236 * @exception IllegalArgumentException <ul> | 3240 * @exception IllegalArgumentException <ul> |
3237 * <li>ERROR_NULL_ARGUMENT - if the listener is null</li> | 3241 * <li>ERROR_NULL_ARGUMENT - if the item is null</li> |
3238 * </ul> | 3242 * </ul> |
3239 * | 3243 * |
3240 * @exception DWTException <ul> | 3244 * @exception DWTException <ul> |
3241 * <li>ERROR_THREAD_INVALID_ACCESS when called from the wrong thread</li> | 3245 * <li>ERROR_THREAD_INVALID_ACCESS when called from the wrong thread</li> |
3242 * <li>ERROR_WIDGET_DISPOSED when the widget has been disposed</li> | 3246 * <li>ERROR_WIDGET_DISPOSED when the widget has been disposed</li> |