This patch (committed) fixes some bad API doc tags (and also reformats the source).
These classes are complete stubs, so I'll file a bug report for that in a moment:
2006-03-06 David Gilbert <[EMAIL PROTECTED]>
* javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
API doc tag warnings,
* javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
Regards,
Dave
Index: javax/swing/tree/FixedHeightLayoutCache.java
===================================================================
RCS file:
/sources/classpath/classpath/javax/swing/tree/FixedHeightLayoutCache.java,v
retrieving revision 1.6
diff -u -r1.6 FixedHeightLayoutCache.java
--- javax/swing/tree/FixedHeightLayoutCache.java 22 Jul 2005 08:11:12
-0000 1.6
+++ javax/swing/tree/FixedHeightLayoutCache.java 6 Mar 2006 09:15:25
-0000
@@ -1,5 +1,5 @@
/* FixedHeightLayoutCache.java --
-Copyright (C) 2002, 2004 Free Software Foundation, Inc.
+Copyright (C) 2002, 2004, 2006, Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -51,194 +51,182 @@
extends AbstractLayoutCache
{
- // -------------------------------------------------------------
- // Variables --------------------------------------------------
- // -------------------------------------------------------------
-
- // -------------------------------------------------------------
- // Initialization ---------------------------------------------
- // -------------------------------------------------------------
-
- /**
- * Constructor FixedHeightLayoutCache
- */
- public FixedHeightLayoutCache()
- {
- // TODO
- } // FixedHeightLayoutCache()
-
- // -------------------------------------------------------------
- // Methods ----------------------------------------------------
- // -------------------------------------------------------------
-
- /**
- * getRowCount
- *
- * @returns int
- */
- public int getRowCount()
- {
- return 0; // TODO
- } // getRowCount()
-
- /**
- * invalidatePathBounds
- *
- * @param value0 TODO
- */
- public void invalidatePathBounds(TreePath value0)
- {
- // TODO
- } // invalidatePathBounds()
-
- /**
- * invalidateSizes
- */
- public void invalidateSizes()
- {
- // TODO
- } // invalidateSizes()
-
- /**
- * isExpanded
- *
- * @param value0 TODO
- * @returns boolean
- */
- public boolean isExpanded(TreePath value0)
- {
- return false; // TODO
- } // isExpanded()
-
- /**
- * getBounds
- *
- * @param value0 TODO
- * @param value1 TODO
- * @returns Rectangle
- */
- public Rectangle getBounds(TreePath value0, Rectangle value1)
- {
- return null; // TODO
- } // getBounds()
-
- /**
- * getPathForRow
- *
- * @param row TODO
- * @returns TreePath
- */
- public TreePath getPathForRow(int row)
- {
- //TODO
- return null;
- } // getPathForRow()
-
- /**
- * getRowForPath
- *
- * @param value0 TODO
- * @returns int
- */
- public int getRowForPath(TreePath value0)
- {
- return 0;
- } // getRowForPath()
-
- /**
- * getPathClosestTo
- *
- * @param value0 TODO
- * @param value1 TODO
- * @returns TreePath
- */
- public TreePath getPathClosestTo(int value0, int value1)
- {
- return null; // TODO
- } // getPathClosestTo()
-
- /**
- * getVisibleChildCount
- *
- * @param value0 TODO
- * @returns int
- */
- public int getVisibleChildCount(TreePath value0)
- {
- return 0; // TODO
- } // getVisibleChildCount()
-
- /**
- * getVisiblePathsFrom
- *
- * @param value0 TODO
- * @returns Enumeration
- */
- public Enumeration getVisiblePathsFrom(TreePath value0)
- {
- return null; // TODO
- } // getVisiblePathsFrom()
-
- /**
- * setExpandedState
- *
- * @param value0 TODO
- * @param value1 TODO
- */
- public void setExpandedState(TreePath value0, boolean value1)
- {
- // TODO
- } // setExpandedState()
-
- /**
- * getExpandedState
- *
- * @param value0 TODO
- * @returns boolean
- */
- public boolean getExpandedState(TreePath value0)
- {
- return false; // TODO
- } // getExpandedState()
-
- /**
- * treeNodesChanged
- *
- * @param value0 TODO
- */
- public void treeNodesChanged(TreeModelEvent value0)
- {
- // TODO
- } // treeNodesChanged()
-
- /**
- * treeNodesInserted
- *
- * @param value0 TODO
- */
- public void treeNodesInserted(TreeModelEvent value0)
- {
- // TODO
- } // treeNodesInserted()
-
- /**
- * treeNodesRemoved
- *
- * @param value0 TODO
- */
- public void treeNodesRemoved(TreeModelEvent value0)
- {
- // TODO
- } // treeNodesRemoved()
-
- /**
- * treeStructureChanged
- *
- * @param value0 TODO
- */
- public void treeStructureChanged(TreeModelEvent value0)
- {
- // TODO
- } // treeStructureChanged()
+ /**
+ * Constructor FixedHeightLayoutCache
+ */
+ public FixedHeightLayoutCache()
+ {
+ // TODO
+ }
+
+ /**
+ * getRowCount
+ *
+ * @return int
+ */
+ public int getRowCount()
+ {
+ return 0; // TODO
+ }
+
+ /**
+ * invalidatePathBounds
+ *
+ * @param value0 TODO
+ */
+ public void invalidatePathBounds(TreePath value0)
+ {
+ // TODO
+ }
+
+ /**
+ * invalidateSizes
+ */
+ public void invalidateSizes()
+ {
+ // TODO
+ }
+
+ /**
+ * isExpanded
+ *
+ * @param value0 TODO
+ * @return boolean
+ */
+ public boolean isExpanded(TreePath value0)
+ {
+ return false; // TODO
+ }
+
+ /**
+ * getBounds
+ *
+ * @param value0 TODO
+ * @param value1 TODO
+ * @return Rectangle
+ */
+ public Rectangle getBounds(TreePath value0, Rectangle value1)
+ {
+ return null; // TODO
+ }
+
+ /**
+ * getPathForRow
+ *
+ * @param row TODO
+ * @return TreePath
+ */
+ public TreePath getPathForRow(int row)
+ {
+ //TODO
+ return null;
+ }
+
+ /**
+ * getRowForPath
+ *
+ * @param value0 TODO
+ * @return int
+ */
+ public int getRowForPath(TreePath value0)
+ {
+ return 0;
+ }
+
+ /**
+ * getPathClosestTo
+ *
+ * @param value0 TODO
+ * @param value1 TODO
+ * @return TreePath
+ */
+ public TreePath getPathClosestTo(int value0, int value1)
+ {
+ return null; // TODO
+ }
+
+ /**
+ * getVisibleChildCount
+ *
+ * @param value0 TODO
+ * @return int
+ */
+ public int getVisibleChildCount(TreePath value0)
+ {
+ return 0; // TODO
+ }
+
+ /**
+ * getVisiblePathsFrom
+ *
+ * @param value0 TODO
+ * @return Enumeration
+ */
+ public Enumeration getVisiblePathsFrom(TreePath value0)
+ {
+ return null; // TODO
+ }
+
+ /**
+ * setExpandedState
+ *
+ * @param value0 TODO
+ * @param value1 TODO
+ */
+ public void setExpandedState(TreePath value0, boolean value1)
+ {
+ // TODO
+ }
+
+ /**
+ * getExpandedState
+ *
+ * @param value0 TODO
+ * @return boolean
+ */
+ public boolean getExpandedState(TreePath value0)
+ {
+ return false; // TODO
+ }
+
+ /**
+ * treeNodesChanged
+ *
+ * @param value0 TODO
+ */
+ public void treeNodesChanged(TreeModelEvent value0)
+ {
+ // TODO
+ }
+
+ /**
+ * treeNodesInserted
+ *
+ * @param value0 TODO
+ */
+ public void treeNodesInserted(TreeModelEvent value0)
+ {
+ // TODO
+ }
+
+ /**
+ * treeNodesRemoved
+ *
+ * @param value0 TODO
+ */
+ public void treeNodesRemoved(TreeModelEvent value0)
+ {
+ // TODO
+ }
+
+ /**
+ * treeStructureChanged
+ *
+ * @param value0 TODO
+ */
+ public void treeStructureChanged(TreeModelEvent value0)
+ {
+ // TODO
+ }
-} // FixedHeightLayoutCache
+}
Index: javax/swing/tree/VariableHeightLayoutCache.java
===================================================================
RCS file:
/sources/classpath/classpath/javax/swing/tree/VariableHeightLayoutCache.java,v
retrieving revision 1.5
diff -u -r1.5 VariableHeightLayoutCache.java
--- javax/swing/tree/VariableHeightLayoutCache.java 2 Jul 2005 20:32:52
-0000 1.5
+++ javax/swing/tree/VariableHeightLayoutCache.java 6 Mar 2006 09:15:25
-0000
@@ -1,5 +1,5 @@
/* VariableHeightLayoutCache.java --
- Copyright (C) 2002, 2004 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2004, 2006, Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -47,207 +47,215 @@
* VariableHeightLayoutCache
* @author Andrew Selkirk
*/
-public class VariableHeightLayoutCache extends AbstractLayoutCache {
+public class VariableHeightLayoutCache extends AbstractLayoutCache
+{
- //-------------------------------------------------------------
- // Variables --------------------------------------------------
- //-------------------------------------------------------------
-
-
- //-------------------------------------------------------------
- // Initialization ---------------------------------------------
- //-------------------------------------------------------------
-
- /**
- * Constructor VariableHeightLayoutCache
- */
- public VariableHeightLayoutCache() {
- // TODO
- } // VariableHeightLayoutCache()
-
-
- //-------------------------------------------------------------
- // Methods ----------------------------------------------------
- //-------------------------------------------------------------
-
- /**
- * setModel
- * @param value0 TODO
- */
- public void setModel(TreeModel value0) {
- // TODO
- } // setModel()
-
- /**
- * setRootVisible
- * @param value0 TODO
- */
- public void setRootVisible(boolean value0) {
- // TODO
- } // setRootVisible()
-
- /**
- * setNodeDimensions
- * @param value0 TODO
- */
- public void setNodeDimensions(NodeDimensions value0) {
- // TODO
- } // setNodeDimensions()
-
- /**
- * setExpandedState
- * @param value0 TODO
- * @param value1 TODO
- */
- public void setExpandedState(TreePath value0, boolean value1) {
- // TODO
- } // setExpandedState()
-
- /**
- * getExpandedState
- * @param value0 TODO
- * @returns boolean
- */
- public boolean getExpandedState(TreePath value0) {
- return false; // TODO
- } // getExpandedState()
-
- /**
- * getBounds
- * @param value0 TODO
- * @param value1 TODO
- * @returns Rectangle
- */
- public Rectangle getBounds(TreePath value0, Rectangle value1) {
- return null; // TODO
- } // getBounds()
-
- /**
- * getPathForRow
- * @param value0 TODO
- * @returns TreePath
- */
- public TreePath getPathForRow(int value0) {
- return null; // TODO
- } // getPathForRow()
-
- /**
- * getRowForPath
- * @param value0 TODO
- * @returns int
- */
- public int getRowForPath(TreePath value0) {
- return 0; // TODO
- } // getRowForPath()
-
- /**
- * getRowCount
- * @returns int
- */
- public int getRowCount() {
- return 0; // TODO
- } // getRowCount()
-
- /**
- * invalidatePathBounds
- * @param value0 TODO
- */
- public void invalidatePathBounds(TreePath value0) {
- // TODO
- } // invalidatePathBounds()
-
- /**
- * getPreferredHeight
- * @returns int
- */
- public int getPreferredHeight() {
- return 0; // TODO
- } // getPreferredHeight()
-
- /**
- * getPreferredWidth
- * @param value0 TODO
- * @returns int
- */
- public int getPreferredWidth(Rectangle value0) {
- return 0; // TODO
- } // getPreferredWidth()
-
- /**
- * getPathClosestTo
- * @param value0 TODO
- * @param value1 TODO
- * @returns TreePath
- */
- public TreePath getPathClosestTo(int value0, int value1) {
- return null; // TODO
- } // getPathClosestTo()
-
- /**
- * getVisiblePathsFrom
- * @param value0 TODO
- * @returns Enumeration
- */
- public Enumeration getVisiblePathsFrom(TreePath value0) {
- return null; // TODO
- } // getVisiblePathsFrom()
-
- /**
- * getVisibleChildCount
- * @param value0 TODO
- * @returns int
- */
- public int getVisibleChildCount(TreePath value0) {
- return 0; // TODO
- } // getVisibleChildCount()
-
- /**
- * invalidateSizes
- */
- public void invalidateSizes() {
- // TODO
- } // invalidateSizes()
-
- /**
- * isExpanded
- * @param value0 TODO
- * @returns boolean
- */
- public boolean isExpanded(TreePath value0) {
- return false; // TODO
- } // isExpanded()
-
- /**
- * treeNodesChanged
- * @param value0 TODO
- */
- public void treeNodesChanged(TreeModelEvent value0) {
- // TODO
- } // treeNodesChanged()
-
- /**
- * treeNodesInserted
- * @param value0 TODO
- */
- public void treeNodesInserted(TreeModelEvent value0) {
- // TODO
- } // treeNodesInserted()
-
- /**
- * treeNodesRemoved
- * @param value0 TODO
- */
- public void treeNodesRemoved(TreeModelEvent value0) {
- // TODO
- } // treeNodesRemoved()
-
- /**
- * treeStructureChanged
- * @param value0 TODO
- */
- public void treeStructureChanged(TreeModelEvent value0) {
- // TODO
- } // treeStructureChanged()
+ /**
+ * Constructor VariableHeightLayoutCache
+ */
+ public VariableHeightLayoutCache()
+ {
+ // TODO
+ }
+
+ /**
+ * setModel
+ * @param value0 TODO
+ */
+ public void setModel(TreeModel value0)
+ {
+ // TODO
+ }
+
+ /**
+ * setRootVisible
+ * @param value0 TODO
+ */
+ public void setRootVisible(boolean value0)
+ {
+ // TODO
+ }
+
+ /**
+ * setNodeDimensions
+ * @param value0 TODO
+ */
+ public void setNodeDimensions(NodeDimensions value0)
+ {
+ // TODO
+ }
+
+ /**
+ * setExpandedState
+ * @param value0 TODO
+ * @param value1 TODO
+ */
+ public void setExpandedState(TreePath value0, boolean value1)
+ {
+ // TODO
+ }
+
+ /**
+ * getExpandedState
+ * @param value0 TODO
+ * @return boolean
+ */
+ public boolean getExpandedState(TreePath value0)
+ {
+ return false; // TODO
+ }
+
+ /**
+ * getBounds
+ * @param value0 TODO
+ * @param value1 TODO
+ * @return Rectangle
+ */
+ public Rectangle getBounds(TreePath value0, Rectangle value1)
+ {
+ return null; // TODO
+ }
+
+ /**
+ * getPathForRow
+ * @param value0 TODO
+ * @return TreePath
+ */
+ public TreePath getPathForRow(int value0)
+ {
+ return null; // TODO
+ }
+
+ /**
+ * getRowForPath
+ * @param value0 TODO
+ * @return int
+ */
+ public int getRowForPath(TreePath value0)
+ {
+ return 0; // TODO
+ }
+
+ /**
+ * getRowCount
+ * @return int
+ */
+ public int getRowCount()
+ {
+ return 0; // TODO
+ }
+
+ /**
+ * invalidatePathBounds
+ * @param value0 TODO
+ */
+ public void invalidatePathBounds(TreePath value0)
+ {
+ // TODO
+ }
+
+ /**
+ * getPreferredHeight
+ * @return int
+ */
+ public int getPreferredHeight()
+ {
+ return 0; // TODO
+ }
+
+ /**
+ * getPreferredWidth
+ * @param value0 TODO
+ * @return int
+ */
+ public int getPreferredWidth(Rectangle value0)
+ {
+ return 0; // TODO
+ }
+
+ /**
+ * getPathClosestTo
+ * @param value0 TODO
+ * @param value1 TODO
+ * @return TreePath
+ */
+ public TreePath getPathClosestTo(int value0, int value1)
+ {
+ return null; // TODO
+ }
+
+ /**
+ * getVisiblePathsFrom
+ * @param value0 TODO
+ * @return Enumeration
+ */
+ public Enumeration getVisiblePathsFrom(TreePath value0)
+ {
+ return null; // TODO
+ }
+
+ /**
+ * getVisibleChildCount
+ * @param value0 TODO
+ * @return int
+ */
+ public int getVisibleChildCount(TreePath value0)
+ {
+ return 0; // TODO
+ }
+
+ /**
+ * invalidateSizes
+ */
+ public void invalidateSizes()
+ {
+ // TODO
+ }
+
+ /**
+ * isExpanded
+ * @param value0 TODO
+ * @return boolean
+ */
+ public boolean isExpanded(TreePath value0)
+ {
+ return false; // TODO
+ }
+
+ /**
+ * treeNodesChanged
+ * @param value0 TODO
+ */
+ public void treeNodesChanged(TreeModelEvent value0)
+ {
+ // TODO
+ }
+
+ /**
+ * treeNodesInserted
+ * @param value0 TODO
+ */
+ public void treeNodesInserted(TreeModelEvent value0)
+ {
+ // TODO
+ }
+
+ /**
+ * treeNodesRemoved
+ * @param value0 TODO
+ */
+ public void treeNodesRemoved(TreeModelEvent value0)
+ {
+ // TODO
+ }
+
+ /**
+ * treeStructureChanged
+ * @param value0 TODO
+ */
+ public void treeStructureChanged(TreeModelEvent value0)
+ {
+ // TODO
+ }
-
-} // VariableHeightLayoutCache
+}