Package org.zkoss.chart
Class PointAccessibility
- java.lang.Object
-
- org.zkoss.chart.Optionable
-
- org.zkoss.chart.PointAccessibility
-
- All Implemented Interfaces:
Serializable
,OptionDataListener
,org.zkoss.json.JSONAware
public class PointAccessibility extends Optionable
Accessibility options for a point.- Since:
- 10.2.1.0
- Author:
- jumperchen
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.zkoss.chart.Optionable
NOT_NULL_VALUE, options
-
-
Constructor Summary
Constructors Constructor Description PointAccessibility()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
Returns the description of the data point, announced to screen readers.Boolean
isEnabled()
Returns whether to disable accessibility functionality for a specific point.void
setDescription(String description)
Sets the description of the data point, announced to screen readers.void
setEnabled(boolean enabled)
Sets whether to disable accessibility functionality for a specific point.-
Methods inherited from class org.zkoss.chart.Optionable
addExtraAttr, addOptionDataListener, clearOptonDataListener, clone, containsKey, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, getAttr, getAttr, getClientState, getExtraAttr, merge, onChange, removeExtraAttr, removeKey, removeOptionDataListener, setAttr, setAttr, setAttr, setAttr, toJSONString, toString
-
-
-
-
Method Detail
-
getDescription
public String getDescription()
Returns the description of the data point, announced to screen readers.Default:
null
-
setDescription
public void setDescription(String description)
Sets the description of the data point, announced to screen readers.Default:
null
-
isEnabled
public Boolean isEnabled()
Returns whether to disable accessibility functionality for a specific point. The point will not be included in keyboard navigation, and will not be exposed to assistive technology.Default: null
-
setEnabled
public void setEnabled(boolean enabled)
Sets whether to disable accessibility functionality for a specific point. The point will not be included in keyboard navigation, and will not be exposed to assistive technology.
-
-