public final class PaneTemplate
extends Object implements Template


A template that displays a Pane.

Template Restrictions

In regards to template refreshes, as described in Screen.onGetTemplate(), this template is considered a refresh of a previous one if:
  • The previous template is in a loading state (see Pane.Builder.setLoading(boolean), 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.


Nested classes

class PaneTemplate.Builder

A builder of PaneTemplate

Public methods

boolean equals(Object other)
ActionStrip getActionStrip()

Returns the ActionStrip for this template or null if not set.

Action getHeaderAction()

Returns the Action that is set to be displayed in the header of the template, or null if not set.

Pane getPane()

Returns the Pane to display in the template.

CarText getTitle()

Returns the title of the template or null if not set.

int hashCode()
String toString()

Inherited methods