# Pane

Artifact: [androidx.car.app:app](https://developer.android.com/jetpack/androidx/releases/car-app) [View Source](https://cs.android.com/search?q=file:androidx/car/app/model/Pane.java+class:androidx.car.app.model.Pane) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.0.0)

*** ** * ** ***


```
@CarProtocol
public final class Pane
```

<br />

*** ** * ** ***

Represents a list of rows used for displaying informational content and a set of `https://developer.android.com/reference/androidx/car/app/model/Action`s that users can perform based on such content.

## Summary

| ### Nested types |
|---|
| `public final class https://developer.android.com/reference/androidx/car/app/model/Pane.Builder` A builder of `https://developer.android.com/reference/androidx/car/app/model/Pane`. |

| ### Public methods |
|---|---|
| `boolean` | `https://developer.android.com/reference/androidx/car/app/model/Pane#equals(java.lang.Object)(@https://jspecify.dev/docs/api/org/jspecify/annotations/Nullable.html https://developer.android.com/reference/java/lang/Object.html other)` |
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/java/util/List.html<https://developer.android.com/reference/androidx/car/app/model/Action>` | `https://developer.android.com/reference/androidx/car/app/model/Pane#getActions()()` Returns the list of `https://developer.android.com/reference/androidx/car/app/model/Action`s displayed alongside the `https://developer.android.com/reference/androidx/car/app/model/Row`s in this pane. |
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/Nullable.html https://developer.android.com/reference/androidx/car/app/model/CarIcon` | `@https://developer.android.com/reference/androidx/car/app/annotations/RequiresCarApi(value = 4) https://developer.android.com/reference/androidx/car/app/model/Pane#getImage()()` Returns the optional image to display in this pane. |
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/java/util/List.html<https://developer.android.com/reference/androidx/car/app/model/Row>` | `https://developer.android.com/reference/androidx/car/app/model/Pane#getRows()()` Returns the list of `https://developer.android.com/reference/androidx/car/app/model/Row` objects that make up the `https://developer.android.com/reference/androidx/car/app/model/Pane`. |
| `int` | `https://developer.android.com/reference/androidx/car/app/model/Pane#hashCode()()` |
| `boolean` | `https://developer.android.com/reference/androidx/car/app/model/Pane#isLoading()()` Returns whether the pane is in a loading state. |
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/car/app/model/Pane#toString()()` |

## Public methods

### equals

```
public boolean equals(@Nullable Object other)
```

### getActions

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.0.0)

```
public @NonNull List<Action> getActions()
```

Returns the list of `https://developer.android.com/reference/androidx/car/app/model/Action`s displayed alongside the `https://developer.android.com/reference/androidx/car/app/model/Row`s in this pane.

### getImage

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/car-app#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](https://developer.android.com/jetpack/androidx/releases/car-app#1.0.0)

```
public @NonNull List<Row> getRows()
```

Returns the list of `https://developer.android.com/reference/androidx/car/app/model/Row` objects that make up the `https://developer.android.com/reference/androidx/car/app/model/Pane`.

### hashCode

```
public int hashCode()
```

### isLoading

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.0.0)

```
public boolean isLoading()
```

Returns whether the pane is in a loading state.

| See also |
|---|---|
| `https://developer.android.com/reference/androidx/car/app/model/Pane.Builder#setLoading(boolean)` |   |

### toString

```
public @NonNull String toString()
```