javax.swing.tree

Class FixedHeightLayoutCache

Implemented Interfaces:
RowMapper

public class FixedHeightLayoutCache
extends AbstractLayoutCache

FixedHeightLayoutCache

Nested Class Summary

Nested classes/interfaces inherited from class javax.swing.tree.AbstractLayoutCache

AbstractLayoutCache.NodeDimensions

Field Summary

Fields inherited from class javax.swing.tree.AbstractLayoutCache

nodeDimensions, rootVisible, rowHeight, treeModel, treeSelectionModel

Constructor Summary

FixedHeightLayoutCache()
Constructor FixedHeightLayoutCache

Method Summary

Rectangle
getBounds(TreePath value0, Rectangle value1)
getBounds
boolean
getExpandedState(TreePath value0)
getExpandedState
TreePath
getPathClosestTo(int value0, int value1)
getPathClosestTo
TreePath
getPathForRow(int row)
getPathForRow
int
getRowCount()
getRowCount
int
getRowForPath(TreePath value0)
getRowForPath
int
getVisibleChildCount(TreePath value0)
getVisibleChildCount
Enumeration
getVisiblePathsFrom(TreePath value0)
getVisiblePathsFrom
void
invalidatePathBounds(TreePath value0)
invalidatePathBounds
void
invalidateSizes()
invalidateSizes
boolean
isExpanded(TreePath value0)
isExpanded
void
setExpandedState(TreePath value0, boolean value1)
setExpandedState
void
treeNodesChanged(TreeModelEvent value0)
treeNodesChanged
void
treeNodesInserted(TreeModelEvent value0)
treeNodesInserted
void
treeNodesRemoved(TreeModelEvent value0)
treeNodesRemoved
void
treeStructureChanged(TreeModelEvent value0)
treeStructureChanged

Methods inherited from class javax.swing.tree.AbstractLayoutCache

getBounds, getExpandedState, getModel, getNodeDimensions, getNodeDimensions, getPathClosestTo, getPathForRow, getPreferredHeight, getPreferredWidth, getRowCount, getRowForPath, getRowHeight, getRowsForPaths, getSelectionModel, getVisibleChildCount, getVisiblePathsFrom, invalidatePathBounds, invalidateSizes, isExpanded, isFixedRowHeight, isRootVisible, setExpandedState, setModel, setNodeDimensions, setRootVisible, setRowHeight, setSelectionModel, treeNodesChanged, treeNodesInserted, treeNodesRemoved, treeStructureChanged

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

FixedHeightLayoutCache

public FixedHeightLayoutCache()
Constructor FixedHeightLayoutCache

Method Details

getBounds

public Rectangle getBounds(TreePath value0,
                           Rectangle value1)
getBounds
Overrides:
getBounds in interface AbstractLayoutCache
Parameters:
value0 - TODO
value1 - TODO

getExpandedState

public boolean getExpandedState(TreePath value0)
getExpandedState
Overrides:
getExpandedState in interface AbstractLayoutCache
Parameters:
value0 - TODO

getPathClosestTo

public TreePath getPathClosestTo(int value0,
                                 int value1)
getPathClosestTo
Overrides:
getPathClosestTo in interface AbstractLayoutCache
Parameters:
value0 - TODO
value1 - TODO

getPathForRow

public TreePath getPathForRow(int row)
getPathForRow
Overrides:
getPathForRow in interface AbstractLayoutCache
Parameters:
row - TODO

getRowCount

public int getRowCount()
getRowCount
Overrides:
getRowCount in interface AbstractLayoutCache

getRowForPath

public int getRowForPath(TreePath value0)
getRowForPath
Overrides:
getRowForPath in interface AbstractLayoutCache
Parameters:
value0 - TODO

getVisibleChildCount

public int getVisibleChildCount(TreePath value0)
getVisibleChildCount
Overrides:
getVisibleChildCount in interface AbstractLayoutCache
Parameters:
value0 - TODO

getVisiblePathsFrom

public Enumeration getVisiblePathsFrom(TreePath value0)
getVisiblePathsFrom
Overrides:
getVisiblePathsFrom in interface AbstractLayoutCache
Parameters:
value0 - TODO

invalidatePathBounds

public void invalidatePathBounds(TreePath value0)
invalidatePathBounds
Overrides:
invalidatePathBounds in interface AbstractLayoutCache
Parameters:
value0 - TODO

invalidateSizes

public void invalidateSizes()
invalidateSizes
Overrides:
invalidateSizes in interface AbstractLayoutCache

isExpanded

public boolean isExpanded(TreePath value0)
isExpanded
Overrides:
isExpanded in interface AbstractLayoutCache
Parameters:
value0 - TODO

setExpandedState

public void setExpandedState(TreePath value0,
                             boolean value1)
setExpandedState
Overrides:
setExpandedState in interface AbstractLayoutCache
Parameters:
value0 - TODO
value1 - TODO

treeNodesChanged

public void treeNodesChanged(TreeModelEvent value0)
treeNodesChanged
Overrides:
treeNodesChanged in interface AbstractLayoutCache
Parameters:
value0 - TODO

treeNodesInserted

public void treeNodesInserted(TreeModelEvent value0)
treeNodesInserted
Overrides:
treeNodesInserted in interface AbstractLayoutCache
Parameters:
value0 - TODO

treeNodesRemoved

public void treeNodesRemoved(TreeModelEvent value0)
treeNodesRemoved
Overrides:
treeNodesRemoved in interface AbstractLayoutCache
Parameters:
value0 - TODO

treeStructureChanged

public void treeStructureChanged(TreeModelEvent value0)
treeStructureChanged
Overrides:
treeStructureChanged in interface AbstractLayoutCache
Parameters:
value0 - TODO

FixedHeightLayoutCache.java -- Copyright (C) 2002, 2004 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination. As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.