Class IsNullNode
java.lang.Object
com.persequor.saga.modules.visualscripting.nodes.base.NodeType
com.persequor.saga.modules.visualscripting.nodes.NodeTypeExtension
com.persequor.saga.modules.visualscripting.nodes.IsNullNode
- All Implemented Interfaces:
Comparable<NodeType>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.persequor.saga.modules.visualscripting.nodes.NodeTypeExtension
NodeTypeExtension.TransientFieldAdder
-
Field Summary
Fields inherited from class com.persequor.saga.modules.visualscripting.nodes.base.NodeType
editorContext, MENU_GROUPS_FLOW, MENU_GROUPS_LISTS, MENU_GROUPS_MAPS, MENU_GROUPS_SERVICES, MENU_GROUPS_UNKNOWN, MENU_GROUPS_VALUE_CLASSES, nodeContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOverride this method to change the group where the node will appear in the context menu.boolean
Override this method to give a node the ability to be collapsible.boolean
writeInlineOutputMethod
(EditorNode node, String outputName) Methods inherited from class com.persequor.saga.modules.visualscripting.nodes.NodeTypeExtension
escapeOrFormat, getDependencies, getDependencyName, getImports, getInputOrData, getInputValue, getOutputFlow, getTransientFields, isExtensionPointNode, isOutputConnected, writeExecutionMethod, writeJavaCode, writeNodeCode, writeOutputMethod
Methods inherited from class com.persequor.saga.modules.visualscripting.nodes.base.NodeType
addInput, addOutput, clearOutputs, compareTo, equals, getCanBeDeleted, getEditorContext, getInput, getInputs, getInputsNaturalOrder, getMenuLabel, getMissingInputKeys, getMissingOutputKeys, getName, getNodeContext, getOutput, getOutputs, getOutputsNaturalOrder, getScopes, getShowInMenu, getSocketGroupDefinitions, hashCode, isAdvancedMode, setAdvancedMode, setEditorContext, setNodeContext
-
Constructor Details
-
IsNullNode
public IsNullNode()
-
-
Method Details
-
getNodeLabel
- Overrides:
getNodeLabel
in classNodeType
-
getMenuGroup
Description copied from class:NodeType
Override this method to change the group where the node will appear in the context menu.- Overrides:
getMenuGroup
in classNodeType
- Returns:
- List of strings that organises the node in a hierarchy in the context menu.
-
isCollapsible
public boolean isCollapsible()Description copied from class:NodeType
Override this method to give a node the ability to be collapsible. If not overridden, the node is collapsible if it has 1 input socket and 1 output socket. Otherwise, the node is non-collapsible.- Overrides:
isCollapsible
in classNodeType
- Returns:
- boolean that specifies if the node is collapsible.
-
writeInlineOutputMethod
- Overrides:
writeInlineOutputMethod
in classNodeTypeExtension
-
isOutputMethodInline
- Overrides:
isOutputMethodInline
in classNodeTypeExtension
-