Class LegendNavigation
java.lang.Object
com.vaadin.componentfactory.maps.model.AbstractConfigurationObject
com.vaadin.componentfactory.maps.model.LegendNavigation
- All Implemented Interfaces:
Serializable
@Generated(value="This class was generated",
comments="Incorrect and missing API should be reported")
public class LegendNavigation
extends AbstractConfigurationObject
Options for the paging or navigation appearing when the legend is overflown. When legend.useHTML is enabled, navigation is disabled.
For demo cases, see the legend.navigation options for basic Highcharts.
- Version:
- $Id: $Id
- Author:
- Vaadin
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor for LegendNavigation.LegendNavigation(Boolean enabled) Constructor for LegendNavigation. -
Method Summary
Modifier and TypeMethodDescriptionGetter for the fieldactiveColor.Getter for the fieldanimation.Getter for the fieldarrowSize.Getter for the fieldenabled.Getter for the fieldinactiveColor.getStyle()Getter for the fieldstyle.voidsetActiveColor(Color activeColor) The color for the active up or down arrow in the legend page navigation.voidsetAnimation(Boolean animation) How to animate the pages when navigating up or down.voidsetArrowSize(Number arrowSize) The pixel size of the up and down arrows in the legend paging navigation. .voidsetEnabled(Boolean enabled) Whether to enable the legend navigation.voidsetInactiveColor(Color inactiveColor) The color of the inactive up or down arrow in the legend page navigation. .voidText styles for the legend page navigation.
-
Constructor Details
-
LegendNavigation
public LegendNavigation()Constructor for LegendNavigation.
-
LegendNavigation
Constructor for LegendNavigation.
- Parameters:
enabled- aBooleanobject.
-
-
Method Details
-
getActiveColor
Getter for the field
activeColor.- Returns:
- a
Colorobject. - See Also:
-
setActiveColor
The color for the active up or down arrow in the legend page navigation.Defaults to: #3E576F
- Parameters:
activeColor- aColorobject.
-
getAnimation
Getter for the field
animation.- Returns:
- a
Booleanobject. - See Also:
-
setAnimation
How to animate the pages when navigating up or down. A value oftrueapplies the default navigation given in the chart.animation option. Additional options can be given as an object containing values for easing and duration. .Defaults to: true
- Parameters:
animation- aBooleanobject.
-
getArrowSize
Getter for the field
arrowSize.- Returns:
- a
Numberobject. - See Also:
-
setArrowSize
The pixel size of the up and down arrows in the legend paging navigation. .Defaults to: 12
- Parameters:
arrowSize- aNumberobject.
-
getEnabled
Getter for the field
enabled.- Returns:
- a
Booleanobject. - See Also:
-
setEnabled
Whether to enable the legend navigation. In most cases, disabling the navigation results in an unwanted overflow.Defaults to: true
- Parameters:
enabled- aBooleanobject.
-
getInactiveColor
Getter for the field
inactiveColor.- Returns:
- a
Colorobject. - See Also:
-
setInactiveColor
The color of the inactive up or down arrow in the legend page navigation. .Defaults to: #CCC
- Parameters:
inactiveColor- aColorobject.
-
getStyle
Getter for the field
style.- Returns:
- a
Styleobject. - See Also:
-
setStyle
Text styles for the legend page navigation.- Parameters:
style- aStyleobject.
-