[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: fixes for JTable API docs
From: |
David Gilbert |
Subject: |
[cp-patches] FYI: fixes for JTable API docs |
Date: |
Tue, 05 Jul 2005 10:05:57 +0000 |
User-agent: |
Mozilla Thunderbird 1.0.2 (X11/20050426) |
I committed this patch to fix a lot of Eclipse warnings about the API
docs for JTable:
2005-07-05 David Gilbert <address@hidden>
* javax/swing/JTable.java: fixed API doc links all over.
Regards,
Dave Gilbert
? diff.txt
Index: javax/swing/JTable.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/JTable.java,v
retrieving revision 1.29
diff -u -r1.29 JTable.java
--- javax/swing/JTable.java 2 Jul 2005 20:32:49 -0000 1.29
+++ javax/swing/JTable.java 5 Jul 2005 08:57:35 -0000
@@ -356,10 +356,10 @@
* address@hidden TableColumnModel} and assign it to the address@hidden
#columnModel}
* property when the address@hidden #dataModel} property is changed.
*
- * @see #setModel()
+ * @see #setModel(TableModel)
* @see #createColumnsFromModel()
- * @see #setColumnModel()
- * @see #setAutoCreateColumnsFromModel()
+ * @see #setColumnModel(TableColumnModel)
+ * @see #setAutoCreateColumnsFromModel(boolean)
* @see #getAutoCreateColumnsFromModel()
*/
protected boolean autoCreateColumnsFromModel;
@@ -371,7 +371,7 @@
* #AUTO_RESIZE_SUBSEQUENT_COLUMNS}, or address@hidden #AUTO_RESIZE_OFF}.
*
* @see #doLayout()
- * @see #setAutoResizeMode()
+ * @see #setAutoResizeMode(int)
* @see #getAutoResizeMode()
*/
protected int autoResizeMode;
@@ -383,21 +383,21 @@
* address@hidden #columnModel}.
*
* @see #getRowHeight()
- * @see #setRowHeight()
+ * @see #setRowHeight(int)
* @see TableColumn#getWidth()
- * @see TableColumn#setWidth()
+ * @see TableColumn#setWidth(int)
*/
protected int rowHeight;
/**
* The height in pixels of the gap left between any two rows of the table.
*
- * @see #setRowMargin()
+ * @see #setRowMargin(int)
* @see #getRowHeight()
* @see #getIntercellSpacing()
- * @see #setIntercellSpacing()
+ * @see #setIntercellSpacing(Dimension)
* @see TableColumnModel#getColumnMargin()
- * @see TableColumnModel#setColumnMargin()
+ * @see TableColumnModel#setColumnMargin(int)
*/
protected int rowMargin;
@@ -408,18 +408,18 @@
* selection as an independent concept, but it is now represented solely
* in terms of simultaneous row and column selection.
*
- * @see TableColumnModel#columnSelectionAllowed()
- * @see #setRowSelectionAllowed()
+ * @see TableColumnModel#getColumnSelectionAllowed()
+ * @see #setRowSelectionAllowed(boolean)
* @see #getRowSelectionAllowed()
* @see #getCellSelectionEnabled()
- * @see #setCellSelectionEnabled()
+ * @see #setCellSelectionEnabled(boolean)
*/
protected boolean rowSelectionAllowed;
/**
- * @deprecated Use address@hidden #rowSelectionAllowed}, address@hidden
- * #columnSelectionAllowed}, or the combined methods address@hidden
- * getCellSelectionEnabled} and address@hidden setCellSelectionEnabled}.
+ * @deprecated Use address@hidden #rowSelectionAllowed}, address@hidden
+ * #getColumnSelectionAllowed}, or the combined methods address@hidden
+ * #getCellSelectionEnabled} and address@hidden
#setCellSelectionEnabled(boolean)}.
*/
protected boolean cellSelectionEnabled;
@@ -429,8 +429,8 @@
* property name. The table listens to its model as a address@hidden
* TableModelListener}.
*
- * @see #tableChanged()
- * @see TableModel#addTableModelListener()
+ * @see #tableChanged(TableModelEvent)
+ * @see TableModel#addTableModelListener(TableModelListener)
*/
protected TableModel dataModel;
@@ -444,7 +444,7 @@
*
* <p>The TableColumnModel also contains a address@hidden
ListSelectionModel} which
* indicates which columns are currently selected. This selection model
- * works in combination with the address@hidden selectionModel} of the table
+ * works in combination with the address@hidden #selectionModel} of the table
* itself to specify a <em>table selection</em>: a combination of row and
* column selections.</p>
*
@@ -453,7 +453,7 @@
* columnModel automatically, and the table acts as a facade for most of
* the interesting properties of the columnModel anyways.</p>
*
- * @see #setColumnModel()
+ * @see #setColumnModel(TableColumnModel)
* @see #getColumnModel()
*/
protected TableColumnModel columnModel;
@@ -461,14 +461,14 @@
/**
* A model of the rows of this table which are currently selected. This
* model is used in combination with the column selection model held as a
- * member of the address@hidden columnModel} property, to represent the rows
and
+ * member of the address@hidden #columnModel} property, to represent the
rows and
* columns (or both: cells) of the table which are currently selected.
*
* @see #rowSelectionAllowed
- * @see #setSelectionModel()
+ * @see #setSelectionModel(ListSelectionModel)
* @see #getSelectionModel()
* @see TableColumnModel#getSelectionModel()
- * @see ListSelectionModel#addListSelectionListener()
+ * @see ListSelectionModel#addListSelectionListener(ListSelectionListener)
*/
protected ListSelectionModel selectionModel;
@@ -494,7 +494,7 @@
* The color to paint the grid lines of the table, when either address@hidden
* #showHorizontalLines} or address@hidden #showVerticalLines} is set.
*
- * @see #setGridColor()
+ * @see #setGridColor(Color)
* @see #getGridColor()
*/
protected Color gridColor;
@@ -503,7 +503,7 @@
* The size this table would prefer its viewport assume, if it is
* contained in a address@hidden JScrollPane}.
*
- * @see #setPreferredScrollableViewportSize()
+ * @see #setPreferredScrollableViewportSize(Dimension)
* @see #getPreferredScrollableViewportSize()
*/
protected Dimension preferredViewportSize;
@@ -513,7 +513,7 @@
* change event with name address@hidden
#SELECTION_BACKGROUND_CHANGED_PROPERTY}
* when its value changes.
*
- * @see #setSelectionBackground()
+ * @see #setSelectionBackground(Color)
* @see #getSelectionBackground()
*/
protected Color selectionBackground;
@@ -529,7 +529,7 @@
* change event with name address@hidden
#SELECTION_FOREGROUND_CHANGED_PROPERTY}
* when its value changes.
*
- * @see #setSelectionForeground()
+ * @see #setSelectionForeground(Color)
* @see #getSelectionForeground()
*/
protected Color selectionForeground;
@@ -896,7 +896,7 @@
}
/**
- * Get the value of the address@hidden #selectedRow} property by delegation
to
+ * Get the value of the selectedRow property by delegation to
* the address@hidden ListSelectionModel#getMinSelectionIndex} method of the
* address@hidden #selectionModel} field.
*
@@ -927,23 +927,21 @@
}
/**
- * Get the value of the address@hidden #scrollableTracksViewportHeight}
property.
+ * Get the value of the <code>scrollableTracksViewportHeight</code> property.
*
* @return The constant value <code>false</code>
*/
-
public boolean getScrollableTracksViewportHeight()
{
return false;
}
/**
- * Get the value of the address@hidden #scrollableTracksViewportWidth}
property.
+ * Get the value of the <code>scrollableTracksViewportWidth</code> property.
*
- * @return <code>true</code> unless the address@hidden autoResizeMode}
prperty is
+ * @return <code>true</code> unless the address@hidden #autoResizeMode}
property is
* <code>AUTO_RESIZE_OFF</code>
*/
-
public boolean getScrollableTracksViewportWidth()
{
if (autoResizeMode == AUTO_RESIZE_OFF)
@@ -1138,7 +1136,7 @@
}
/**
- * Get the value of the address@hidden #columnCount} property by
+ * Get the value of the <code>columnCount</code> property by
* delegation to the @{link #columnModel} field.
*
* @return The current value of the columnCount property
@@ -1149,7 +1147,7 @@
}
/**
- * Get the value of the address@hidden #rowCount} property by
+ * Get the value of the <code>rowCount</code> property by
* delegation to the @{link #dataModel} field.
*
* @return The current value of the rowCount property
@@ -1170,7 +1168,7 @@
}
/**
- * Get the value of the address@hidden #selectedColumn} property by
+ * Get the value of the <code>selectedColumn</code> property by
* delegation to the @{link #columnModel} field.
*
* @return The current value of the selectedColumn property
@@ -1240,7 +1238,7 @@
}
/**
- * Get the value of the address@hidden #selectedColumnCount} property by
+ * Get the value of the <code>selectedColumnCount</code> property by
* delegation to the @{link #columnModel} field.
*
* @return The current value of the selectedColumnCount property
@@ -1251,7 +1249,7 @@
}
/**
- * Get the value of the address@hidden #selectedColumns} property by
+ * Get the value of the <code>selectedColumns</code> property by
* delegation to the @{link #columnModel} field.
*
* @return The current value of the selectedColumns property
@@ -1262,7 +1260,7 @@
}
/**
- * Get the value of the address@hidden #columnSelectionAllowed} property.
+ * Get the value of the <code>columnSelectionAllowed</code> property.
*
* @return The current value of the columnSelectionAllowed property
*/
@@ -1272,7 +1270,7 @@
}
/**
- * Get the value of the address@hidden #selectedRowCount} property by
+ * Get the value of the <code>selectedRowCount</code> property by
* delegation to the @{link #selectionModel} field.
*
* @return The current value of the selectedRowCount property
@@ -1283,7 +1281,7 @@
}
/**
- * Get the value of the address@hidden #selectedRows} property by
+ * Get the value of the <code>selectedRows</code> property by
* delegation to the @{link #selectionModel} field.
*
* @return The current value of the selectedRows property
@@ -1334,7 +1332,7 @@
}
/**
- * Get the value of the address@hidden #intercellSpacing} property.
+ * Get the value of the <code>intercellSpacing</code> property.
*
* @return The current value of the property
*/
@@ -1574,7 +1572,7 @@
}
/**
- * Set the value of the address@hidden #columnSelectionAllowed} property.
+ * Set the value of the <code>columnSelectionAllowed</code> property.
*
* @param c The new value of the property
*/
@@ -1606,7 +1604,7 @@
}
/**
- * Set the value of the address@hidden #selectionMode} property by
+ * Set the value of the <code>selectionMode</code> property by
* delegation to the address@hidden #selectionModel} field. The same
selection
* mode is set for row and column selection models.
*
@@ -1661,7 +1659,7 @@
}
/**
- * Set the value of the address@hidden #intercellSpacing} property.
+ * Set the value of the <code>intercellSpacing</code> property.
*
* @param i The new value of the intercellSpacing property
*/
@@ -1708,7 +1706,7 @@
* <p>Set the value of the address@hidden #selectionForeground} property.</p>
*
* <p>Fire a PropertyChangeEvent with name address@hidden
- * SELECTION_FOREGROUND_CHANGED_PROPERTY} to registered listeners, if
+ * #SELECTION_FOREGROUND_CHANGED_PROPERTY} to registered listeners, if
* selectionForeground changed.</p>
*
* @param s The new value of the selectionForeground property
@@ -1725,7 +1723,7 @@
}
/**
- * Set the value of the address@hidden #showGrid} property.
+ * Set the value of the <code>showGrid</code> property.
*
* @param s The new value of the showGrid property
*/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: fixes for JTable API docs,
David Gilbert <=