public final class

LayoutElementProto.SpanText.Builder

extends <any>

implements LayoutElementProto.SpanTextOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.LayoutElementProto.SpanText.Builder

Overview

 A portion of text which can be added to a Span. Two different SpanText
 elements on the same line will be aligned to the same baseline, regardless of
 the size of each SpanText.
 
Protobuf type androidx.wear.protolayout.proto.SpanText

Summary

Methods
public LayoutElementProto.SpanText.BuilderclearAndroidTextStyle()

 An Android platform specific text style configuration options for styling
 and compatibility.

public LayoutElementProto.SpanText.BuilderclearFontStyle()

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

public LayoutElementProto.SpanText.BuilderclearModifiers()

 Modifiers for this element.

public LayoutElementProto.SpanText.BuilderclearText()

 The text to render.

public LayoutElementProto.AndroidTextStylegetAndroidTextStyle()

 An Android platform specific text style configuration options for styling
 and compatibility.

public LayoutElementProto.FontStylegetFontStyle()

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

public ModifiersProto.SpanModifiersgetModifiers()

 Modifiers for this element.

public TypesProto.StringPropgetText()

 The text to render.

public booleanhasAndroidTextStyle()

 An Android platform specific text style configuration options for styling
 and compatibility.

public booleanhasFontStyle()

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

public booleanhasModifiers()

 Modifiers for this element.

public booleanhasText()

 The text to render.

public LayoutElementProto.SpanText.BuildermergeAndroidTextStyle(LayoutElementProto.AndroidTextStyle value)

 An Android platform specific text style configuration options for styling
 and compatibility.

public LayoutElementProto.SpanText.BuildermergeFontStyle(LayoutElementProto.FontStyle value)

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

public LayoutElementProto.SpanText.BuildermergeModifiers(ModifiersProto.SpanModifiers value)

 Modifiers for this element.

public LayoutElementProto.SpanText.BuildermergeText(TypesProto.StringProp value)

 The text to render.

public LayoutElementProto.SpanText.BuildersetAndroidTextStyle(LayoutElementProto.AndroidTextStyle.Builder builderForValue)

 An Android platform specific text style configuration options for styling
 and compatibility.

public LayoutElementProto.SpanText.BuildersetAndroidTextStyle(LayoutElementProto.AndroidTextStyle value)

 An Android platform specific text style configuration options for styling
 and compatibility.

public LayoutElementProto.SpanText.BuildersetFontStyle(LayoutElementProto.FontStyle.Builder builderForValue)

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

public LayoutElementProto.SpanText.BuildersetFontStyle(LayoutElementProto.FontStyle value)

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

public LayoutElementProto.SpanText.BuildersetModifiers(ModifiersProto.SpanModifiers.Builder builderForValue)

 Modifiers for this element.

public LayoutElementProto.SpanText.BuildersetModifiers(ModifiersProto.SpanModifiers value)

 Modifiers for this element.

public LayoutElementProto.SpanText.BuildersetText(TypesProto.StringProp.Builder builderForValue)

 The text to render.

public LayoutElementProto.SpanText.BuildersetText(TypesProto.StringProp value)

 The text to render.

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

Methods

public boolean hasText()

 The text to render.
 
.androidx.wear.protolayout.proto.StringProp text = 1;

public TypesProto.StringProp getText()

 The text to render.
 
.androidx.wear.protolayout.proto.StringProp text = 1;

 The text to render.
 
.androidx.wear.protolayout.proto.StringProp text = 1;

 The text to render.
 
.androidx.wear.protolayout.proto.StringProp text = 1;

 The text to render.
 
.androidx.wear.protolayout.proto.StringProp text = 1;

 The text to render.
 
.androidx.wear.protolayout.proto.StringProp text = 1;

public boolean hasFontStyle()

 The style of font to use (size, bold etc). If not specified, defaults to
 the platform's default body font.
 
.androidx.wear.protolayout.proto.FontStyle font_style = 2;

public LayoutElementProto.FontStyle getFontStyle()

 The style of font to use (size, bold etc). If not specified, defaults to
 the platform's default body font.
 
.androidx.wear.protolayout.proto.FontStyle font_style = 2;

 The style of font to use (size, bold etc). If not specified, defaults to
 the platform's default body font.
 
.androidx.wear.protolayout.proto.FontStyle font_style = 2;

 The style of font to use (size, bold etc). If not specified, defaults to
 the platform's default body font.
 
.androidx.wear.protolayout.proto.FontStyle font_style = 2;

 The style of font to use (size, bold etc). If not specified, defaults to
 the platform's default body font.
 
.androidx.wear.protolayout.proto.FontStyle font_style = 2;

public LayoutElementProto.SpanText.Builder clearFontStyle()

 The style of font to use (size, bold etc). If not specified, defaults to
 the platform's default body font.
 
.androidx.wear.protolayout.proto.FontStyle font_style = 2;

public boolean hasModifiers()

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

public ModifiersProto.SpanModifiers getModifiers()

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

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

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

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

public LayoutElementProto.SpanText.Builder clearModifiers()

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

public boolean hasAndroidTextStyle()

 An Android platform specific text style configuration options for styling
 and compatibility.
 
.androidx.wear.protolayout.proto.AndroidTextStyle android_text_style = 4;

public LayoutElementProto.AndroidTextStyle getAndroidTextStyle()

 An Android platform specific text style configuration options for styling
 and compatibility.
 
.androidx.wear.protolayout.proto.AndroidTextStyle android_text_style = 4;

 An Android platform specific text style configuration options for styling
 and compatibility.
 
.androidx.wear.protolayout.proto.AndroidTextStyle android_text_style = 4;

 An Android platform specific text style configuration options for styling
 and compatibility.
 
.androidx.wear.protolayout.proto.AndroidTextStyle android_text_style = 4;

 An Android platform specific text style configuration options for styling
 and compatibility.
 
.androidx.wear.protolayout.proto.AndroidTextStyle android_text_style = 4;

public LayoutElementProto.SpanText.Builder clearAndroidTextStyle()

 An Android platform specific text style configuration options for styling
 and compatibility.
 
.androidx.wear.protolayout.proto.AndroidTextStyle android_text_style = 4;