Class KeyboardNavigation
- java.lang.Object
-
- com.vaadin.flow.component.charts.model.AbstractConfigurationObject
-
- com.vaadin.flow.component.charts.model.KeyboardNavigation
-
- All Implemented Interfaces:
Serializable
public class KeyboardNavigation extends AbstractConfigurationObject
Options for keyboard navigation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description KeyboardNavigation()
KeyboardNavigation(Boolean enabled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
getEnabled()
Boolean
getSkipNullPoints()
Boolean
getTabThroughChartElements()
void
setEnabled(Boolean enabled)
Enable keyboard navigation for the chart.void
setSkipNullPoints(Boolean skipNullPoints)
Skip null points when navigating through points with the keyboard.void
setTabThroughChartElements(Boolean tabThroughChartElements)
Enable tab navigation for points.
-
-
-
Constructor Detail
-
KeyboardNavigation
public KeyboardNavigation()
-
KeyboardNavigation
public KeyboardNavigation(Boolean enabled)
-
-
Method Detail
-
getEnabled
public Boolean getEnabled()
- See Also:
setEnabled(Boolean)
-
setEnabled
public void setEnabled(Boolean enabled)
Enable keyboard navigation for the chart.Defaults to: true
-
getSkipNullPoints
public Boolean getSkipNullPoints()
- See Also:
setSkipNullPoints(Boolean)
-
setSkipNullPoints
public void setSkipNullPoints(Boolean skipNullPoints)
Skip null points when navigating through points with the keyboard.Defaults to: false
-
getTabThroughChartElements
public Boolean getTabThroughChartElements()
- See Also:
setTabThroughChartElements(Boolean)
-
setTabThroughChartElements
public void setTabThroughChartElements(Boolean tabThroughChartElements)
Enable tab navigation for points. Without this, only arrow keys can be used to navigate between points.Defaults to: true
-
-