Package com.github.t1.bulmajava.form
Class Field
- All Implemented Interfaces:
Renderable
The Bulma docs is not explicit about the
field-label and field-body classes,
but they seem to be required when the field itself is horizontal()-
Nested Class Summary
Nested classes/interfaces inherited from interface com.github.t1.bulmajava.basic.Renderable
Renderable.ConcatenatedRenderable, Renderable.Indented, Renderable.RenderableString, Renderable.UnsafeString -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontainsAddonLeft(AbstractElement<?> content, Modifier... modifiers) You must call this after all the regularcontent(Renderable), as we can't distinguish between the different controls in the field.containsAddonRight(AbstractElement<?> content, Modifier... modifiers) content(Renderable content) Deprecated.content(Renderable... content) Deprecated.Deprecated.content(Stream<Renderable> content) Deprecated.control(AbstractElement<?> content, Modifier... modifiers) control(Stream<AbstractElement<?>> content, Modifier... modifiers) static Fieldfield()static Elementfieldset()grouped()Adds theis-groupedclass and creates separate controls for the contentAdds theis-horizontalclass and already adds an emptyfield-labelMethods inherited from class com.github.t1.bulmajava.basic.AbstractElement
ariaHidden, ariaHidden, ariaLabel, attr, attr, classes, close, content, content, content, contentAs, contentIsA, dataValue, disabled, findElement, findElement, firstContent, getOrCreate, getOrCreate, hasAttribute, hasBackground, hasClass, hasName, hasText, id, is, is, isPulledLeft, isPulledRight, map, notClasses, notClasses, render, rendersOnSeparateLines, self, style, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.github.t1.bulmajava.basic.Renderable
find, find, render, rendersOnSeparateLines
-
Field Details
-
EXPANDED
-
-
Constructor Details
-
Field
public Field()
-
-
Method Details
-
fieldset
-
field
-
grouped
Adds theis-groupedclass and creates separate controls for the content -
groupedRight
-
groupedCentered
-
groupedMultiline
-
horizontal
Adds theis-horizontalclass and already adds an emptyfield-label -
label
-
help
-
content
Deprecated.Usecontrol(AbstractElement, Modifier...)instead!- Overrides:
contentin classAbstractElement<Field>
-
content
Deprecated.Usecontrol(AbstractElement, Modifier...)instead!- Overrides:
contentin classAbstractElement<Field>
-
content
Deprecated.Usecontrol(AbstractElement, Modifier...)instead!- Overrides:
contentin classAbstractElement<Field>
-
content
Deprecated.Usecontrol(AbstractElement, Modifier...)instead!- Overrides:
contentin classAbstractElement<Field>
-
control
-
control
-
iconLeft
-
iconRight
-
containsAddonLeft
You must call this after all the regularcontent(Renderable), as we can't distinguish between the different controls in the field. -
containsAddonRight
-