Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.tree.AbstractLayoutCache.NodeDimensions javax.swing.plaf.basic.BasicTreeUI.NodeDimensionsHandler
public class BasicTreeUI.NodeDimensionsHandler extends AbstractLayoutCache.NodeDimensions
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 and Description |
---|
BasicTreeUI.NodeDimensionsHandler()
|
Modifier and Type | Method and Description |
---|---|
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.NodeDimensions
value
- 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 dimensionprotected int getRowX(int row, int depth)
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.