Please note that this translation of the specification is the result of a java.net community project ( https://jdk5-api-pt-br.dev.java.net/ ). The official version of the specification is the US English language version which can be found at http://java.sun.com/j2se/1.5.0/docs/api/. In case of disputes, the authoritative version of the specification is the original, English document.
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 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
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
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
Copyright 2006 Sun Microsystems, Inc. Todos os direitos reservados. O uso está sujeito aos termos da licensa.