public final class

LayoutElementBuilders.Column.Builder

extends java.lang.Object

implements LayoutElementBuilders.LayoutElement.Builder

 java.lang.Object

↳androidx.wear.tiles.builders.LayoutElementBuilders.Column.Builder

Overview

Builder for LayoutElementBuilders.Column.

Summary

Methods
public LayoutElementBuilders.Column.BuilderaddContent(LayoutElementBuilders.LayoutElement.Builder contentBuilder)

Adds one item to the list of child elements to place inside this LayoutElementBuilders.Column.

public LayoutElementBuilders.Column.BuilderaddContent(LayoutElementBuilders.LayoutElement content)

Adds one item to the list of child elements to place inside this LayoutElementBuilders.Column.

public LayoutElementBuilders.Columnbuild()

public LayoutElementBuilders.Column.BuildersetHeight(DimensionBuilders.ContainerDimension.Builder heightBuilder)

Sets the height of this column.

public LayoutElementBuilders.Column.BuildersetHeight(DimensionBuilders.ContainerDimension height)

Sets the height of this column.

public LayoutElementBuilders.Column.BuildersetHorizontalAlignment(int horizontalAlignment)

Sets the horizontal alignment of elements inside this column, if they are narrower than the resulting width of the column.

public LayoutElementBuilders.Column.BuildersetModifiers(ModifiersBuilders.Modifiers.Builder modifiersBuilder)

Sets ModifiersBuilders.Modifiers for this element.

public LayoutElementBuilders.Column.BuildersetModifiers(ModifiersBuilders.Modifiers modifiers)

Sets ModifiersBuilders.Modifiers for this element.

public LayoutElementBuilders.Column.BuildersetWidth(DimensionBuilders.ContainerDimension.Builder widthBuilder)

Sets the width of this column.

public LayoutElementBuilders.Column.BuildersetWidth(DimensionBuilders.ContainerDimension width)

Sets the width of this column.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods

Adds one item to the list of child elements to place inside this LayoutElementBuilders.Column.

Adds one item to the list of child elements to place inside this LayoutElementBuilders.Column.

public LayoutElementBuilders.Column.Builder setHorizontalAlignment(int horizontalAlignment)

Sets the horizontal alignment of elements inside this column, if they are narrower than the resulting width of the column. If not defined, defaults to HALIGN_CENTER.

Sets the width of this column. If not defined, this will size itself to fit all of its children (i.e. a WrappedDimension).

Sets the width of this column. If not defined, this will size itself to fit all of its children (i.e. a WrappedDimension).

Sets the height of this column. If not defined, this will size itself to fit all of its children (i.e. a WrappedDimension).

Sets the height of this column. If not defined, this will size itself to fit all of its children (i.e. a WrappedDimension).

Sets ModifiersBuilders.Modifiers for this element.

Sets ModifiersBuilders.Modifiers for this element.