Class DataLabelsOptionsBuilder
- java.lang.Object
- 
- org.pepstock.charba.client.commons.AbstractBaseBuilder
- 
- org.pepstock.charba.client.datalabels.AbstractBuilder<DataLabelsOptions>
- 
- org.pepstock.charba.client.datalabels.DataLabelsOptionsBuilder
 
 
 
- 
- All Implemented Interfaces:
- IsBuilder
 
 public final class DataLabelsOptionsBuilder extends AbstractBuilder<DataLabelsOptions> Comfortable object to createDataLabelsPlugin.IDplugin options by a builder.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DataLabelsOptionsbuild()Returns a configured labels options.static DataLabelsOptionsBuildercreate()Returns new builder instance.static DataLabelsOptionsBuildercreate(IsChart chart)Returns new builder instance using the chart global options.LabelItemBuildercreateLabel(String id)Returns new options builder for new label identified by id.LabelItemBuildercreateLabel(DataLabelId id)Returns new options builder for new label identified by id.LabelItemBuildergetLabel(String id)Returns the options builder for label identified by id.LabelItemBuildergetLabel(DataLabelId id)Returns the options builder for label identified by id- 
Methods inherited from class org.pepstock.charba.client.datalabels.AbstractBuildergetOptionsBuilder, setAlign, setAlign, setAlign, setAnchor, setAnchor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBorderColor, setBorderColor, setBorderColor, setBorderRadius, setBorderRadius, setBorderWidth, setBorderWidth, setClamp, setClamp, setClickEventHandler, setClip, setClip, setColor, setColor, setColor, setDisplay, setDisplay, setDisplay, setEnterEventHandler, setFont, setFontFamily, setFontLineHeight, setFontLineHeight, setFontSize, setFontStyle, setFontWeight, setFormatter, setLeaveEventHandler, setListenersHandler, setOffset, setOffset, setOpacity, setOpacity, setPadding, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setRotation, setRotation, setTextAlign, setTextAlign, setTextShadowBlur, setTextShadowBlur, setTextShadowColor, setTextShadowColor, setTextShadowColor, setTextStrokeColor, setTextStrokeColor, setTextStrokeColor, setTextStrokeWidth, setTextStrokeWidth
 - 
Methods inherited from class org.pepstock.charba.client.commons.AbstractBaseBuilderisBuilt, setBuilt
 
- 
 
- 
- 
- 
Method Detail- 
createpublic static DataLabelsOptionsBuilder create() Returns new builder instance.- Returns:
- new builder instance
 
 - 
createpublic static DataLabelsOptionsBuilder create(IsChart chart) Returns new builder instance using the chart global options.- Parameters:
- chart- chart instance related to the plugin options
- Returns:
- new builder instance
 
 - 
buildpublic DataLabelsOptions build() Returns a configured labels options.- Returns:
- a configured labels options.
 
 - 
createLabelpublic LabelItemBuilder createLabel(String id) Returns new options builder for new label identified by id.- Parameters:
- id- id of the new label item
- Returns:
- new options builder for new label identified by id
 
 - 
createLabelpublic LabelItemBuilder createLabel(DataLabelId id) Returns new options builder for new label identified by id.- Parameters:
- id- id of the new label item
- Returns:
- new options builder for new label identified by id
 
 - 
getLabelpublic LabelItemBuilder getLabel(String id) Returns the options builder for label identified by id.- Parameters:
- id- id of the options
- Returns:
- the options builder for label identified by id
 
 - 
getLabelpublic LabelItemBuilder getLabel(DataLabelId id) Returns the options builder for label identified by id- Parameters:
- id- id of the options
- Returns:
- the options builder for label identified by id
 
 
- 
 
-