|
Spec-Zone .ru
спецификации, руководства, описания, API
|
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.tree.AbstractLayoutCache.NodeDimensions
javax.swing.plaf.basic.BasicTreeUI.NodeDimensionsHandler
public class BasicTreeUI.NodeDimensionsHandler
Class responsible for getting size of node, method is forwarded to BasicTreeUI method. X location does not include insets, that is handled in getPathBounds.
| Constructor Summary | |
|---|---|
BasicTreeUI.NodeDimensionsHandler()
|
|
| Method Summary | |
|---|---|
Rectangle |
getNodeDimensions(Object value,
int row,
int depth,
boolean expanded,
Rectangle size)
Responsible for getting the size of a particular node. |
protected int |
getRowX(int row,
int depth)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicTreeUI.NodeDimensionsHandler()
| Method Detail |
|---|
public Rectangle getNodeDimensions(Object value,
int row,
int depth,
boolean expanded,
Rectangle size)
getNodeDimensions in class AbstractLayoutCache.NodeDimensionsvalue - the value to be representedrow - row being querieddepth - the depth of the rowexpanded - true if row is expanded, false otherwisesize - a Rectangle containing the size needed
to represent value
Rectangle containing the node dimensions,
or null if node has no dimension
protected int getRowX(int row,
int depth)
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the .