Class ButtonPosition
- java.lang.Object
-
- com.vaadin.flow.component.charts.model.AbstractConfigurationObject
-
- com.vaadin.flow.component.charts.model.ButtonPosition
-
- All Implemented Interfaces:
Serializable
public class ButtonPosition extends AbstractConfigurationObject
Positioning options forDrillUpButton- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ButtonPosition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HorizontalAligngetHorizontalAlign()VerticalAligngetVerticalAlign()NumbergetX()NumbergetY()voidsetHorizontalAlign(HorizontalAlign horizontalAlign)The horizontal alignment of the button.voidsetVerticalAlign(VerticalAlign verticalAlign)Sets the vertical alignment of the button.voidsetX(Number x)The X position of the button.voidsetY(Number y)The Y position of the button.
-
-
-
Method Detail
-
getVerticalAlign
public VerticalAlign getVerticalAlign()
- Returns:
- the verticalAlign
- See Also:
setVerticalAlign(VerticalAlign)
-
setVerticalAlign
public void setVerticalAlign(VerticalAlign verticalAlign)
Sets the vertical alignment of the button. Can be one ofVerticalAlign.TOP,VerticalAlign.MIDDLEandVerticalAlign.BOTTOM.- Parameters:
verticalAlign- the align to set
-
getHorizontalAlign
public HorizontalAlign getHorizontalAlign()
- Returns:
- the horizontal alignment
- See Also:
setHorizontalAlign(HorizontalAlign)
-
setHorizontalAlign
public void setHorizontalAlign(HorizontalAlign horizontalAlign)
The horizontal alignment of the button. Can be one ofHorizontalAlign.LEFT,HorizontalAlign.CENTERandHorizontalAlign.RIGHT. .- Parameters:
horizontalAlign- the alignment to set
-
getX
public Number getX()
- Returns:
- the X position of the button
- See Also:
setX(Number)
-
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(Number)
-
setY
public void setY(Number y)
The Y position of the button.- Parameters:
y- the Y position to set
-
-