|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object extended by javax.swing.tree.AbstractLayoutCache.NodeDimensions
public abstract static class AbstractLayoutCache.NodeDimensions
Used by AbstractLayoutCache
to determine the size
and x origin of a particular node.
Constructor Summary | |
---|---|
AbstractLayoutCache.NodeDimensions()
|
Method Summary | |
---|---|
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 value
Rectangle
containing the node dimensions,
or null
if node has no dimension
|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
Scripting on this page tracks web page traffic, but does not change the content in any way.