public interface

LayoutElementProto.ColumnOrBuilder

 androidx.wear.protolayout.proto.LayoutElementProto.ColumnOrBuilder

Subclasses:

LayoutElementProto.Column, LayoutElementProto.Column.Builder

Summary

Methods
public LayoutElementProto.LayoutElementgetContents(int index)

 The list of child elements to place inside this Column.

public intgetContentsCount()

 The list of child elements to place inside this Column.

public java.util.List<LayoutElementProto.LayoutElement>getContentsList()

 The list of child elements to place inside this Column.

public DimensionProto.ContainerDimensiongetHeight()

 The height of this column.

public AlignmentProto.HorizontalAlignmentPropgetHorizontalAlignment()

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

public ModifiersProto.ModifiersgetModifiers()

 Modifiers for this element.

public DimensionProto.ContainerDimensiongetWidth()

 The width of this column.

public booleanhasHeight()

 The height of this column.

public booleanhasHorizontalAlignment()

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

public booleanhasModifiers()

 Modifiers for this element.

public booleanhasWidth()

 The width of this column.

Methods

public java.util.List<LayoutElementProto.LayoutElement> getContentsList()

 The list of child elements to place inside this Column.
 
repeated .androidx.wear.protolayout.proto.LayoutElement contents = 1;

public LayoutElementProto.LayoutElement getContents(int index)

 The list of child elements to place inside this Column.
 
repeated .androidx.wear.protolayout.proto.LayoutElement contents = 1;

public int getContentsCount()

 The list of child elements to place inside this Column.
 
repeated .androidx.wear.protolayout.proto.LayoutElement contents = 1;

public boolean hasHorizontalAlignment()

 The horizontal alignment of elements inside this column, if they are
 narrower than the resulting width of the column. If not defined, defaults
 to HORIZONTAL_ALIGN_CENTER.
 
.androidx.wear.protolayout.proto.HorizontalAlignmentProp horizontal_alignment = 2;

Returns:

Whether the horizontalAlignment field is set.

public AlignmentProto.HorizontalAlignmentProp getHorizontalAlignment()

 The horizontal alignment of elements inside this column, if they are
 narrower than the resulting width of the column. If not defined, defaults
 to HORIZONTAL_ALIGN_CENTER.
 
.androidx.wear.protolayout.proto.HorizontalAlignmentProp horizontal_alignment = 2;

Returns:

The horizontalAlignment.

public boolean hasWidth()

 The width of this column. If not defined, this will size itself to fit
 all of its children (i.e. a WrappedDimension).
 
.androidx.wear.protolayout.proto.ContainerDimension width = 3;

Returns:

Whether the width field is set.

 The width of this column. If not defined, this will size itself to fit
 all of its children (i.e. a WrappedDimension).
 
.androidx.wear.protolayout.proto.ContainerDimension width = 3;

Returns:

The width.

public boolean hasHeight()

 The height of this column. If not defined, this will size itself to fit
 all of its children (i.e. a WrappedDimension).
 
.androidx.wear.protolayout.proto.ContainerDimension height = 4;

Returns:

Whether the height field is set.

 The height of this column. If not defined, this will size itself to fit
 all of its children (i.e. a WrappedDimension).
 
.androidx.wear.protolayout.proto.ContainerDimension height = 4;

Returns:

The height.

public boolean hasModifiers()

 Modifiers for this element.
 
.androidx.wear.protolayout.proto.Modifiers modifiers = 5;

Returns:

Whether the modifiers field is set.

public ModifiersProto.Modifiers getModifiers()

 Modifiers for this element.
 
.androidx.wear.protolayout.proto.Modifiers modifiers = 5;

Returns:

The modifiers.