summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TableColumn.java
diff options
context:
space:
mode:
authorCarolyn MacLeod <carolyn>2006-05-03 19:39:51 +0000
committerCarolyn MacLeod <carolyn>2006-05-03 19:39:51 +0000
commitd79eab99302156361be3efdbad9f0c456e32bf0a (patch)
treed15863213c938a5e826dd7a861a759c624582d9e /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TableColumn.java
parent6668e3c7722f160d75069effdbbb9d5090a8d083 (diff)
downloadeclipse.platform.swt-d79eab99302156361be3efdbad9f0c456e32bf0a.tar.gz
eclipse.platform.swt-d79eab99302156361be3efdbad9f0c456e32bf0a.tar.xz
eclipse.platform.swt-d79eab99302156361be3efdbad9f0c456e32bf0a.zip
Javadoc basher output for 3.2RC3
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TableColumn.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TableColumn.java33
1 files changed, 30 insertions, 3 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TableColumn.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TableColumn.java
index 37a268534d..f87f5d2d32 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TableColumn.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TableColumn.java
@@ -19,13 +19,13 @@ import org.eclipse.swt.events.*;
/**
* Instances of this class represent a column in a table widget.
- * <dl>
+ * <p><dl>
* <dt><b>Styles:</b></dt>
* <dd>LEFT, RIGHT, CENTER</dd>
* <dt><b>Events:</b></dt>
* <dd> Move, Resize, Selection</dd>
* </dl>
- * <p>
+ * </p><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.
@@ -93,10 +93,11 @@ public TableColumn (Table parent, int style) {
*
* @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
+ * @param index the zero-relative index to store the receiver in its parent
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if the parent is null</li>
+ * <li>ERROR_INVALID_RANGE - if the index is not between 0 and the number of elements in the parent (inclusive)</li>
* </ul>
* @exception SWTException <ul>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent</li>
@@ -279,6 +280,19 @@ public boolean getResizable () {
return OS.gtk_tree_view_column_get_resizable (handle);
}
+/**
+ * Returns the receiver's tool tip text, or null if it has
+ * not been set.
+ *
+ * @return the receiver's tool tip 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>
+ *
+ * @since 3.2
+ */
public String getToolTipText () {
checkWidget();
return toolTipText;
@@ -582,6 +596,19 @@ public void setText (String string) {
}
}
+/**
+ * Sets the receiver's tool tip text to the argument, which
+ * may be null indicating that no tool tip text should be shown.
+ *
+ * @param string the new tool tip text (or null)
+ *
+ * @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>
+ *
+ * @since 3.2
+ */
public void setToolTipText (String string) {
checkWidget();
Shell shell = parent._getShell ();