From 1cbd6579fd2f2a4200a984f3e0b98f23671db6f9 Mon Sep 17 00:00:00 2001 From: David Gilbert Date: Mon, 6 Mar 2006 09:18:52 +0000 Subject: 2006-03-06 David Gilbert * javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed API doc tag warnings, * javax/swing/tree/VariableHeightLayoutCache.java: Likewise. ---------------------------------------------------------------------- --- ChangeLog | 6 + javax/swing/tree/FixedHeightLayoutCache.java | 372 ++++++++++----------- javax/swing/tree/VariableHeightLayoutCache.java | 418 ++++++++++++------------ 3 files changed, 399 insertions(+), 397 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8395b46b1..f9f3e3a45 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-03-06 David Gilbert + + * javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed + API doc tag warnings, + * javax/swing/tree/VariableHeightLayoutCache.java: Likewise. + 2006-03-06 Dalibor Topic * gnu/java/net/protocol/file/Connection.java (unquote): diff --git a/javax/swing/tree/FixedHeightLayoutCache.java b/javax/swing/tree/FixedHeightLayoutCache.java index 535417ec3..307eb5565 100644 --- a/javax/swing/tree/FixedHeightLayoutCache.java +++ b/javax/swing/tree/FixedHeightLayoutCache.java @@ -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 @@ public class FixedHeightLayoutCache 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() - -} // FixedHeightLayoutCache + /** + * 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 + } + +} diff --git a/javax/swing/tree/VariableHeightLayoutCache.java b/javax/swing/tree/VariableHeightLayoutCache.java index 2c9136c51..60a8c9fe7 100644 --- a/javax/swing/tree/VariableHeightLayoutCache.java +++ b/javax/swing/tree/VariableHeightLayoutCache.java @@ -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 @@ import javax.swing.event.TreeModelEvent; * VariableHeightLayoutCache * @author Andrew Selkirk */ -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() - - -} // VariableHeightLayoutCache +public class VariableHeightLayoutCache extends AbstractLayoutCache +{ + + /** + * 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 + } + +} -- cgit v1.2.1