You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by rw...@apache.org on 2021/02/15 22:48:55 UTC
svn commit: r1886554 -
/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TablePaneSkin.java
Author: rwhitcomb
Date: Mon Feb 15 22:48:55 2021
New Revision: 1886554
URL: http://svn.apache.org/viewvc?rev=1886554&view=rev
Log:
Tweak Javadoc comments.
Modified:
pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TablePaneSkin.java
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TablePaneSkin.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TablePaneSkin.java?rev=1886554&r1=1886553&r2=1886554&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TablePaneSkin.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TablePaneSkin.java Mon Feb 15 22:48:55 2021
@@ -1054,7 +1054,8 @@ public class TablePaneSkin extends Conta
* caller to factor such components into the column widths calculation.
*
* @param columnIndex The index of the column whose preferred width we're
- * calculating
+ * calculating.
+ * @return The preferred width of the given column.
*/
private int getPreferredColumnWidth(int columnIndex) {
TablePane tablePane = (TablePane) getComponent();
@@ -1115,9 +1116,10 @@ public class TablePaneSkin extends Conta
* heights calculation.
*
* @param rowIndex The index of the row whose preferred height we're
- * calculating
+ * calculating.
* @param columnWidthsArgument An array of column width values corresponding
- * to the columns of the table pane
+ * to the columns of the table pane.
+ * @return The preferred height of the row.
*/
private int getPreferredRowHeight(int rowIndex, int[] columnWidthsArgument) {
Utils.checkNull(columnWidthsArgument, "columnWidths");