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