public abstract class AbstractFormComponent<C extends AbstractFormComponent<C>> extends AbstractComponent<C> implements FormComponent<C>
Constructor and Description |
---|
AbstractFormComponent(FormComponent<?> component) |
AbstractFormComponent(String classifier) |
AbstractFormComponent(String classifier,
String type) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
InternationalizedMessage |
getDescription()
A description used for display purposes.
|
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
|
int |
hashCode() |
boolean |
isHidden()
Whether or not this component is hidden within the form.
|
void |
setDescription(InternationalizedMessage description) |
void |
setHelpText(ExplanatoryMessage helpText) |
void |
setHidden(boolean hidden) |
void |
setHint(InternationalizedMessage hint) |
void |
setTooltip(ExplanatoryMessage tooltip) |
compareTo, getActions, getAttributes, getAugmentationKey, getClassifier, getComponents, getConditionals, getEndpoints, getId, getLabel, getOrder, getScope, getType, isTranslatable, setActions, setAttributes, setAugmentationKey, setClassifier, setComponents, setConditionals, setEndpoints, setId, setLabel, setOrder, setScope, setTranslatable, setType, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
helpText, helpText, hidden, hidden, hint, hint, notHidden, tooltip, 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, 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, setEndpoints, setId, setLabel, setOrder, setScope, setTranslatable, setType, translatable, translatable, type
compareTo
public AbstractFormComponent(String classifier)
public AbstractFormComponent(FormComponent<?> component)
public boolean isHidden()
FormComponent
isHidden
in interface FormComponent<C extends AbstractFormComponent<C>>
public ExplanatoryMessage getHelpText()
FormComponent
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
getHelpText
in interface FormComponent<C extends AbstractFormComponent<C>>
public ExplanatoryMessage getTooltip()
FormComponent
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
getTooltip
in interface FormComponent<C extends AbstractFormComponent<C>>
public InternationalizedMessage getHint()
FormComponent
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
getHint
in interface FormComponent<C extends AbstractFormComponent<C>>
public InternationalizedMessage getDescription()
Component
getDescription
in interface Component<C extends AbstractFormComponent<C>>
getDescription
in class AbstractComponent<C extends AbstractFormComponent<C>>
public void setHidden(boolean hidden)
setHidden
in interface FormComponent<C extends AbstractFormComponent<C>>
public void setHelpText(ExplanatoryMessage helpText)
setHelpText
in interface FormComponent<C extends AbstractFormComponent<C>>
public void setTooltip(ExplanatoryMessage tooltip)
setTooltip
in interface FormComponent<C extends AbstractFormComponent<C>>
public void setHint(InternationalizedMessage hint)
setHint
in interface FormComponent<C extends AbstractFormComponent<C>>
public void setDescription(InternationalizedMessage description)
setDescription
in interface Component<C extends AbstractFormComponent<C>>
setDescription
in class AbstractComponent<C extends AbstractFormComponent<C>>
public boolean equals(Object o)
equals
in class AbstractComponent<C extends AbstractFormComponent<C>>
protected boolean canEqual(Object other)
canEqual
in class AbstractComponent<C extends AbstractFormComponent<C>>
public int hashCode()
hashCode
in class AbstractComponent<C extends AbstractFormComponent<C>>
Copyright © 2021. All rights reserved.