public final class

ModifiersBuilders.Modifiers.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.wear.tiles.ModifiersBuilders.Modifiers.Builder

Overview

Builder for ModifiersBuilders.Modifiers

Summary

Constructors
publicBuilder()

Methods
public ModifiersBuilders.Modifiersbuild()

Builds an instance from accumulated values.

public ModifiersBuilders.Modifiers.BuildersetBackground(ModifiersBuilders.Background background)

Sets the background (with optional corner radius) of the modified element.

public ModifiersBuilders.Modifiers.BuildersetBorder(ModifiersBuilders.Border border)

Sets the border of the modified element.

public ModifiersBuilders.Modifiers.BuildersetClickable(ModifiersBuilders.Clickable clickable)

Sets the clickable property of the modified element.

public ModifiersBuilders.Modifiers.BuildersetMetadata(ModifiersBuilders.ElementMetadata metadata)

Sets metadata about an element.

public ModifiersBuilders.Modifiers.BuildersetPadding(ModifiersBuilders.Padding padding)

Sets the padding of the modified element.

public ModifiersBuilders.Modifiers.BuildersetSemantics(ModifiersBuilders.Semantics semantics)

Sets the semantics of the modified element.

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

Constructors

public Builder()

Methods

Sets the clickable property of the modified element. It allows its wrapped element to have actions associated with it, which will be executed when the element is tapped.

Sets the semantics of the modified element. This can be used to add metadata to the modified element (eg. screen reader content descriptions).

Sets the padding of the modified element.

Sets the border of the modified element.

Sets the background (with optional corner radius) of the modified element.

Sets metadata about an element. For use by libraries building higher-level components only. This can be used to track component metadata.

Builds an instance from accumulated values.