@Deprecated public class ColumnViewElement extends com.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
Represents a Bootstrap column div, supporting Grid.DeviceGridLayout
configuration using setLayouts(Collection) and addLayout(Grid.DeviceGridLayout...).
Example:
new ColumnViewElement().addLayout( Grid.Device.MD.width(6) );
com.foreach.across.modules.web.ui.elements.HtmlViewElement.Functionscom.foreach.across.modules.web.ui.ViewElement.Wither<T extends com.foreach.across.modules.web.ui.ViewElement>, com.foreach.across.modules.web.ui.ViewElement.WitherGetter<T extends com.foreach.across.modules.web.ui.ViewElement,U>, com.foreach.across.modules.web.ui.ViewElement.WitherRemover<T extends com.foreach.across.modules.web.ui.ViewElement>, com.foreach.across.modules.web.ui.ViewElement.WitherSetter<T extends com.foreach.across.modules.web.ui.ViewElement>| Constructor and Description |
|---|
ColumnViewElement()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
ColumnViewElement |
addAttributes(Map<String,Object> attributes)
Deprecated.
|
ColumnViewElement |
addChild(com.foreach.across.modules.web.ui.ViewElement element)
Deprecated.
|
ColumnViewElement |
addChildren(Collection<? extends com.foreach.across.modules.web.ui.ViewElement> elements)
Deprecated.
|
ColumnViewElement |
addCssClass(String... cssClass)
Deprecated.
|
ColumnViewElement |
addFirstChild(com.foreach.across.modules.web.ui.ViewElement element)
Deprecated.
|
ColumnViewElement |
addLayout(Grid.DeviceGridLayout... layouts)
Deprecated.
Add a device layout configuration for this column.
|
ColumnViewElement |
apply(Consumer<com.foreach.across.modules.web.ui.elements.ContainerViewElement> consumer)
Deprecated.
|
<U extends com.foreach.across.modules.web.ui.ViewElement> |
applyUnsafe(Consumer<U> consumer)
Deprecated.
|
ColumnViewElement |
clearChildren()
Deprecated.
|
ColumnViewElement |
clearLayouts()
Deprecated.
|
Collection<Grid.DeviceGridLayout> |
getLayouts()
Deprecated.
Get all device layout configurations attached to this column.
|
ColumnViewElement |
removeAttribute(String attributeName)
Deprecated.
|
ColumnViewElement |
removeCssClass(String... cssClass)
Deprecated.
|
ColumnViewElement |
removeLayout(Grid.DeviceGridLayout... layouts)
Deprecated.
Remove one or more layouts from this column.
|
ColumnViewElement |
setAttribute(String attributeName,
Object attributeValue)
Deprecated.
|
ColumnViewElement |
setAttributes(Map<String,Object> attributes)
Deprecated.
|
ColumnViewElement |
setCustomTemplate(String customTemplate)
Deprecated.
|
protected ColumnViewElement |
setElementType(String elementType)
Deprecated.
|
ColumnViewElement |
setHtmlId(String htmlId)
Deprecated.
|
ColumnViewElement |
setLayouts(Collection<Grid.DeviceGridLayout> layouts)
Deprecated.
Set all device related layouts for this column.
|
ColumnViewElement |
setLayouts(Grid.DeviceGridLayout... layouts)
Deprecated.
Set all device related layouts for this column.
|
protected ColumnViewElement |
setTagName(String tagName)
Deprecated.
|
get, getAttribute, getAttribute, getAttributes, getHtmlId, getTagName, hasAttribute, hasCssClass, remove, returnIfType, set, setNameelementStream, find, find, findAll, findAll, findAll, findOrSelf, findOrSelf, flatStream, getChildren, getCustomTemplate, getElementType, getName, hasChildren, removeAllFromTree, removeChild, removeFromTree, removeFromTreepublic ColumnViewElement setLayouts(Grid.DeviceGridLayout... layouts)
addLayout(Grid.DeviceGridLayout...) if you want to add
a single layout.layouts - to be usedpublic ColumnViewElement setLayouts(Collection<Grid.DeviceGridLayout> layouts)
layouts - to be usedpublic Collection<Grid.DeviceGridLayout> getLayouts()
public ColumnViewElement addLayout(Grid.DeviceGridLayout... layouts)
layouts - to addpublic ColumnViewElement removeLayout(Grid.DeviceGridLayout... layouts)
layouts - to removepublic ColumnViewElement clearLayouts()
public ColumnViewElement addCssClass(String... cssClass)
addCssClass in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementaddCssClass in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic ColumnViewElement removeCssClass(String... cssClass)
removeCssClass in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementremoveCssClass in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic ColumnViewElement setAttributes(Map<String,Object> attributes)
setAttributes in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementsetAttributes in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic ColumnViewElement setAttribute(String attributeName, Object attributeValue)
setAttribute in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementsetAttribute in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic ColumnViewElement addAttributes(Map<String,Object> attributes)
addAttributes in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementaddAttributes in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic ColumnViewElement removeAttribute(String attributeName)
removeAttribute in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementremoveAttribute in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic ColumnViewElement setCustomTemplate(String customTemplate)
setCustomTemplate in interface com.foreach.across.modules.web.ui.MutableViewElementsetCustomTemplate in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementprotected ColumnViewElement setElementType(String elementType)
setElementType in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic ColumnViewElement addChild(com.foreach.across.modules.web.ui.ViewElement element)
addChild in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic ColumnViewElement addChildren(Collection<? extends com.foreach.across.modules.web.ui.ViewElement> elements)
addChildren in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic ColumnViewElement addFirstChild(com.foreach.across.modules.web.ui.ViewElement element)
addFirstChild in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic ColumnViewElement clearChildren()
clearChildren in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic ColumnViewElement apply(Consumer<com.foreach.across.modules.web.ui.elements.ContainerViewElement> consumer)
apply in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic <U extends com.foreach.across.modules.web.ui.ViewElement> ColumnViewElement applyUnsafe(Consumer<U> consumer)
applyUnsafe in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementprotected ColumnViewElement setTagName(String tagName)
setTagName in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic ColumnViewElement setHtmlId(String htmlId)
setHtmlId in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementsetHtmlId in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementCopyright © 2020. All rights reserved.