Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

Available since firmware version 7.0

The ifSGNodeFocus interface is used to query and manipulate the remote control focus of the nodes in a Scene Graph node tree.

Implemented by

Supported Methods

Description of Methods

setFocus()

setFocus(on as Boolean) as Boolean

If on is set to true, sets the current remote control focus to the subject node, also automatically removing it from the node on which it was previously set. If on is set to false, removes focus from the subject node if it had it.

Setting the remote control focus to false is rarely necessary, and can lead to unexpected behavior.

hasFocus()

hasFocus() as Boolean

Returns true if the subject node has the remote control focus, and false otherwise.

isInFocusChain()

isInFocusChain() as Boolean

Returns true if the subject node or any of its descendants in the Scene Graph node tree has remote control focus.

 

  • No labels