@NotThreadSafe public class BootstrapFormGroup extends Object
| Constructor and Description |
|---|
BootstrapFormGroup() |
| Modifier and Type | Method and Description |
|---|---|
BootstrapFormGroup |
ensureID() |
com.helger.html.hc.impl.HCHasCSSClasses |
getCSSClasses() |
com.helger.html.hc.impl.HCHasCSSStyles |
getCSSStyles() |
com.helger.html.hc.IHCNode |
getCtrl() |
com.helger.validation.error.IErrorList |
getErrorList() |
com.helger.html.hc.IHCNode |
getHelpText() |
String |
getID() |
com.helger.webctrls.custom.formlabel.HCFormLabel |
getLabel() |
EBootstrapFormGroupState |
getState() |
boolean |
hasCSSClasses() |
boolean |
hasCSSStyles() |
boolean |
hasID() |
protected void |
onCtrlModified(com.helger.html.hc.IHCNode aCtrl)
Called after the control was changed
|
protected void |
onHelpTextModified(com.helger.html.hc.IHCNode aNote)
Called after the help text was altered.
|
protected void |
onLabelModified(com.helger.webctrls.custom.formlabel.HCFormLabel aLabel)
Called after the label cell was altered.
|
BootstrapFormGroup |
setCtrl(com.helger.html.hc.IHCNode... aCtrls) |
BootstrapFormGroup |
setCtrl(com.helger.html.hc.IHCNode aCtrl) |
BootstrapFormGroup |
setCtrl(com.helger.html.hc.IHCNodeBuilder aCtrlBuilder) |
BootstrapFormGroup |
setCtrl(Iterable<? extends com.helger.html.hc.IHCNode> aCtrls) |
BootstrapFormGroup |
setCtrl(String... aValues) |
BootstrapFormGroup |
setCtrl(String sValue) |
BootstrapFormGroup |
setErrorList(com.helger.validation.error.IErrorList aErrorList) |
BootstrapFormGroup |
setHelpText(com.helger.html.hc.IHCNode... aHelpTexts) |
BootstrapFormGroup |
setHelpText(com.helger.html.hc.IHCNode aHelpText) |
BootstrapFormGroup |
setHelpText(Iterable<? extends com.helger.html.hc.IHCNode> aHelpTexts) |
BootstrapFormGroup |
setHelpText(String... aHelpTexts) |
BootstrapFormGroup |
setHelpText(String sHelpText) |
BootstrapFormGroup |
setID(String sFormGroupID) |
BootstrapFormGroup |
setLabel(com.helger.webctrls.custom.formlabel.HCFormLabel aLabel) |
BootstrapFormGroup |
setLabel(String sLabel) |
BootstrapFormGroup |
setLabel(String sLabel,
com.helger.webctrls.custom.formlabel.ELabelType eLabelType) |
BootstrapFormGroup |
setLabelAlternative(String sLabel) |
BootstrapFormGroup |
setLabelMandatory(String sLabel) |
BootstrapFormGroup |
setState(EBootstrapFormGroupState eState) |
@Nonnull public final BootstrapFormGroup ensureID()
@Nonnull public final BootstrapFormGroup setID(@Nullable String sFormGroupID)
public boolean hasID()
public boolean hasCSSClasses()
@Nonnull public com.helger.html.hc.impl.HCHasCSSClasses getCSSClasses()
public boolean hasCSSStyles()
@Nonnull public com.helger.html.hc.impl.HCHasCSSStyles getCSSStyles()
@Nonnull public final BootstrapFormGroup setLabel(@Nullable String sLabel)
@Nonnull public final BootstrapFormGroup setLabelMandatory(@Nullable String sLabel)
@Nonnull public final BootstrapFormGroup setLabelAlternative(@Nullable String sLabel)
@Nonnull public final BootstrapFormGroup setLabel(@Nullable String sLabel, @Nonnull com.helger.webctrls.custom.formlabel.ELabelType eLabelType)
@OverrideOnDemand protected void onLabelModified(@Nullable com.helger.webctrls.custom.formlabel.HCFormLabel aLabel)
aLabel - The newly set label. May be null@Nonnull public final BootstrapFormGroup setLabel(@Nullable com.helger.webctrls.custom.formlabel.HCFormLabel aLabel)
@Nullable public final com.helger.webctrls.custom.formlabel.HCFormLabel getLabel()
@OverrideOnDemand protected void onCtrlModified(@Nullable com.helger.html.hc.IHCNode aCtrl)
aCtrl - The new control. May be null.@Nonnull public final BootstrapFormGroup setCtrl(@Nullable String sValue)
@Nonnull public final BootstrapFormGroup setCtrl(@Nullable String... aValues)
@Nonnull public final BootstrapFormGroup setCtrl(@Nullable com.helger.html.hc.IHCNodeBuilder aCtrlBuilder)
@Nonnull public final BootstrapFormGroup setCtrl(@Nullable com.helger.html.hc.IHCNode aCtrl)
@Nonnull public final BootstrapFormGroup setCtrl(@Nullable com.helger.html.hc.IHCNode... aCtrls)
@Nonnull public final BootstrapFormGroup setCtrl(@Nullable Iterable<? extends com.helger.html.hc.IHCNode> aCtrls)
@Nullable public final com.helger.html.hc.IHCNode getCtrl()
@Nonnull public final BootstrapFormGroup setErrorList(@Nullable com.helger.validation.error.IErrorList aErrorList)
@Nullable public final com.helger.validation.error.IErrorList getErrorList()
@OverrideOnDemand protected void onHelpTextModified(@Nullable com.helger.html.hc.IHCNode aNote)
aNote - The new note@Nonnull public final BootstrapFormGroup setHelpText(@Nullable String sHelpText)
@Nonnull public final BootstrapFormGroup setHelpText(@Nullable com.helger.html.hc.IHCNode aHelpText)
@Nonnull public final BootstrapFormGroup setHelpText(@Nullable String... aHelpTexts)
@Nonnull public final BootstrapFormGroup setHelpText(@Nullable com.helger.html.hc.IHCNode... aHelpTexts)
@Nonnull public final BootstrapFormGroup setHelpText(@Nullable Iterable<? extends com.helger.html.hc.IHCNode> aHelpTexts)
@Nullable public final com.helger.html.hc.IHCNode getHelpText()
@Nonnull public final BootstrapFormGroup setState(@Nullable EBootstrapFormGroupState eState)
@Nonnull public EBootstrapFormGroupState getState()
Copyright © 2014–2015 Philip Helger. All rights reserved.