THIS
- Self-referential generic THISpublic interface FluentSizeable<THIS extends FluentSizeable<THIS>>
extends com.vaadin.server.Sizeable
Sizeable
Sizeable
Modifier and Type | Method and Description |
---|---|
default THIS |
withFullHeight()
Sets the height to 100%.
|
default THIS |
withFullSize()
Sets the size to 100% x 100%.
|
default THIS |
withFullWidth()
Sets the width to 100%.
|
default THIS |
withHeight(float height,
com.vaadin.server.Sizeable.Unit unit)
Sets the height of the object.
|
default THIS |
withHeight(String height)
Sets the height of the component using String presentation.
|
default THIS |
withSize(String width,
String height) |
default THIS |
withUndefinedHeight()
Clears any defined height
|
default THIS |
withUndefinedSize()
Clears any size settings.
|
default THIS |
withUndefinedWidth()
Clears any defined width
|
default THIS |
withWidth(float width,
com.vaadin.server.Sizeable.Unit unit)
Sets the width of the object.
|
default THIS |
withWidth(String width)
Sets the width of the component using String presentation.
|
default THIS withHeight(String height)
height
- in CSS style string representationSizeable.setHeight(java.lang.String)
default THIS withHeight(float height, com.vaadin.server.Sizeable.Unit unit)
height
- the height of the object.unit
- the unit used for the width.Sizeable.setHeight(float, com.vaadin.server.Sizeable.Unit)
default THIS withWidth(String width)
width
- in CSS style string representation, null or empty string to
resetSizeable.setWidth(java.lang.String)
default THIS withWidth(float width, com.vaadin.server.Sizeable.Unit unit)
width
- the width of the object.unit
- the unit used for the width.Sizeable.setWidth(float, com.vaadin.server.Sizeable.Unit)
default THIS withFullSize()
Sizeable.setSizeFull()
default THIS withFullWidth()
default THIS withFullHeight()
default THIS withUndefinedSize()
Sizeable.setSizeUndefined()
default THIS withUndefinedWidth()
Sizeable.setWidthUndefined()
default THIS withUndefinedHeight()
Sizeable.setHeightUndefined()
Copyright © 2017 Jean-Christophe Fortier. All rights reserved.