com.vaadin.flow.component.charts.model.
Class DrillUpButton
- java.lang.Object
-
- com.vaadin.flow.component.charts.model.AbstractConfigurationObject
-
- com.vaadin.flow.component.charts.model.DrillUpButton
-
All Implemented Interfaces:
public class DrillUpButton extends AbstractConfigurationObject
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)
.See Also:
-
-
Constructor Summary
Constructors Constructor Description DrillUpButton()
-
Method Summary
All Methods Modifier and Type Method Description ButtonPosition
getPosition()
DrillUpButtonRelativeTo
getRelativeTo()
DrillUpButtonTheme
getTheme()
void
setPosition(ButtonPosition position)
Positioning options for the button within the
setRelativeTo(DrillUpButtonRelativeTo)
box.void
setRelativeTo(DrillUpButtonRelativeTo relativeTo)
What box to align the button to.
void
setTheme(DrillUpButtonTheme theme)
A collection of attributes for the button.
-
-
-
Method Detail
-
getPosition
public ButtonPosition getPosition()
Returns:
position
See Also:
-
setPosition
public void setPosition(ButtonPosition position)
Positioning options for the button within the
setRelativeTo(DrillUpButtonRelativeTo)
box.Parameters:
position
-
-
getRelativeTo
public DrillUpButtonRelativeTo getRelativeTo()
Returns:
relativeTo
See Also:
-
setRelativeTo
public void setRelativeTo(DrillUpButtonRelativeTo relativeTo)
What box to align the button to. Can be either
DrillUpButtonRelativeTo.PLOTBOX
orDrillUpButtonRelativeTo.SPACINGBOX
. Defaults toDrillUpButtonRelativeTo.PLOTBOX
Parameters:
relativeTo
-
-
getTheme
public DrillUpButtonTheme getTheme()
Returns:
theme
See Also:
-
setTheme
public void setTheme(DrillUpButtonTheme theme)
A collection of attributes for the button.
Parameters:
theme
-
-
-