Class ButtonPosition
java.lang.Object
com.vaadin.componentfactory.maps.model.AbstractConfigurationObject
com.vaadin.componentfactory.maps.model.ButtonPosition
- All Implemented Interfaces:
Serializable
Positioning options for
DrillUpButton- Version:
- $Id: $Id
- Author:
- Vaadin
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHorizontalAlign.Getter for the fieldverticalAlign.getX()Getter for the fieldx.getY()Getter for the fieldy.voidsetHorizontalAlign(HorizontalAlign horizontalAlign) The horizontal alignment of the button.voidsetVerticalAlign(VerticalAlign verticalAlign) Sets the vertical alignment of the button.voidThe X position of the button.voidThe Y position of the button.
-
Constructor Details
-
ButtonPosition
public ButtonPosition()
-
-
Method Details
-
getVerticalAlign
Getter for the field
verticalAlign.- Returns:
- the verticalAlign
- See Also:
-
setVerticalAlign
Sets the vertical alignment of the button. Can be one ofVerticalAlign.TOP,VerticalAlign.MIDDLEandVerticalAlign.BOTTOM.- Parameters:
verticalAlign- the align to set
-
getHorizontalAlign
getHorizontalAlign.
- Returns:
- the horizontal alignment
- See Also:
-
setHorizontalAlign
The horizontal alignment of the button. Can be one ofHorizontalAlign.LEFT,HorizontalAlign.CENTERandHorizontalAlign.RIGHT. .- Parameters:
horizontalAlign- the alignment to set
-
getX
Getter for the field
x.- Returns:
- the X position of the button
- See Also:
-
setX
The X position of the button.- Parameters:
x- the X position to set
-
getY
Getter for the field
y.- Returns:
- the Y position of the button
- See Also:
-
setY
The Y position of the button.- Parameters:
y- the Y position to set
-