public interface FormComponent<C extends FormComponent<C>> extends Component<C>
Modifier and Type | Method and Description |
---|---|
ExplanatoryMessage |
getHelpText()
Additional information that can be displayed from a clickable popup from a (?) icon
displaying next to the component
|
InternationalizedMessage |
getHint()
Displays as text next to the field with information about how a user should fill it out.
|
ExplanatoryMessage |
getTooltip()
Displays when hovering over a field that gives additional information on what potential
values can be or how the field should be filled out
|
default C |
helpText(ExplanatoryMessage helpText) |
default C |
helpText(String helpText) |
default C |
hidden() |
default C |
hidden(boolean hidden) |
default C |
hint(InternationalizedMessage hint) |
default C |
hint(String hint) |
boolean |
isHidden()
Whether or not this component is hidden within the form.
|
default C |
notHidden() |
void |
setHelpText(ExplanatoryMessage helpText) |
void |
setHidden(boolean isHidden) |
void |
setHint(InternationalizedMessage hint) |
void |
setTooltip(ExplanatoryMessage tooltip) |
default C |
tooltip(ExplanatoryMessage tooltip) |
default C |
tooltip(String tooltip) |
addAction, addAction, addComponent, addEndpoint, addEndpoint, apply, attribute, augmentationKey, classifier, clearConditionals, clearEndpoints, conditional, conditionals, description, description, findAction, findAction, findActions, findAttribute, findComponent, findComponent, findComponents, findEndpoint, findEndpoint, findEndpoints, get, get, getAction, getAction, getActions, getActionsList, getAttribute, getAttribute, getAttributes, getAugmentationKey, getClassifier, getComponent, getComponent, getComponents, getComponentsList, getConditionals, getDescription, getEndpoint, getEndpoint, getEndpoints, getEndpointsList, getId, getLabel, getOrder, getScope, getType, hasAction, hasAttribute, hasComponent, hasEndpoint, id, isAugmentable, isTranslatable, label, label, notTranslatable, order, removeAction, removeAttribute, removeComponent, removeEndpoint, scope, self, setActions, setAttributes, setAugmentationKey, setClassifier, setComponents, setConditionals, setDescription, setEndpoints, setId, setLabel, setOrder, setScope, setTranslatable, setType, translatable, translatable, type
compareTo
boolean isHidden()
ExplanatoryMessage getHelpText()
Additional information that can be displayed from a clickable popup from a (?) icon displaying next to the component
This value is translatable and can be a key that maps into a message bundle
ExplanatoryMessage getTooltip()
Displays when hovering over a field that gives additional information on what potential values can be or how the field should be filled out
This value is translatable and can be a key that maps into a message bundle
InternationalizedMessage getHint()
Displays as text next to the field with information about how a user should fill it out. This is always visible when rendering the field
This value is translatable and can be a key that maps into a message bundle
void setHidden(boolean isHidden)
void setHelpText(ExplanatoryMessage helpText)
void setTooltip(ExplanatoryMessage tooltip)
void setHint(InternationalizedMessage hint)
default C hidden(boolean hidden)
default C hidden()
default C notHidden()
default C helpText(ExplanatoryMessage helpText)
default C tooltip(ExplanatoryMessage tooltip)
default C hint(InternationalizedMessage hint)
Copyright © 2021. All rights reserved.