public static class MarkerIndicatorRegion.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder(int width)
Creates a new builder with the specified width.
|
| Modifier and Type | Method and Description |
|---|---|
MarkerIndicatorRegion.Builder |
addIndicator(java.lang.String name,
java.lang.String indicator)
Adds a new marker indicator.
|
MarkerIndicatorRegion |
build()
Builds the builder into a marker indicator region.
|
public Builder(int width)
width - the width of the column, in characterspublic MarkerIndicatorRegion.Builder addIndicator(java.lang.String name, java.lang.String indicator)
name - the name of the markers to indicateindicator - the string indicating an occurrencejava.lang.IllegalStateException - if the builder has already transitioned to the built statepublic MarkerIndicatorRegion build()
java.lang.IllegalStateException - if the builder has already transitioned to the built state