com.vaadin.flow.component.charts.model.
Class ButtonPosition
All Implemented Interfaces:
Positioning options for DrillUpButton
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetX()
getY()
void
setHorizontalAlign
(HorizontalAlign horizontalAlign) The horizontal alignment of the button.
void
setVerticalAlign
(VerticalAlign verticalAlign) Sets the vertical alignment of the button.
void
The X position of the button.
void
The Y position of the button.
-
Constructor Details
-
ButtonPosition
public ButtonPosition()
-
-
Method Details
-
getVerticalAlign
Returns:
the verticalAlign
See Also:
-
setVerticalAlign
Sets the vertical alignment of the button. Can be one of
VerticalAlign.TOP
,VerticalAlign.MIDDLE
andVerticalAlign.BOTTOM
.Parameters:
verticalAlign
- the align to set -
getHorizontalAlign
Returns:
the horizontal alignment
See Also:
-
setHorizontalAlign
The horizontal alignment of the button. Can be one of
HorizontalAlign.LEFT
,HorizontalAlign.CENTER
andHorizontalAlign.RIGHT
. .Parameters:
horizontalAlign
- the alignment to set -
getX
Returns:
the X position of the button
See Also:
-
setX
The X position of the button.
Parameters:
x
- the X position to set -
getY
Returns:
the Y position of the button
See Also:
-
setY
The Y position of the button.
Parameters:
y
- the Y position to set
-