public static class Anchor.AnchorBuilder extends AbstractBuilder<Anchor>
| Constructor and Description |
|---|
AnchorBuilder(Options.OptionsBuilder optionsBuilder) |
| Modifier and Type | Method and Description |
|---|---|
Anchor |
build()
For internal use only.
|
elemental.json.JsonValue |
buildJson()
For internal use only.
|
Anchor.AnchorBuilder |
customClassOption(java.lang.String customClassOption)
Custom class name the user can optionally have added to their created links (ie 'button').
|
Anchor.AnchorBuilder |
customClassOptionText(java.lang.String customClassOptionText)
Text to be shown in the checkbox when the customClassOption is being used.
|
Options.OptionsBuilder |
done() |
Anchor.AnchorBuilder |
linkValidation(boolean linkValidation)
Enables/disables check for common URL protocols on anchor links.
|
Anchor.AnchorBuilder |
placeholderText(java.lang.String placeholderText)
Text to be shown as placeholder of the anchor input.
|
Anchor.AnchorBuilder |
targetCheckbox(boolean targetCheckbox)
Enables/disables displaying a "Open in new window" checkbox, which when checked changes the target attribute of the created link.
|
Anchor.AnchorBuilder |
targetCheckboxText(java.lang.String targetCheckboxText)
Text to be shown in the checkbox enabled via the targetCheckbox option.
|
putNotNull, putNotNull, putNotNull, putNotNull, putNotNull, putNotNullpublic AnchorBuilder(Options.OptionsBuilder optionsBuilder)
public Anchor.AnchorBuilder customClassOption(java.lang.String customClassOption)
public Anchor.AnchorBuilder customClassOptionText(java.lang.String customClassOptionText)
public Anchor.AnchorBuilder linkValidation(boolean linkValidation)
public Anchor.AnchorBuilder placeholderText(java.lang.String placeholderText)
public Anchor.AnchorBuilder targetCheckbox(boolean targetCheckbox)
public Anchor.AnchorBuilder targetCheckboxText(java.lang.String targetCheckboxText)
public Options.OptionsBuilder done()
public Anchor build()
AbstractBuilderbuild in class AbstractBuilder<Anchor>public elemental.json.JsonValue buildJson()
AbstractBuilderbuildJson in class AbstractBuilder<Anchor>