public abstract class AdaptWidthByCustomizer
extends java.lang.Object
| Constructor and Description | 
|---|
| AdaptWidthByCustomizer() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract int | adaptWidthBy(int deltaX,
            int unadaptedWidth)When  canAdaptWidthhas
 been set true for aCanvas, this routine will
 be called to negotiate a new width when a surplus of space or overflow has occurred in
 the parentLayout. | 
| 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 adaptWidthBy(int deltaX,
                                 int unadaptedWidth)
canAdaptWidth has
 been set true for a Canvas, this routine will
 be called to negotiate a new width when a surplus of space or overflow has occurred in
 the parent Layout.deltaX - number of horizontal pixels available (positive) or overflowed (negative)unadaptedWidth - width of member currently assumed by parent layoutCanvas.setCanAdaptWidth(java.lang.Boolean)