@ProviderType public interface FolderNode extends ProgramNode
This interface represents a Folder program node. The Folder node is a built-in program node provided by Universal Robots.
The purpose of this program node is to contain other program node (as children) in order thereby to organize and label specific parts of a program, to clean up the program tree, and to make the program easier to read and navigate.Modifier and Type | Method and Description |
---|---|
String |
getName() |
boolean |
isSubtreeHidden()
Indicates whether the Folder node's subtree is hidden in the Program Tree in PolyScope, i.e.
|
FolderNode |
setName(String name)
Sets the name of the Folder node.
|
FolderNode |
setSubtreeHidden(boolean subtreeHidden)
Configure whether or not the subtree of the Folder node is hidden, i.e.
|
FolderNode setName(String name)
name
- The name of the folder.IllegalStateException
- If called from a Swing-based URCap outside of an UndoableChanges
scope (see
also UndoRedoManager
).String getName()
FolderNode setSubtreeHidden(boolean subtreeHidden)
subtreeHidden
- true
, if the Folder node's subtree should be hidden in the Program Tree.
false
if the subtree should be visible.IllegalStateException
- If called from a Swing-based URCap outside of an UndoableChanges
scope (see
also UndoRedoManager
).boolean isSubtreeHidden()
true
if the Folder node's subtree is hidden, and false
if the subtree is visible in the
Program Tree in PolyScope.Copyright © 2023. All rights reserved.