
public static class VerticalLayoutContainer.VerticalLayoutData extends MarginData implements HasWidth, HasHeight, LayoutData
| Constructor and Description |
|---|
VerticalLayoutContainer.VerticalLayoutData()
Creates vertical layout parameters with default values for
height (-1) and width (-1) and
margins (none). |
VerticalLayoutContainer.VerticalLayoutData(double width,
double height)
Creates vertical layout parameters with the specified values.
|
VerticalLayoutContainer.VerticalLayoutData(double width,
double height,
Margins margins)
Creates ertical 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, setMarginspublic VerticalLayoutContainer.VerticalLayoutData()
height (-1) and width (-1) and
margins (none).public VerticalLayoutContainer.VerticalLayoutData(double width,
double height)
public VerticalLayoutContainer.VerticalLayoutData(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()
HasHeightpublic double getWidth()
HasWidthpublic void setHeight(double height)
HasHeightpublic void setWidth(double width)
HasWidthCopyright © 2016. All rights reserved.