public class ButtonPosition extends AbstractConfigurationObject
DrillUpButton| Constructor and Description |
|---|
ButtonPosition() |
| Modifier and Type | Method and 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.
|
public VerticalAlign getVerticalAlign()
setVerticalAlign(VerticalAlign)public void setVerticalAlign(VerticalAlign verticalAlign)
VerticalAlign.TOP, VerticalAlign.MIDDLE and
VerticalAlign.BOTTOM.verticalAlign - the align to setpublic HorizontalAlign getHorizontalAlign()
setHorizontalAlign(HorizontalAlign)public void setHorizontalAlign(HorizontalAlign horizontalAlign)
HorizontalAlign.LEFT, HorizontalAlign.CENTER and
HorizontalAlign.RIGHT. .horizontalAlign - the alignment to setpublic Number getX()
setX(Number)public void setX(Number x)
x - the X position to setpublic Number getY()
setY(Number)public void setY(Number y)
y - the Y position to setCopyright © 2020. All rights reserved.