|
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.Objectjavax.swing.tree.AbstractLayoutCache.NodeDimensions
public abstract static class AbstractLayoutCache.NodeDimensions extends Object
Used by AbstractLayoutCache to determine the size
and x origin of a particular node.
| Constructor and Description |
|---|
AbstractLayoutCache.NodeDimensions()
|
| Modifier and Type | Method and Description |
|---|---|
abstract Rectangle |
getNodeDimensions(Object value,
int row,
int depth,
boolean expanded,
Rectangle bounds)
Returns, by reference in bounds, the size and x origin to place value at. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractLayoutCache.NodeDimensions()
| Method Detail |
|---|
public abstract Rectangle getNodeDimensions(Object value,
int row,
int depth,
boolean expanded,
Rectangle bounds)
null, a newly created
Rectangle should be returned,
otherwise the value should be placed in bounds and returned.
value - the value to be representedrow - row being querieddepth - the depth of the rowexpanded - true if row is expanded, false otherwisebounds - a Rectangle containing the size needed
to represent valueRectangle containing the node dimensions,
or null if node has no dimension
|
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.