comparison dwt/custom/CTabFolder.d @ 246:fd9c62a2998e

Updater SWT 3.4M7 to 3.4
author Frank Benoit <benoit@tionex.de>
date Tue, 01 Jul 2008 10:15:59 +0200
parents 36f5cb12e1a2
children 349b8c12e243
comparison
equal deleted inserted replaced
245:d8c3d4a4f2b0 246:fd9c62a2998e
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 *
77 * Note: Only one of the styles TOP and BOTTOM 77 * Note: Only one of the styles TOP and BOTTOM
78 * may be specified. 78 * may be specified.
79 * </p><p> 79 * </p><p>
80 * IMPORTANT: This class is <em>not</em> intended to be subclassed. 80 * IMPORTANT: This class is <em>not</em> intended to be subclassed.
81 * </p> 81 * </p>
82 *
83 * @see <a href="http://www.eclipse.org/swt/snippets/#ctabfolder">CTabFolder, CTabItem snippets</a>
84 * @see <a href="http://www.eclipse.org/swt/examples.php">DWT Example: CustomControlExample</a>
85 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>
82 */ 86 */
83 87
84 public class CTabFolder : Composite { 88 public class CTabFolder : Composite {
85 89
86 /** 90 /**
2389 } 2393 }
2390 } 2394 }
2391 /** 2395 /**
2392 * Removes the listener. 2396 * Removes the listener.
2393 * 2397 *
2394 * @param listener the listener 2398 * @param listener the listener which should no longer be notified
2395 * 2399 *
2396 * @exception IllegalArgumentException <ul> 2400 * @exception IllegalArgumentException <ul>
2397 * <li>ERROR_NULL_ARGUMENT - if the listener is null</li> 2401 * <li>ERROR_NULL_ARGUMENT - if the listener is null</li>
2398 * </ul> 2402 * </ul>
2399 * 2403 *
2428 folderListeners = newTabListeners; 2432 folderListeners = newTabListeners;
2429 } 2433 }
2430 /** 2434 /**
2431 * Removes the listener. 2435 * Removes the listener.
2432 * 2436 *
2433 * @param listener the listener 2437 * @param listener the listener which should no longer be notified
2434 * 2438 *
2435 * @exception IllegalArgumentException <ul> 2439 * @exception IllegalArgumentException <ul>
2436 * <li>ERROR_NULL_ARGUMENT - if the listener is null</li> 2440 * <li>ERROR_NULL_ARGUMENT - if the listener is null</li>
2437 * </ul> 2441 * </ul>
2438 * 2442 *
3226 * Set the selection to the tab at the specified item. 3230 * Set the selection to the tab at the specified item.
3227 * 3231 *
3228 * @param item the tab item to be selected 3232 * @param item the tab item to be selected
3229 * 3233 *
3230 * @exception IllegalArgumentException <ul> 3234 * @exception IllegalArgumentException <ul>
3231 * <li>ERROR_NULL_ARGUMENT - if the listener is null</li> 3235 * <li>ERROR_NULL_ARGUMENT - if the item is null</li>
3232 * </ul> 3236 * </ul>
3233 * 3237 *
3234 * @exception DWTException <ul> 3238 * @exception DWTException <ul>
3235 * <li>ERROR_THREAD_INVALID_ACCESS when called from the wrong thread</li> 3239 * <li>ERROR_THREAD_INVALID_ACCESS when called from the wrong thread</li>
3236 * <li>ERROR_WIDGET_DISPOSED when the widget has been disposed</li> 3240 * <li>ERROR_WIDGET_DISPOSED when the widget has been disposed</li>