Mercurial > projects > dwt-linux
comparison dwt/widgets/TreeColumn.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 | 5a30aa9820f3 |
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 * |
43 * Note: Only one of the styles LEFT, RIGHT and CENTER may be specified. | 43 * Note: Only one of the styles LEFT, RIGHT and CENTER may be specified. |
44 * </p><p> | 44 * </p><p> |
45 * IMPORTANT: This class is <em>not</em> intended to be subclassed. | 45 * IMPORTANT: This class is <em>not</em> intended to be subclassed. |
46 * </p> | 46 * </p> |
47 * | 47 * |
48 * @see <a href="http://www.eclipse.org/swt/snippets/#tree">Tree, TreeItem, TreeColumn snippets</a> | |
49 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> | |
50 * | |
48 * @since 3.1 | 51 * @since 3.1 |
49 */ | 52 */ |
50 public class TreeColumn : Item { | 53 public class TreeColumn : Item { |
51 GtkWidget* labelHandle, imageHandle, buttonHandle; | 54 GtkWidget* labelHandle, imageHandle, buttonHandle; |
52 Tree parent; | 55 Tree parent; |
104 * (that is, using the <code>int</code> "|" operator) two or more | 107 * (that is, using the <code>int</code> "|" operator) two or more |
105 * of those <code>DWT</code> style constants. The class description | 108 * of those <code>DWT</code> style constants. The class description |
106 * lists the style constants that are applicable to the class. | 109 * lists the style constants that are applicable to the class. |
107 * Style bits are also inherited from superclasses. | 110 * Style bits are also inherited from superclasses. |
108 * </p> | 111 * </p> |
109 * | 112 * <p> |
113 * Note that due to a restriction on some platforms, the first column | |
114 * is always left aligned. | |
115 * </p> | |
110 * @param parent a composite control which will be the parent of the new instance (cannot be null) | 116 * @param parent a composite control which will be the parent of the new instance (cannot be null) |
111 * @param style the style of control to construct | 117 * @param style the style of control to construct |
112 * @param index the zero-relative index to store the receiver in its parent | 118 * @param index the zero-relative index to store the receiver in its parent |
113 * | 119 * |
114 * @exception IllegalArgumentException <ul> | 120 * @exception IllegalArgumentException <ul> |
506 | 512 |
507 /** | 513 /** |
508 * Controls how text and images will be displayed in the receiver. | 514 * Controls how text and images will be displayed in the receiver. |
509 * The argument should be one of <code>LEFT</code>, <code>RIGHT</code> | 515 * The argument should be one of <code>LEFT</code>, <code>RIGHT</code> |
510 * or <code>CENTER</code>. | 516 * or <code>CENTER</code>. |
511 * | 517 * <p> |
518 * Note that due to a restriction on some platforms, the first column | |
519 * is always left aligned. | |
520 * </p> | |
512 * @param alignment the new alignment | 521 * @param alignment the new alignment |
513 * | 522 * |
514 * @exception DWTException <ul> | 523 * @exception DWTException <ul> |
515 * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> | 524 * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> |
516 * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> | 525 * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> |