public final class LabelsOptionsBuilder extends AbstractBaseBuilder
LabelsPlugin.ID
plugin options by a builder.Modifier and Type | Method and Description |
---|---|
LabelsOptions |
build()
Returns a configured labels options.
|
static LabelsOptionsBuilder |
create()
Returns new builder instance.
|
static LabelsOptionsBuilder |
create(IsChart chart)
Returns new builder instance using the chart global options.
|
LabelBuilder |
createLabel(LabelId id)
Returns new options builder for new label identified by id.
|
LabelBuilder |
createLabel(String id)
Returns new options builder for new label identified by id.
|
LabelBuilder |
getLabel(LabelId id)
Returns the options builder for label identified by id
|
LabelBuilder |
getLabel(String id)
Returns the options builder for label identified by id.
|
isBuilt, setBuilt
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkAndGetIfValid, checkIfValid, isValid
public static LabelsOptionsBuilder create()
public static LabelsOptionsBuilder create(IsChart chart)
chart
- chart instance related to the plugin optionspublic LabelsOptions build()
public LabelBuilder createLabel(String id)
id
- id of the new labelpublic LabelBuilder createLabel(LabelId id)
id
- id of the new labelpublic LabelBuilder getLabel(String id)
id
- id of the optionspublic LabelBuilder getLabel(LabelId id)
id
- id of the options