|Constructor and Description|
|Modifier and Type||Method and Description|
Returns, by reference in bounds, the size and x origin to place value at.
public abstract Rectangle getNodeDimensions(Object value, int row, int depth, boolean expanded, Rectangle bounds)
null, a newly created
Rectangleshould be returned, otherwise the value should be placed in bounds and returned.
valueto be represented
row- row being queried
depth- the depth of the row
expanded- true if row is expanded, false otherwise
Rectanglecontaining the size needed to represent
Rectanglecontaining the node dimensions, or
nullif node has no dimension
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.