public static class HorizontalLayoutContainer.HorizontalLayoutData extends MarginData implements HasWidth, HasHeight, LayoutData
Constructor and Description |
---|
HorizontalLayoutContainer.HorizontalLayoutData()
Creates horizontal layout parameters with default values for
height (-1) and width (-1) and
margins (none). |
HorizontalLayoutContainer.HorizontalLayoutData(double width,
double height)
Creates horizontal layout parameters with the specified values.
|
HorizontalLayoutContainer.HorizontalLayoutData(double width,
double height,
Margins margins)
Creates horizontal layout parameters with the specified values.
|
Modifier and Type | Method and Description |
---|---|
double |
getHeight()
Returns the height specification.
|
double |
getWidth()
Returns the width specification.
|
void |
setHeight(double height)
Sets the height specification.
|
void |
setWidth(double width)
Sets the width specification.
|
getMargins, setMargins
@UiConstructor public HorizontalLayoutContainer.HorizontalLayoutData()
height
(-1) and width
(-1) and
margins
(none).public HorizontalLayoutContainer.HorizontalLayoutData(double width, double height)
public HorizontalLayoutContainer.HorizontalLayoutData(double width, double height, Margins margins)
width
- the width specification (see HasWidth
)height
- the height specification (see HasHeight
)margins
- the margin specification (see HasMargins
)public double getHeight()
HasHeight
public double getWidth()
HasWidth
public void setHeight(double height)
HasHeight
public void setWidth(double width)
HasWidth
Copyright © 2015. All rights reserved.