public final class

LayoutElementBuilders.SpanText.Builder

extends java.lang.Object

implements LayoutElementBuilders.Span.Builder

 java.lang.Object

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

Overview

Builder for LayoutElementBuilders.SpanText.

Summary

Methods
public LayoutElementBuilders.SpanTextbuild()

public LayoutElementBuilders.SpanText.BuildersetFontStyle(LayoutElementBuilders.FontStyle.Builder fontStyleBuilder)

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

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

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

public LayoutElementBuilders.SpanText.BuildersetModifiers(ModifiersBuilders.SpanModifiers.Builder modifiersBuilder)

Sets ModifiersBuilders.Modifiers for this element.

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.

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

Methods

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 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.

Sets ModifiersBuilders.Modifiers for this element.