public final class

LayoutElementBuilders.SpanText.Builder

extends java.lang.Object

implements LayoutElementBuilders.Span.Builder

 java.lang.Object

↳androidx.wear.tiles.LayoutElementBuilders.SpanText.Builder

Overview

Builder for LayoutElementBuilders.SpanText.

Summary

Constructors
publicBuilder()

Methods
public LayoutElementBuilders.SpanTextbuild()

public LayoutElementBuilders.SpanText.BuildersetFontStyle(LayoutElementBuilders.FontStyle fontStyle)

Sets the style of font to use (size, bold etc).

public LayoutElementBuilders.SpanText.BuildersetModifiers(ModifiersBuilders.SpanModifiers modifiers)

Sets ModifiersBuilders.Modifiers for this element.

public LayoutElementBuilders.SpanText.BuildersetText(java.lang.String text)

Sets the text to render.

public LayoutElementBuilders.SpanText.BuildersetText(TypeBuilders.StringProp text)

Sets the text to render.

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

Constructors

public Builder()

Methods

Sets the text to render.

public LayoutElementBuilders.SpanText.Builder setText(java.lang.String text)

Sets the text to render.

Sets the style of font to use (size, bold etc). If not specified, defaults to the platform's default body font.

Sets ModifiersBuilders.Modifiers for this element.