|Modifier and Type||Method||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. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.