public abstract class AdaptHeightByCustomizer
extends java.lang.Object
| Constructor and Description |
|---|
AdaptHeightByCustomizer() |
| Modifier and Type | Method and Description |
|---|---|
abstract int |
adaptHeightBy(int deltaY,
int unadaptedHeight)
When
canAdaptHeight has
been set true for a Canvas, this routine will
be called to negotiate a new height when a surplus of space or overflow has occurred in
the parent Layout. |
Canvas |
getCanvas()
Returns the Canvas associated with this customizer.
|
protected void |
setCanvas(Canvas canvas) |
protected void setCanvas(Canvas canvas)
public Canvas getCanvas()
public abstract int adaptHeightBy(int deltaY,
int unadaptedHeight)
canAdaptHeight has
been set true for a Canvas, this routine will
be called to negotiate a new height when a surplus of space or overflow has occurred in
the parent Layout.deltaY - number of vertical pixels available (positive) or overflowed (negative)unadaptedHeight - height of member currently assumed by parent layoutCanvas.setCanAdaptHeight(java.lang.Boolean)