Class ButtonOptions
java.lang.Object
com.vaadin.flow.component.charts.model.AbstractConfigurationObject
com.vaadin.flow.component.charts.model.ButtonOptions
- All Implemented Interfaces:
Serializable
A collection of options for buttons appearing in the exporting module.
In
styled mode, the buttons are styled with the
.highcharts-contextbutton
and
.highcharts-button-symbol
class.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAlign()
getText()
getWidth()
getY()
void
setAlign
(HorizontalAlign align) Alignment for the buttons.void
setEnabled
(Boolean enabled) Whether to enable buttons.void
Pixel height of the buttons.void
setSymbolFill
(Color symbolFill) Fill color for the symbol within the button.void
setSymbolSize
(Number symbolSize) The pixel size of the symbol on the button.void
setSymbolStroke
(Color symbolStroke) The color of the symbol's stroke or line.void
setSymbolStrokeWidth
(Number symbolStrokeWidth) The pixel stroke width of the symbol on the button.void
setSymbolX
(Number symbolX) The x position of the center of the symbol inside the button.void
setSymbolY
(Number symbolY) The y position of the center of the symbol inside the button.void
A text string to add to the individual button.void
setVerticalAlign
(VerticalAlign verticalAlign) The vertical alignment of the buttons.void
The pixel width of the button.void
The vertical offset of the button's position relative to itsverticalAlign
.
-
Constructor Details
-
ButtonOptions
public ButtonOptions() -
ButtonOptions
-
ButtonOptions
-
-
Method Details
-
getAlign
- See Also:
-
setAlign
Alignment for the buttons.Defaults to: right
-
getEnabled
- See Also:
-
setEnabled
Whether to enable buttons.Defaults to: true
-
getHeight
- See Also:
-
setHeight
Pixel height of the buttons.Defaults to: 20
-
getSymbolFill
- See Also:
-
setSymbolFill
Fill color for the symbol within the button.Defaults to: #666666
-
getSymbolSize
- See Also:
-
setSymbolSize
The pixel size of the symbol on the button.Defaults to: 14
-
getSymbolStroke
- See Also:
-
setSymbolStroke
The color of the symbol's stroke or line.Defaults to: #666666
-
getSymbolStrokeWidth
- See Also:
-
setSymbolStrokeWidth
The pixel stroke width of the symbol on the button.Defaults to: 1
-
getSymbolX
- See Also:
-
setSymbolX
The x position of the center of the symbol inside the button.Defaults to: 12.5
-
getSymbolY
- See Also:
-
setSymbolY
The y position of the center of the symbol inside the button.Defaults to: 10.5
-
getText
- See Also:
-
setText
A text string to add to the individual button.Defaults to: null
-
getVerticalAlign
- See Also:
-
setVerticalAlign
The vertical alignment of the buttons. Can be one of "top", "middle" or "bottom".Defaults to: top
-
getWidth
- See Also:
-
setWidth
The pixel width of the button.Defaults to: 24
-
getY
- See Also:
-
setY
The vertical offset of the button's position relative to itsverticalAlign
. .Defaults to: 0
-