# Pane

# 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)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/car/app/model/Pane "View this page in Java")

<br />

```
@CarProtocol
class Pane
```

<br />

*** ** * ** ***

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

## Summary

|                                                                                              ### Nested types                                                                                              |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `class `[Pane.Builder](https://developer.android.com/reference/kotlin/androidx/car/app/model/Pane.Builder) A builder of[Pane](https://developer.android.com/reference/kotlin/androidx/car/app/model/Pane). |

|                                                                                                                                       ### Public functions                                                                                                                                       |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)                                                                                                                                                                                                              | [equals](https://developer.android.com/reference/kotlin/androidx/car/app/model/Pane#equals(java.lang.Object))`(other: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?)`                                                                                                                                      |
| `(`[Mutable](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)`)`[List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)`<`[Action](https://developer.android.com/reference/kotlin/androidx/car/app/model/Action)`!>` | [getActions](https://developer.android.com/reference/kotlin/androidx/car/app/model/Pane#getActions())`()` Returns the list of[Action](https://developer.android.com/reference/kotlin/androidx/car/app/model/Action)s displayed alongside the[Row](https://developer.android.com/reference/kotlin/androidx/car/app/model/Row)s in this pane. |
| [CarIcon](https://developer.android.com/reference/kotlin/androidx/car/app/model/CarIcon)`?`                                                                                                                                                                                                      | `@`[RequiresCarApi](https://developer.android.com/reference/kotlin/androidx/car/app/annotations/RequiresCarApi)`(value = 4)` [getImage](https://developer.android.com/reference/kotlin/androidx/car/app/model/Pane#getImage())`()` Returns the optional image to display in this pane.                                                      |
| `(`[Mutable](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)`)`[List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)`<`[Row](https://developer.android.com/reference/kotlin/androidx/car/app/model/Row)`!>`       | [getRows](https://developer.android.com/reference/kotlin/androidx/car/app/model/Pane#getRows())`()` Returns the list of[Row](https://developer.android.com/reference/kotlin/androidx/car/app/model/Row)objects that make up the[Pane](https://developer.android.com/reference/kotlin/androidx/car/app/model/Pane).                          |
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                                                                                                                                                                                                                      | [hashCode](https://developer.android.com/reference/kotlin/androidx/car/app/model/Pane#hashCode())`()`                                                                                                                                                                                                                                       |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)                                                                                                                                                                                                              | [isLoading](https://developer.android.com/reference/kotlin/androidx/car/app/model/Pane#isLoading())`()` Returns whether the pane is in a loading state.                                                                                                                                                                                     |
| [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)                                                                                                                                                                                                                | [toString](https://developer.android.com/reference/kotlin/androidx/car/app/model/Pane#toString())`()`                                                                                                                                                                                                                                       |

## Public functions

### equals

```
fun equals(other: Any?): Boolean
```  

### getActions

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

```
fun getActions(): (Mutable)List<Action!>
```

Returns the list of[Action](https://developer.android.com/reference/kotlin/androidx/car/app/model/Action)s displayed alongside the[Row](https://developer.android.com/reference/kotlin/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)
fun getImage(): CarIcon?
```

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)  

```
fun getRows(): (Mutable)List<Row!>
```

Returns the list of[Row](https://developer.android.com/reference/kotlin/androidx/car/app/model/Row)objects that make up the[Pane](https://developer.android.com/reference/kotlin/androidx/car/app/model/Pane).  

### hashCode

```
fun hashCode(): Int
```  

### isLoading

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

```
fun isLoading(): Boolean
```

Returns whether the pane is in a loading state.  

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

### toString

```
fun toString(): String
```