Class LabelsOptionsBuilder
- java.lang.Object
- 
- org.pepstock.charba.client.commons.AbstractBaseBuilder
- 
- org.pepstock.charba.client.labels.LabelsOptionsBuilder
 
 
- 
- All Implemented Interfaces:
- IsBuilder
 
 public final class LabelsOptionsBuilder extends AbstractBaseBuilder Comfortable object to createLabelsPlugin.IDplugin options by a builder.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LabelsOptionsbuild()Returns a configured labels options.static LabelsOptionsBuildercreate()Returns new builder instance.static LabelsOptionsBuildercreate(IsChart chart)Returns new builder instance using the chart global options.LabelBuildercreateLabel(String id)Returns new options builder for new label identified by id.LabelBuildercreateLabel(LabelId id)Returns new options builder for new label identified by id.LabelBuildergetLabel(String id)Returns the options builder for label identified by id.LabelBuildergetLabel(LabelId id)Returns the options builder for label identified by id- 
Methods inherited from class org.pepstock.charba.client.commons.AbstractBaseBuilderisBuilt, setBuilt
 
- 
 
- 
- 
- 
Method Detail- 
createpublic static LabelsOptionsBuilder create() Returns new builder instance.- Returns:
- new builder instance
 
 - 
createpublic static LabelsOptionsBuilder 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 LabelsOptions build() Returns a configured labels options.- Returns:
- a configured labels options.
 
 - 
createLabelpublic LabelBuilder createLabel(String id) Returns new options builder for new label identified by id.- Parameters:
- id- id of the new label
- Returns:
- new options builder for new label identified by id
 
 - 
createLabelpublic LabelBuilder createLabel(LabelId id) Returns new options builder for new label identified by id.- Parameters:
- id- id of the new label
- Returns:
- new options builder for new label identified by id
 
 - 
getLabelpublic LabelBuilder 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 LabelBuilder getLabel(LabelId 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
 
 
- 
 
-