Class ColumnViewElement
java.lang.Object
com.foreach.across.modules.web.ui.elements.ContainerViewElement
com.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
com.foreach.across.modules.bootstrapui.elements.ColumnViewElement
- All Implemented Interfaces:
com.foreach.across.modules.web.ui.elements.HtmlViewElement
,com.foreach.across.modules.web.ui.MutableViewElement
,com.foreach.across.modules.web.ui.ViewElement
@Deprecated
public class ColumnViewElement
extends com.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
Deprecated.
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) );
- Author:
- Arne Vandamme
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.foreach.across.modules.web.ui.elements.HtmlViewElement
com.foreach.across.modules.web.ui.elements.HtmlViewElement.Functions
Nested classes/interfaces inherited from interface com.foreach.across.modules.web.ui.MutableViewElement
com.foreach.across.modules.web.ui.MutableViewElement.Functions
Nested classes/interfaces inherited from interface com.foreach.across.modules.web.ui.ViewElement
com.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 extends Object>, 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> -
Field Summary
Fields inherited from class com.foreach.across.modules.web.ui.elements.ContainerViewElement
ELEMENT_TYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAttributes
(Map<String, Object> attributes) Deprecated.addChild
(com.foreach.across.modules.web.ui.ViewElement element) Deprecated.addChildren
(Collection<? extends com.foreach.across.modules.web.ui.ViewElement> elements) Deprecated.addCssClass
(String... cssClass) Deprecated.addFirstChild
(com.foreach.across.modules.web.ui.ViewElement element) Deprecated.addLayout
(Grid.DeviceGridLayout... layouts) Deprecated.Add a device layout configuration for this column.Deprecated.<U extends com.foreach.across.modules.web.ui.ViewElement>
ColumnViewElementapplyUnsafe
(Consumer<U> consumer) Deprecated.Deprecated.Deprecated.Deprecated.Get all device layout configurations attached to this column.removeAttribute
(String attributeName) Deprecated.removeCssClass
(String... cssClass) Deprecated.removeLayout
(Grid.DeviceGridLayout... layouts) Deprecated.Remove one or more layouts from this column.setAttribute
(String attributeName, Object attributeValue) Deprecated.setAttributes
(Map<String, Object> attributes) Deprecated.setCustomTemplate
(String customTemplate) Deprecated.protected ColumnViewElement
setElementType
(String elementType) Deprecated.Deprecated.setLayouts
(Grid.DeviceGridLayout... layouts) Deprecated.Set all device related layouts for this column.setLayouts
(Collection<Grid.DeviceGridLayout> layouts) Deprecated.Set all device related layouts for this column.protected ColumnViewElement
setTagName
(String tagName) Deprecated.Methods inherited from class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
get, getAttribute, getAttribute, getAttributes, getHtmlId, getTagName, hasAttribute, hasCssClass, remove, returnIfType, set, setName
Methods inherited from class com.foreach.across.modules.web.ui.elements.ContainerViewElement
elementStream, find, find, findAll, findAll, findAll, findOrSelf, findOrSelf, flatStream, getChildren, getCustomTemplate, getElementType, getName, hasChildren, removeAllFromTree, removeChild, removeFromTree, removeFromTree
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.foreach.across.modules.web.ui.ViewElement
getCustomTemplate, getElementType, getName, matches
-
Constructor Details
-
ColumnViewElement
public ColumnViewElement()Deprecated.
-
-
Method Details
-
setLayouts
Deprecated.Set all device related layouts for this column. Replaces any previously registered, useaddLayout(Grid.DeviceGridLayout...)
if you want to add a single layout.- Parameters:
layouts
- to be used
-
setLayouts
Deprecated.Set all device related layouts for this column.- Parameters:
layouts
- to be used
-
getLayouts
Deprecated.Get all device layout configurations attached to this column.- Returns:
- copy of the layout collection
-
addLayout
Deprecated.Add a device layout configuration for this column.- Parameters:
layouts
- to add
-
removeLayout
Deprecated.Remove one or more layouts from this column.- Parameters:
layouts
- to remove
-
clearLayouts
Deprecated. -
addCssClass
Deprecated.- Specified by:
addCssClass
in interfacecom.foreach.across.modules.web.ui.elements.HtmlViewElement
- Overrides:
addCssClass
in classcom.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
-
removeCssClass
Deprecated.- Specified by:
removeCssClass
in interfacecom.foreach.across.modules.web.ui.elements.HtmlViewElement
- Overrides:
removeCssClass
in classcom.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
-
setAttributes
Deprecated.- Specified by:
setAttributes
in interfacecom.foreach.across.modules.web.ui.elements.HtmlViewElement
- Overrides:
setAttributes
in classcom.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
-
setAttribute
Deprecated.- Specified by:
setAttribute
in interfacecom.foreach.across.modules.web.ui.elements.HtmlViewElement
- Overrides:
setAttribute
in classcom.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
-
addAttributes
Deprecated.- Specified by:
addAttributes
in interfacecom.foreach.across.modules.web.ui.elements.HtmlViewElement
- Overrides:
addAttributes
in classcom.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
-
removeAttribute
Deprecated.- Specified by:
removeAttribute
in interfacecom.foreach.across.modules.web.ui.elements.HtmlViewElement
- Overrides:
removeAttribute
in classcom.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
-
setCustomTemplate
Deprecated.- Specified by:
setCustomTemplate
in interfacecom.foreach.across.modules.web.ui.MutableViewElement
- Overrides:
setCustomTemplate
in classcom.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
-
setElementType
Deprecated.- Overrides:
setElementType
in classcom.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
-
addChild
Deprecated.- Overrides:
addChild
in classcom.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
-
addChildren
public ColumnViewElement addChildren(Collection<? extends com.foreach.across.modules.web.ui.ViewElement> elements) Deprecated.- Overrides:
addChildren
in classcom.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
-
addFirstChild
Deprecated.- Overrides:
addFirstChild
in classcom.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
-
clearChildren
Deprecated.- Overrides:
clearChildren
in classcom.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
-
apply
public ColumnViewElement apply(Consumer<com.foreach.across.modules.web.ui.elements.ContainerViewElement> consumer) Deprecated.- Overrides:
apply
in classcom.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
-
applyUnsafe
public <U extends com.foreach.across.modules.web.ui.ViewElement> ColumnViewElement applyUnsafe(Consumer<U> consumer) Deprecated.- Overrides:
applyUnsafe
in classcom.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
-
setTagName
Deprecated.- Overrides:
setTagName
in classcom.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
-
setHtmlId
Deprecated.- Specified by:
setHtmlId
in interfacecom.foreach.across.modules.web.ui.elements.HtmlViewElement
- Overrides:
setHtmlId
in classcom.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
-