Table of Contents
Extends: Group
Description
The Panel node is used to create sliding panels for channel UI, similar to those in the Roku OS home screen,
Fields
Field | Type | Default | Use | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
panelSize | string | narrow | Write-Only
Note that PanelSet usage mandates that whenever two Panels are visible, they should include either one narrow and one wide panel or two medium width panels. If one Panel is visible, it's panelSize should be set to "full". | ||||||||||
width | float | 388 | Specifies the width of the panel in pixels. In most cases, this should be set by setting the panelSize field to one of the pre-configured settings. | ||||||||||
height | float | -1 | Specifies the height of the panel. In most cases, this will be set by the PanelSet and should treated as a read-only value. | ||||||||||
leftPosition | float | 105 | Specifies the horizontal position of the panel relative to the left edge of the PanelSet (which is a the left edge of the display by default). In most cases, this should be set by setting the panelSize field to one of the pre-configure settings. | ||||||||||
overhangTitle | string | "" | When the panel is used as part of the OverhangPanelSetScene, setting the overhangTitle field will cause that text to be displayed as the title in the overhang when the panel slides into the left position of the PanelSet. | ||||||||||
clockText | string | "" | When the panel is used as part of the OverhangPanelSetScene, setting the clockText field will cause that text to be displayed instead of the clock in the overhang when the panel slides into the left position of the PanelSet. | ||||||||||
optionsAvailable | Boolean | false | When the panel is used as part of the OverhangPanelSetScene, setting optionsAvailable will enable/disable the options button handling when the panel slides into the left position of the PanelSet. The overhang's options prompt will change appearance to provide feedback to the user that the options button is enabled/disabled. | ||||||||||
leftOrientation | Boolean | false | When the panel is used as part of the OverhangPanelSetScene, leftOrientation will be set to true when the panel moves into the left position of the PanelSet and set to false when the panel moves into the right position of the PanelSet. | ||||||||||
leftOnly | Boolean | false | The leftOnly field provides information to the PanelSet that this Panel should never appear in the right position of the PanelSet. When the panels are sliding back towards the home position (as a result of a Left or Back key press), and the panel slides into the right position, the PanelSet initiates another slide in the same back direction so that the panel does not end up on the right. | ||||||||||
hasNextPanel | Boolean | false | The hasNextPanel field provides information to the PanelSet as to whether or not this panel has another panel to its right. If set to true, the PanelSet's right arrow indicator is displayed and pressing the right arrow button on the remote triggers the PanelSet to move the focus one panel to the right, sliding the Panels as needed to make sure the panel that has the focus ends up onscreen. If set to false, the PanelSet's right arrow indicator is not displayed and the right arrow button does not trigger any change to the focused panel. | ||||||||||
isFullScreen | Boolean | false | The isFullScreen field indicates that this panel should be the only panel displayed (i.e. it will take up both the left and right positions in the PanelSet. | ||||||||||
goBackCount | integer | 1 | Setting goBackCount field to a value greater than 1 causes the PanelSet to move the focus back that many panels when the user presses the left arrow button, sliding the Panels as needed to make sure the panel that has the focus ends up onscreen. | ||||||||||
selectButtonMovesPanelForward | Boolean | true | When set to true, pressing the OK/Select button on the remote control causes the PanelSet focus to move to the next panel. | ||||||||||
isOffscreenLeft | Boolean | false | This field is set by the PanelSet to indicate that the panel is positioned offscreen of the left edge of the PanelSet. This field is often observed to cancel outstanding load requests for images that are displayed on the panel. |