com.sencha.gxt.widget.core.client.container
Interface HasSize

All Known Implementing Classes:
BorderLayoutContainer.BorderLayoutData, CssFloatLayoutContainer.CssFloatData

public interface HasSize

A class that implements this interface has a size specification. This interface provides access to the size specification without compromising the ability to provide a mock container instance in JRE unit tests.


Method Summary
 double getSize()
          Returns the size specification.
 void setSize(double size)
          Sets the size specification.
 

Method Detail

getSize

double getSize()
Returns the size specification. Values greater than 1 represent height in pixels. Values between 0 and 1 (inclusive) represent a percent of the height of the container.

Returns:
the size specification

setSize

void setSize(double size)
Sets the size specification. Values greater than 1 represent height in pixels. Values between 0 and 1 (inclusive) represent a percent of the height of the container.

Parameters:
size - the size specification


Copyright © 2012. All Rights Reserved.