Derive creates a disconnected node that shares all the properties of the original node. The derived node will no
longer have any parent, silbling, child or any other relationships with other nodes.
Returns the cached y position. This position is known after all layouting steps have been finished. In most
cases the layouter tries to reuse the cached values instead of recomputing everything from scratch on each
iteration.
The cached positions always specify the border-box. If the user specified sizes as content-box sizes, the
layouter converts them into border-box sizes before filling the cache.
the cached x position
Returns the cached y position. This position is known after all layouting steps have been finished. In most
cases the layouter tries to reuse the cached values instead of recomputing everything from scratch on each
iteration.
The cached positions always specify the border-box. If the user specified sizes as content-box sizes, the
layouter converts them into border-box sizes before filling the cache.
the cached y position
Derives an hibernation copy. The resulting object should get stripped of all unnecessary caching information and
all objects, which will be regenerated when the layouting restarts. Size does matter here.
If that method returns true, the element will not be used for rendering. For the purpose of computing sizes or
performing the layouting (in the validate() step), this element will treated as if it is not there.
If the element reports itself as non-empty, however, it will affect the margin computation.
Defines the cached x position. This position is known after all layouting steps have been finished. In most
cases the layouter tries to reuse the cached values instead of recomputing everything from scratch on each
iteration.
The cached positions always specify the border-box. If the user specified sizes as content-box sizes, the
layouter converts them into border-box sizes before filling the cache.
Parameters: cachedX - the cached x position
Defines the cached y position. This position is known after all layouting steps have been finished. In most
cases the layouter tries to reuse the cached values instead of recomputing everything from scratch on each
iteration.
The cached positions always specify the border-box. If the user specified sizes as content-box sizes, the
layouter converts them into border-box sizes before filling the cache.
Parameters: cachedY - the cached y position
setComputedWidth
public void setComputedWidth(long computedWidth)(Code)
Defines the computed width. The computed-width is a static-property and is always specified as border-box size.
Parameters: computedWidth -