Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object 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 | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the