summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gilbert <david.gilbert@object-refinery.com>2006-03-23 01:53:37 +0000
committerDavid Gilbert <david.gilbert@object-refinery.com>2006-03-23 01:53:37 +0000
commit1e0cc6f63bc3f716d75f508e0570eb562bcdd1e5 (patch)
treecb43f9dd9baabea2567bc4daa623a93282948ef4
parent972c4f8cbee72170c41345eba0fff046e9632f1c (diff)
downloadclasspath-1e0cc6f63bc3f716d75f508e0570eb562bcdd1e5.tar.gz
2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/tree/AbstractLayoutCache.java (getNodeDimensions): Mark as stub, (getPreferredHeight): Likewise, (getPreferredWidth): Likewise, (getRowsForPaths): Likewise, (isFixedRowHeight): Likewise, * javax/swing/tree/DefaultTreeModel.java (reload()): Mark as stub, (reload(TreeNode)): Likewise, (nodeStructureChanged): Likewise, * javax/swing/tree/DefaultTreeSelectionModel.java (clone): Mark as stub, (setRowMapper): Likewise, (setSelectionPaths): Likewise, (isRowSelected): Likewise, (resetRowSelection): Likewise, (insureRowContinuity): Likewise, (arePathsContiguous): Likewise, (canPathsBeAdded): Likewise, (canPathsBeRemoved): Likewise, (notifyPathChange): Likewise, (updateLeadIndex): Likewise, (insureUniqueness): Likewise, * javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as stubs, * javax/swing/tree/VariableHeightLayoutCache.java: Likewise. ----------------------------------------------------------------------
-rw-r--r--ChangeLog29
-rw-r--r--javax/swing/tree/AbstractLayoutCache.java11
-rw-r--r--javax/swing/tree/DefaultTreeModel.java6
-rw-r--r--javax/swing/tree/DefaultTreeSelectionModel.java27
-rw-r--r--javax/swing/tree/FixedHeightLayoutCache.java19
-rw-r--r--javax/swing/tree/VariableHeightLayoutCache.java24
6 files changed, 107 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index 6c190f2f9..185ab9f5c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,32 @@
+2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
+
+ * javax/swing/tree/AbstractLayoutCache.java
+ (getNodeDimensions): Mark as stub,
+ (getPreferredHeight): Likewise,
+ (getPreferredWidth): Likewise,
+ (getRowsForPaths): Likewise,
+ (isFixedRowHeight): Likewise,
+ * javax/swing/tree/DefaultTreeModel.java
+ (reload()): Mark as stub,
+ (reload(TreeNode)): Likewise,
+ (nodeStructureChanged): Likewise,
+ * javax/swing/tree/DefaultTreeSelectionModel.java
+ (clone): Mark as stub,
+ (setRowMapper): Likewise,
+ (setSelectionPaths): Likewise,
+ (isRowSelected): Likewise,
+ (resetRowSelection): Likewise,
+ (insureRowContinuity): Likewise,
+ (arePathsContiguous): Likewise,
+ (canPathsBeAdded): Likewise,
+ (canPathsBeRemoved): Likewise,
+ (notifyPathChange): Likewise,
+ (updateLeadIndex): Likewise,
+ (insureUniqueness): Likewise,
+ * javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as
+ stubs,
+ * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
+
2006-03-22 Tom Tromey <tromey@redhat.com>
* javax/swing/text/StyleContext.java (getStaticAttribute): Mark as
diff --git a/javax/swing/tree/AbstractLayoutCache.java b/javax/swing/tree/AbstractLayoutCache.java
index adece101d..3977f5b3a 100644
--- a/javax/swing/tree/AbstractLayoutCache.java
+++ b/javax/swing/tree/AbstractLayoutCache.java
@@ -38,6 +38,8 @@ exception statement from your version. */
package javax.swing.tree;
+import gnu.classpath.NotImplementedException;
+
import java.awt.Rectangle;
import java.util.Enumeration;
@@ -144,6 +146,7 @@ public abstract class AbstractLayoutCache
*/
protected Rectangle getNodeDimensions(Object value, int row, int depth,
boolean expanded, Rectangle bounds)
+ throws NotImplementedException
{
if (bounds == null)
return new Rectangle();
@@ -238,7 +241,8 @@ public abstract class AbstractLayoutCache
*
* @return int
*/
- public int getPreferredHeight()
+ public int getPreferredHeight()
+ throws NotImplementedException
{
return 0; // TODO
}
@@ -250,7 +254,8 @@ public abstract class AbstractLayoutCache
*
* @return int
*/
- public int getPreferredWidth(Rectangle value0)
+ public int getPreferredWidth(Rectangle value0)
+ throws NotImplementedException
{
return 0; // TODO
}
@@ -393,6 +398,7 @@ public abstract class AbstractLayoutCache
* @return an array of rows
*/
public int[] getRowsForPaths(TreePath[] paths)
+ throws NotImplementedException
{
return null; // TODO
}
@@ -403,6 +409,7 @@ public abstract class AbstractLayoutCache
* @return boolean
*/
protected boolean isFixedRowHeight()
+ throws NotImplementedException
{
return false; // TODO
}
diff --git a/javax/swing/tree/DefaultTreeModel.java b/javax/swing/tree/DefaultTreeModel.java
index 818f548a7..4d1c0fd02 100644
--- a/javax/swing/tree/DefaultTreeModel.java
+++ b/javax/swing/tree/DefaultTreeModel.java
@@ -37,6 +37,8 @@ exception statement from your version. */
package javax.swing.tree;
+import gnu.classpath.NotImplementedException;
+
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
@@ -46,7 +48,6 @@ import java.util.EventListener;
import javax.swing.event.EventListenerList;
import javax.swing.event.TreeModelEvent;
import javax.swing.event.TreeModelListener;
-import javax.swing.tree.DefaultMutableTreeNode;
/**
* DefaultTreeModel
@@ -227,6 +228,7 @@ public class DefaultTreeModel
* listeners that the model has changed.
*/
public void reload()
+ throws NotImplementedException
{
// TODO
}
@@ -239,6 +241,7 @@ public class DefaultTreeModel
* @param node - TODO
*/
public void reload(TreeNode node)
+ throws NotImplementedException
{
// TODO
}
@@ -389,6 +392,7 @@ public class DefaultTreeModel
* @param node that had its children and grandchildren changed.
*/
public void nodeStructureChanged(TreeNode node)
+ throws NotImplementedException
{
// TODO
}
diff --git a/javax/swing/tree/DefaultTreeSelectionModel.java b/javax/swing/tree/DefaultTreeSelectionModel.java
index de27dad04..ea877a2fd 100644
--- a/javax/swing/tree/DefaultTreeSelectionModel.java
+++ b/javax/swing/tree/DefaultTreeSelectionModel.java
@@ -37,6 +37,8 @@ exception statement from your version. */
package javax.swing.tree;
+import gnu.classpath.NotImplementedException;
+
import java.beans.PropertyChangeListener;
import java.io.IOException;
import java.io.ObjectInputStream;
@@ -128,7 +130,8 @@ public class DefaultTreeSelectionModel
*
* @return a clone of this DefaultTreeSelectionModel
*/
- public Object clone() throws CloneNotSupportedException
+ public Object clone()
+ throws CloneNotSupportedException, NotImplementedException
{
return null; // TODO
}
@@ -139,6 +142,7 @@ public class DefaultTreeSelectionModel
* @return a string that shows this object's properties
*/
public String toString()
+ throws NotImplementedException
{
return null; // TODO
}
@@ -176,6 +180,7 @@ public class DefaultTreeSelectionModel
* @see RowMapper
*/
public void setRowMapper(RowMapper rowMapper)
+ throws NotImplementedException
{
// TODO
}
@@ -249,6 +254,7 @@ public class DefaultTreeSelectionModel
* @param paths the paths to set as selection
*/
public void setSelectionPaths(TreePath[] paths)
+ throws NotImplementedException
{
// TODO
}
@@ -594,6 +600,7 @@ public class DefaultTreeSelectionModel
* <code>false</code> otherwise
*/
public boolean isRowSelected(int row)
+ throws NotImplementedException
{
return false; // TODO
}
@@ -602,6 +609,7 @@ public class DefaultTreeSelectionModel
* Updates the mappings from TreePaths to row indices.
*/
public void resetRowSelection()
+ throws NotImplementedException
{
// TODO
}
@@ -675,6 +683,7 @@ public class DefaultTreeSelectionModel
* only the first path.
*/
protected void insureRowContinuity()
+ throws NotImplementedException
{
// TODO
}
@@ -688,8 +697,9 @@ public class DefaultTreeSelectionModel
* RowMapper assigned
*/
protected boolean arePathsContiguous(TreePath[] paths)
+ throws NotImplementedException
{
- return false; // TODO
+ return false; // STUB
}
/**
@@ -708,8 +718,9 @@ public class DefaultTreeSelectionModel
* selectionMode
*/
protected boolean canPathsBeAdded(TreePath[] paths)
+ throws NotImplementedException
{
- return false; // TODO
+ return false; // STUB
}
/**
@@ -721,8 +732,9 @@ public class DefaultTreeSelectionModel
* the selectionMode
*/
protected boolean canPathsBeRemoved(TreePath[] paths)
+ throws NotImplementedException
{
- return false; // TODO
+ return false; // STUB
}
/**
@@ -732,22 +744,25 @@ public class DefaultTreeSelectionModel
* @param value1 TODO
*/
protected void notifyPathChange(Vector value0, TreePath value1)
+ throws NotImplementedException
{
- // TODO
+ // STUB
}
/**
* Updates the lead index instance field.
*/
protected void updateLeadIndex()
+ throws NotImplementedException
{
- // TODO
+ // STUB
}
/**
* Deprecated and not used.
*/
protected void insureUniqueness()
+ throws NotImplementedException
{
// TODO
}
diff --git a/javax/swing/tree/FixedHeightLayoutCache.java b/javax/swing/tree/FixedHeightLayoutCache.java
index 307eb5565..804e84d9d 100644
--- a/javax/swing/tree/FixedHeightLayoutCache.java
+++ b/javax/swing/tree/FixedHeightLayoutCache.java
@@ -37,6 +37,8 @@ exception statement from your version. */
package javax.swing.tree;
+import gnu.classpath.NotImplementedException;
+
import java.awt.Rectangle;
import java.util.Enumeration;
@@ -55,6 +57,7 @@ public class FixedHeightLayoutCache
* Constructor FixedHeightLayoutCache
*/
public FixedHeightLayoutCache()
+ throws NotImplementedException
{
// TODO
}
@@ -65,6 +68,7 @@ public class FixedHeightLayoutCache
* @return int
*/
public int getRowCount()
+ throws NotImplementedException
{
return 0; // TODO
}
@@ -75,6 +79,7 @@ public class FixedHeightLayoutCache
* @param value0 TODO
*/
public void invalidatePathBounds(TreePath value0)
+ throws NotImplementedException
{
// TODO
}
@@ -83,6 +88,7 @@ public class FixedHeightLayoutCache
* invalidateSizes
*/
public void invalidateSizes()
+ throws NotImplementedException
{
// TODO
}
@@ -94,6 +100,7 @@ public class FixedHeightLayoutCache
* @return boolean
*/
public boolean isExpanded(TreePath value0)
+ throws NotImplementedException
{
return false; // TODO
}
@@ -106,6 +113,7 @@ public class FixedHeightLayoutCache
* @return Rectangle
*/
public Rectangle getBounds(TreePath value0, Rectangle value1)
+ throws NotImplementedException
{
return null; // TODO
}
@@ -117,6 +125,7 @@ public class FixedHeightLayoutCache
* @return TreePath
*/
public TreePath getPathForRow(int row)
+ throws NotImplementedException
{
//TODO
return null;
@@ -129,6 +138,7 @@ public class FixedHeightLayoutCache
* @return int
*/
public int getRowForPath(TreePath value0)
+ throws NotImplementedException
{
return 0;
}
@@ -141,6 +151,7 @@ public class FixedHeightLayoutCache
* @return TreePath
*/
public TreePath getPathClosestTo(int value0, int value1)
+ throws NotImplementedException
{
return null; // TODO
}
@@ -152,6 +163,7 @@ public class FixedHeightLayoutCache
* @return int
*/
public int getVisibleChildCount(TreePath value0)
+ throws NotImplementedException
{
return 0; // TODO
}
@@ -163,6 +175,7 @@ public class FixedHeightLayoutCache
* @return Enumeration
*/
public Enumeration getVisiblePathsFrom(TreePath value0)
+ throws NotImplementedException
{
return null; // TODO
}
@@ -174,6 +187,7 @@ public class FixedHeightLayoutCache
* @param value1 TODO
*/
public void setExpandedState(TreePath value0, boolean value1)
+ throws NotImplementedException
{
// TODO
}
@@ -185,6 +199,7 @@ public class FixedHeightLayoutCache
* @return boolean
*/
public boolean getExpandedState(TreePath value0)
+ throws NotImplementedException
{
return false; // TODO
}
@@ -195,6 +210,7 @@ public class FixedHeightLayoutCache
* @param value0 TODO
*/
public void treeNodesChanged(TreeModelEvent value0)
+ throws NotImplementedException
{
// TODO
}
@@ -205,6 +221,7 @@ public class FixedHeightLayoutCache
* @param value0 TODO
*/
public void treeNodesInserted(TreeModelEvent value0)
+ throws NotImplementedException
{
// TODO
}
@@ -215,6 +232,7 @@ public class FixedHeightLayoutCache
* @param value0 TODO
*/
public void treeNodesRemoved(TreeModelEvent value0)
+ throws NotImplementedException
{
// TODO
}
@@ -225,6 +243,7 @@ public class FixedHeightLayoutCache
* @param value0 TODO
*/
public void treeStructureChanged(TreeModelEvent value0)
+ throws NotImplementedException
{
// TODO
}
diff --git a/javax/swing/tree/VariableHeightLayoutCache.java b/javax/swing/tree/VariableHeightLayoutCache.java
index 60a8c9fe7..60673373e 100644
--- a/javax/swing/tree/VariableHeightLayoutCache.java
+++ b/javax/swing/tree/VariableHeightLayoutCache.java
@@ -38,6 +38,8 @@ exception statement from your version. */
package javax.swing.tree;
+import gnu.classpath.NotImplementedException;
+
import java.awt.Rectangle;
import java.util.Enumeration;
@@ -54,6 +56,7 @@ public class VariableHeightLayoutCache extends AbstractLayoutCache
* Constructor VariableHeightLayoutCache
*/
public VariableHeightLayoutCache()
+ throws NotImplementedException
{
// TODO
}
@@ -63,6 +66,7 @@ public class VariableHeightLayoutCache extends AbstractLayoutCache
* @param value0 TODO
*/
public void setModel(TreeModel value0)
+ throws NotImplementedException
{
// TODO
}
@@ -72,6 +76,7 @@ public class VariableHeightLayoutCache extends AbstractLayoutCache
* @param value0 TODO
*/
public void setRootVisible(boolean value0)
+ throws NotImplementedException
{
// TODO
}
@@ -81,6 +86,7 @@ public class VariableHeightLayoutCache extends AbstractLayoutCache
* @param value0 TODO
*/
public void setNodeDimensions(NodeDimensions value0)
+ throws NotImplementedException
{
// TODO
}
@@ -91,6 +97,7 @@ public class VariableHeightLayoutCache extends AbstractLayoutCache
* @param value1 TODO
*/
public void setExpandedState(TreePath value0, boolean value1)
+ throws NotImplementedException
{
// TODO
}
@@ -101,6 +108,7 @@ public class VariableHeightLayoutCache extends AbstractLayoutCache
* @return boolean
*/
public boolean getExpandedState(TreePath value0)
+ throws NotImplementedException
{
return false; // TODO
}
@@ -112,6 +120,7 @@ public class VariableHeightLayoutCache extends AbstractLayoutCache
* @return Rectangle
*/
public Rectangle getBounds(TreePath value0, Rectangle value1)
+ throws NotImplementedException
{
return null; // TODO
}
@@ -122,6 +131,7 @@ public class VariableHeightLayoutCache extends AbstractLayoutCache
* @return TreePath
*/
public TreePath getPathForRow(int value0)
+ throws NotImplementedException
{
return null; // TODO
}
@@ -132,6 +142,7 @@ public class VariableHeightLayoutCache extends AbstractLayoutCache
* @return int
*/
public int getRowForPath(TreePath value0)
+ throws NotImplementedException
{
return 0; // TODO
}
@@ -141,6 +152,7 @@ public class VariableHeightLayoutCache extends AbstractLayoutCache
* @return int
*/
public int getRowCount()
+ throws NotImplementedException
{
return 0; // TODO
}
@@ -150,6 +162,7 @@ public class VariableHeightLayoutCache extends AbstractLayoutCache
* @param value0 TODO
*/
public void invalidatePathBounds(TreePath value0)
+ throws NotImplementedException
{
// TODO
}
@@ -159,6 +172,7 @@ public class VariableHeightLayoutCache extends AbstractLayoutCache
* @return int
*/
public int getPreferredHeight()
+ throws NotImplementedException
{
return 0; // TODO
}
@@ -169,6 +183,7 @@ public class VariableHeightLayoutCache extends AbstractLayoutCache
* @return int
*/
public int getPreferredWidth(Rectangle value0)
+ throws NotImplementedException
{
return 0; // TODO
}
@@ -180,6 +195,7 @@ public class VariableHeightLayoutCache extends AbstractLayoutCache
* @return TreePath
*/
public TreePath getPathClosestTo(int value0, int value1)
+ throws NotImplementedException
{
return null; // TODO
}
@@ -190,6 +206,7 @@ public class VariableHeightLayoutCache extends AbstractLayoutCache
* @return Enumeration
*/
public Enumeration getVisiblePathsFrom(TreePath value0)
+ throws NotImplementedException
{
return null; // TODO
}
@@ -200,6 +217,7 @@ public class VariableHeightLayoutCache extends AbstractLayoutCache
* @return int
*/
public int getVisibleChildCount(TreePath value0)
+ throws NotImplementedException
{
return 0; // TODO
}
@@ -208,6 +226,7 @@ public class VariableHeightLayoutCache extends AbstractLayoutCache
* invalidateSizes
*/
public void invalidateSizes()
+ throws NotImplementedException
{
// TODO
}
@@ -218,6 +237,7 @@ public class VariableHeightLayoutCache extends AbstractLayoutCache
* @return boolean
*/
public boolean isExpanded(TreePath value0)
+ throws NotImplementedException
{
return false; // TODO
}
@@ -227,6 +247,7 @@ public class VariableHeightLayoutCache extends AbstractLayoutCache
* @param value0 TODO
*/
public void treeNodesChanged(TreeModelEvent value0)
+ throws NotImplementedException
{
// TODO
}
@@ -236,6 +257,7 @@ public class VariableHeightLayoutCache extends AbstractLayoutCache
* @param value0 TODO
*/
public void treeNodesInserted(TreeModelEvent value0)
+ throws NotImplementedException
{
// TODO
}
@@ -245,6 +267,7 @@ public class VariableHeightLayoutCache extends AbstractLayoutCache
* @param value0 TODO
*/
public void treeNodesRemoved(TreeModelEvent value0)
+ throws NotImplementedException
{
// TODO
}
@@ -254,6 +277,7 @@ public class VariableHeightLayoutCache extends AbstractLayoutCache
* @param value0 TODO
*/
public void treeStructureChanged(TreeModelEvent value0)
+ throws NotImplementedException
{
// TODO
}