Class Accessibility
- java.lang.Object
-
- com.vaadin.flow.component.charts.model.AbstractConfigurationObject
-
- com.vaadin.flow.component.charts.model.Accessibility
-
- All Implemented Interfaces:
Serializable
public class Accessibility extends AbstractConfigurationObject
Options for configuring accessibility for the chart. Requires the accessibility module to be loaded. For a description of the module and information on its features, see Highcharts Accessibility.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Accessibility()Accessibility(Boolean enabled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetDescribeSingleSeries()BooleangetEnabled()KeyboardNavigationgetKeyboardNavigation()StringgetOnTableAnchorClick()StringgetPointDateFormat()StringgetPointDateFormatter()StringgetPointDescriptionFormatter()StringgetScreenReaderSectionFormatter()StringgetSeriesDescriptionFormatter()voidsetDescribeSingleSeries(Boolean describeSingleSeries)Whether or not to add series descriptions to charts with a single series.voidsetEnabled(Boolean enabled)Enable accessibility features for the chart.voidsetKeyboardNavigation(KeyboardNavigation keyboardNavigation)Options for keyboard navigation.voidsetOnTableAnchorClick(String _fn_onTableAnchorClick)voidsetPointDateFormat(String pointDateFormat)Date format to use for points on datetime axes when describing them to screen reader users.voidsetPointDateFormatter(String _fn_pointDateFormatter)voidsetPointDescriptionFormatter(String _fn_pointDescriptionFormatter)voidsetScreenReaderSectionFormatter(String _fn_screenReaderSectionFormatter)voidsetSeriesDescriptionFormatter(String _fn_seriesDescriptionFormatter)
-
-
-
Constructor Detail
-
Accessibility
public Accessibility()
-
Accessibility
public Accessibility(Boolean enabled)
-
-
Method Detail
-
getDescribeSingleSeries
public Boolean getDescribeSingleSeries()
- See Also:
setDescribeSingleSeries(Boolean)
-
setDescribeSingleSeries
public void setDescribeSingleSeries(Boolean describeSingleSeries)
Whether or not to add series descriptions to charts with a single series.Defaults to: false
-
getEnabled
public Boolean getEnabled()
- See Also:
setEnabled(Boolean)
-
setEnabled
public void setEnabled(Boolean enabled)
Enable accessibility features for the chart.Defaults to: true
-
getKeyboardNavigation
public KeyboardNavigation getKeyboardNavigation()
-
setKeyboardNavigation
public void setKeyboardNavigation(KeyboardNavigation keyboardNavigation)
Options for keyboard navigation.
-
getOnTableAnchorClick
public String getOnTableAnchorClick()
-
setOnTableAnchorClick
public void setOnTableAnchorClick(String _fn_onTableAnchorClick)
-
getPointDateFormat
public String getPointDateFormat()
- See Also:
setPointDateFormat(String)
-
setPointDateFormat
public void setPointDateFormat(String pointDateFormat)
Date format to use for points on datetime axes when describing them to screen reader users.
Defaults to the same format as in tooltip.
For an overview of the replacement codes, see dateFormat.
-
getPointDateFormatter
public String getPointDateFormatter()
-
setPointDateFormatter
public void setPointDateFormatter(String _fn_pointDateFormatter)
-
getPointDescriptionFormatter
public String getPointDescriptionFormatter()
-
setPointDescriptionFormatter
public void setPointDescriptionFormatter(String _fn_pointDescriptionFormatter)
-
getScreenReaderSectionFormatter
public String getScreenReaderSectionFormatter()
-
setScreenReaderSectionFormatter
public void setScreenReaderSectionFormatter(String _fn_screenReaderSectionFormatter)
-
getSeriesDescriptionFormatter
public String getSeriesDescriptionFormatter()
-
setSeriesDescriptionFormatter
public void setSeriesDescriptionFormatter(String _fn_seriesDescriptionFormatter)
-
-