public final class

ModifiersBuilders.Modifiers

extends java.lang.Object

 java.lang.Object

↳androidx.wear.tiles.ModifiersBuilders.Modifiers

Overview

ModifiersBuilders.Modifiers for an element. These may change the way they are drawn (e.g. ModifiersBuilders.Padding or ModifiersBuilders.Background), or change their behaviour (e.g. ModifiersBuilders.Clickable, or ModifiersBuilders.Semantics).

Summary

Methods
public static ModifiersBuilders.ModifiersfromProto(ModifiersProto.Modifiers proto)

public ModifiersBuilders.BackgroundgetBackground()

Gets adds a background (with optional corner radius) to the modified element.

public ModifiersBuilders.BordergetBorder()

Gets draws a border around the modified element.

public ModifiersBuilders.ClickablegetClickable()

Gets allows its wrapped element to have actions associated with it, which will be executed when the element is tapped.

public ModifiersBuilders.PaddinggetPadding()

Gets adds padding to the modified element.

public ModifiersBuilders.SemanticsgetSemantics()

Gets adds metadata for the modified element, for example, screen reader content descriptions.

public ModifiersProto.ModifierstoProto()

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

Methods

public ModifiersBuilders.Clickable getClickable()

Gets allows its wrapped element to have actions associated with it, which will be executed when the element is tapped. Intended for testing purposes only.

public ModifiersBuilders.Semantics getSemantics()

Gets adds metadata for the modified element, for example, screen reader content descriptions. Intended for testing purposes only.

public ModifiersBuilders.Padding getPadding()

Gets adds padding to the modified element. Intended for testing purposes only.

public ModifiersBuilders.Border getBorder()

Gets draws a border around the modified element. Intended for testing purposes only.

public ModifiersBuilders.Background getBackground()

Gets adds a background (with optional corner radius) to the modified element. Intended for testing purposes only.

public static ModifiersBuilders.Modifiers fromProto(ModifiersProto.Modifiers proto)

public ModifiersProto.Modifiers toProto()