Google is committed to advancing racial equity for Black communities. See how.

PaneTemplate

public final class PaneTemplate
extends Object implements Template

java.lang.Object
   ↳ com.google.android.libraries.car.app.model.PaneTemplate


A template that displays a Pane.

Template Restrictions

In regards to template refreshes, as described in Screen.getTemplate(), this template is considered a refresh of a previous one if:
  • The template title has not changed, and
  • The previous template is in a loading state (see Pane.Builder.setIsLoading(boolean), or the number of rows and the string contents (title, texts, not counting spans) of each row between the previous and new Panes have not changed.

Summary

Nested classes

class PaneTemplate.Builder

A builder of PaneTemplate

Public methods

static PaneTemplate.Builder builder(Pane pane)

Constructs a new builder of PaneTemplate.

boolean equals(Object other)
int hashCode()
String toString()

Inherited methods

Public methods

builder

public static PaneTemplate.Builder builder (Pane pane)

Constructs a new builder of PaneTemplate.

Parameters
pane Pane

Returns
PaneTemplate.Builder

Throws
NullPointerException if pane is null

equals

public boolean equals (Object other)

Parameters
other Object

Returns
boolean

hashCode

public int hashCode ()

Returns
int

toString

public String toString ()

Returns
String