Package com.smartgwt.client.widgets
Class AdaptHeightByCustomizer
java.lang.Object
com.smartgwt.client.widgets.AdaptHeightByCustomizer
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionabstract intadaptHeightBy(int deltaY, int unadaptedHeight) WhencanAdaptHeighthas been set true for aCanvas, this routine will be called to negotiate a new height when a surplus of space or overflow has occurred in the parentLayout.Returns the Canvas associated with this customizer.protected void 
- 
Constructor Details
- 
AdaptHeightByCustomizer
public AdaptHeightByCustomizer() 
 - 
 - 
Method Details
- 
setCanvas
 - 
getCanvas
Returns the Canvas associated with this customizer.- Returns:
 - the canvas
 
 - 
adaptHeightBy
public abstract int adaptHeightBy(int deltaY, int unadaptedHeight) WhencanAdaptHeighthas been set true for aCanvas, this routine will be called to negotiate a new height when a surplus of space or overflow has occurred in the parentLayout.- Parameters:
 deltaY- number of vertical pixels available (positive) or overflowed (negative)unadaptedHeight- height of member currently assumed by parent layout- Returns:
 - number of pixels that this Canvas is willing to take (positive) or surrender (negative)
 - See Also:
 
 
 -