Example usage for Java com.vaadin.server Sizeable fields, constructors, methods, implement or subclass
The text is from its open source code.
Unit | UNITS_PIXELS |
Unit | UNITS_PERCENTAGE |
float | SIZE_UNDEFINED |
float | getHeight() Gets the height of the object. |
Unit | getHeightUnits() Gets the height property units. |
float | getWidth() Gets the width of the object. |
Unit | getWidthUnits() Gets the width property units. |
void | setHeight(float height, Unit unit) Sets the height of the object. |
void | setHeight(String height) Sets the height of the component using String presentation. |
void | setSizeFull() Sets the size to 100% x 100%. |
void | setSizeUndefined() Clears any size settings. |
void | setWidth(float width, Unit unit) Sets the width of the object. |
void | setWidth(String width) Sets the width of the component using String presentation. |