PaneTemplate
@CarProtocol
public final class PaneTemplate implements Template
A template that displays a Pane.
onGetTemplate, this template is considered a refresh of a previous one if:
- The previous template is in a loading state (see
setLoading, or - The template title has not changed, and the number of rows and the title (not counting spans) of each row between the previous and new
Panes have not changed.
Summary
Nested types |
|---|
public final class PaneTemplate.BuilderA builder of |
Public methods |
|
|---|---|
boolean |
|
@Nullable ActionStrip |
This method is deprecated. use |
@Nullable Header |
Returns the |
@Nullable Action |
This method is deprecated. use |
@NonNull Pane |
getPane()Returns the |
@Nullable CarText |
This method is deprecated. use |
int |
hashCode() |
@NonNull String |
toString() |
Public methods
public @Nullable ActionStripgetActionStrip()
Returns the ActionStrip for this template or null if not set.
| See also | |
|---|---|
setActionStrip |
getHeader
public @Nullable Header getHeader()
Returns the Header to display in this template.
This method was introduced in API 7, but is backwards compatible even if the client is using API 6 or below.
| See also | |
|---|---|
setHeader |
public @Nullable ActiongetHeaderAction()
Returns the Action that is set to be displayed in the header of the template, or null if not set.
| See also | |
|---|---|
setHeaderAction |
getPane
public @NonNull Pane getPane()
Returns the Pane to display in the template.
| See also | |
|---|---|
Builder |