Class DrillUpButton
java.lang.Object
com.vaadin.componentfactory.maps.model.AbstractConfigurationObject
com.vaadin.componentfactory.maps.model.DrillUpButton
- All Implemented Interfaces:
Serializable
Options for the drill up button that appears when drilling down on a series.
The text for the button is defined in
Lang.setDrillUpText(String).
Since Highcharts 10 this navigation is rendered by the breadcrumbs module, so
these options are forwarded to it. By default a single button back to the
previous level is rendered, which is how this button has always looked; see
setShowFullPath(Boolean) to render the whole drilldown path instead.
- Version:
- $Id: $Id
- Author:
- Vaadin
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for the fieldposition.Getter for the fieldrelativeTo.Getter for the fieldshowFullPath.getTheme()Getter for the fieldtheme.voidsetPosition(ButtonPosition position) Positioning options for the button within thesetRelativeTo(DrillUpButtonRelativeTo)box.voidsetRelativeTo(DrillUpButtonRelativeTo relativeTo) What box to align the button to.voidsetShowFullPath(Boolean showFullPath) Whentrue, the whole drilldown path is rendered as a list of buttons instead of a single button back to the previous level.voidsetTheme(ButtonTheme theme) A collection of attributes for the button.
-
Constructor Details
-
DrillUpButton
public DrillUpButton()
-
-
Method Details
-
getPosition
Getter for the field
position.- Returns:
- position
- See Also:
-
setPosition
Positioning options for the button within thesetRelativeTo(DrillUpButtonRelativeTo)box.- Parameters:
position- aButtonPositionobject.
-
getRelativeTo
Getter for the field
relativeTo.- Returns:
- relativeTo
- See Also:
-
setRelativeTo
What box to align the button to. Can be eitherDrillUpButtonRelativeTo.PLOTBOXorDrillUpButtonRelativeTo.SPACINGBOX. Defaults toDrillUpButtonRelativeTo.PLOTBOX- Parameters:
relativeTo- aDrillUpButtonRelativeToobject.
-
getTheme
Getter for the field
theme.- Returns:
- theme
- See Also:
-
setTheme
A collection of attributes for the button.- Parameters:
theme- aButtonThemeobject.
-
getShowFullPath
Getter for the field
showFullPath.- Returns:
- showFullPath
- See Also:
-
setShowFullPath
Whentrue, the whole drilldown path is rendered as a list of buttons instead of a single button back to the previous level. Requires Highcharts 10 or later, where this navigation is rendered by the breadcrumbs module. Defaults tofalse.- Parameters:
showFullPath- aBooleanobject.
-