Pane


@CarProtocol
public final class Pane


Represents a list of rows used for displaying informational content and a set of Actions that users can perform based on such content.

Summary

Nested types

public final class Pane.Builder

A builder of Pane.

Public methods

boolean
@NonNull List<Action>

Returns the list of Actions displayed alongside the Rows in this pane.

@Nullable CarIcon
@RequiresCarApi(value = 4)
getImage()

Returns the optional image to display in this pane.

@NonNull List<Row>

Returns the list of Row objects that make up the Pane.

int
boolean

Returns whether the pane is in a loading state.

@NonNull String

Public methods

equals

public boolean equals(@Nullable Object other)

getActions

Added in 1.0.0
public @NonNull List<ActiongetActions()

Returns the list of Actions displayed alongside the Rows in this pane.

getImage

Added in 1.1.0
@RequiresCarApi(value = 4)
public @Nullable CarIcon getImage()

Returns the optional image to display in this pane.

getRows

Added in 1.0.0
public @NonNull List<RowgetRows()

Returns the list of Row objects that make up the Pane.

hashCode

public int hashCode()

isLoading

Added in 1.0.0
public boolean isLoading()

Returns whether the pane is in a loading state.

See also
setLoading

toString

public @NonNull String toString()