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.FunctionsNested classes/interfaces inherited from interface com.foreach.across.modules.web.ui.MutableViewElement
com.foreach.across.modules.web.ui.MutableViewElement.FunctionsNested 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
Constructors -
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 ColumnViewElementsetElementType(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 ColumnViewElementsetTagName(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, setNameMethods 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, removeFromTreeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
addCssClassin interfacecom.foreach.across.modules.web.ui.elements.HtmlViewElement- Overrides:
addCssClassin classcom.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
-
removeCssClass
Deprecated.- Specified by:
removeCssClassin interfacecom.foreach.across.modules.web.ui.elements.HtmlViewElement- Overrides:
removeCssClassin classcom.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
-
setAttributes
Deprecated.- Specified by:
setAttributesin interfacecom.foreach.across.modules.web.ui.elements.HtmlViewElement- Overrides:
setAttributesin classcom.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
-
setAttribute
Deprecated.- Specified by:
setAttributein interfacecom.foreach.across.modules.web.ui.elements.HtmlViewElement- Overrides:
setAttributein classcom.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
-
addAttributes
Deprecated.- Specified by:
addAttributesin interfacecom.foreach.across.modules.web.ui.elements.HtmlViewElement- Overrides:
addAttributesin classcom.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
-
removeAttribute
Deprecated.- Specified by:
removeAttributein interfacecom.foreach.across.modules.web.ui.elements.HtmlViewElement- Overrides:
removeAttributein classcom.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
-
setCustomTemplate
Deprecated.- Specified by:
setCustomTemplatein interfacecom.foreach.across.modules.web.ui.MutableViewElement- Overrides:
setCustomTemplatein classcom.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
-
setElementType
Deprecated.- Overrides:
setElementTypein classcom.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
-
addChild
Deprecated.- Overrides:
addChildin classcom.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
-
addChildren
public ColumnViewElement addChildren(Collection<? extends com.foreach.across.modules.web.ui.ViewElement> elements) Deprecated.- Overrides:
addChildrenin classcom.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
-
addFirstChild
Deprecated.- Overrides:
addFirstChildin classcom.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
-
clearChildren
Deprecated.- Overrides:
clearChildrenin classcom.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
-
apply
public ColumnViewElement apply(Consumer<com.foreach.across.modules.web.ui.elements.ContainerViewElement> consumer) Deprecated.- Overrides:
applyin 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:
applyUnsafein classcom.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
-
setTagName
Deprecated.- Overrides:
setTagNamein classcom.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
-
setHtmlId
Deprecated.- Specified by:
setHtmlIdin interfacecom.foreach.across.modules.web.ui.elements.HtmlViewElement- Overrides:
setHtmlIdin classcom.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
-