Package org.zkoss.chart
Class LangScreenReaderSection
- java.lang.Object
-
- org.zkoss.chart.Optionable
-
- org.zkoss.chart.LangScreenReaderSection
-
- All Implemented Interfaces:
Serializable
,OptionDataListener
,org.zkoss.json.JSONAware
public class LangScreenReaderSection extends Optionable
Language options for the screen reader information sections added before and after the charts.- 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 LangScreenReaderSection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAfterRegionLabel()
Default:""
LangScreenReaderSectionAnnotations
getAnnotations()
Returns language options for annotation descriptions.String
getBeforeRegionLabel()
Default:""
String
getEndOfChartMarker()
Returns label for the end of the chart.void
setAfterRegionLabel(String afterRegionLabel)
void
setAnnotations(LangScreenReaderSectionAnnotations annotations)
Sets language options for annotation descriptions.void
setBeforeRegionLabel(String beforeRegionLabel)
void
setEndOfChartMarker(String endOfChartMarker)
Sets label for the end of the chart.-
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
-
getAfterRegionLabel
public String getAfterRegionLabel()
Default:
""
-
setAfterRegionLabel
public void setAfterRegionLabel(String afterRegionLabel)
-
getAnnotations
public LangScreenReaderSectionAnnotations getAnnotations()
Returns language options for annotation descriptions. If null, create a new one.
-
setAnnotations
public void setAnnotations(LangScreenReaderSectionAnnotations annotations)
Sets language options for annotation descriptions.
-
getBeforeRegionLabel
public String getBeforeRegionLabel()
Default:
""
-
setBeforeRegionLabel
public void setBeforeRegionLabel(String beforeRegionLabel)
-
getEndOfChartMarker
public String getEndOfChartMarker()
Returns label for the end of the chart. Announced by screen readers.Default:
"End of interactive chart."
-
setEndOfChartMarker
public void setEndOfChartMarker(String endOfChartMarker)
Sets label for the end of the chart. Announced by screen readers.
-
-