public interface MoveNode extends ProgramNode
Modifier and Type | Method and Description |
---|---|
MoveNodeConfig |
getConfig() |
MoveNodeConfigBuilders |
getConfigBuilders()
This method returns a
MoveNodeConfigBuilders to build configurations for this node type. |
MoveNodeConfigFactory |
getConfigFactory()
Deprecated.
Use
getConfigBuilders() instead. |
TCPSelectionFactory |
getTCPSelectionFactory()
This method returns a
TCPSelectionFactory to create a TCP selection. |
MoveNode |
setConfig(MoveNodeConfig config)
Set a configuration on this node.
|
@Deprecated MoveNodeConfigFactory getConfigFactory()
getConfigBuilders()
instead.MoveNode setConfig(MoveNodeConfig config)
config
- the configuration to be set.IllegalArgumentException
- if this node is a MoveP containing one or more CircleMoveNode
and the node
configuration is attempted to be changed to MoveJ or MoveL. CircleMoveNode
is only allowed under a MoveP.
All instances of CircleMoveNode
need to be deleted before the configuration can be changed from a MoveP to
MoveJ or MoveL.IllegalArgumentException
- if this node is a MoveL or MoveP containing one or more DirectionNode
and
the node configuration is attempted to be changed to a MoveJ.
DirectionNode
is only allowed under a MoveL or MoveP. All instances of DirectionNode
need to be
deleted before the configuration can be changed from a MoveL or MoveP to a MoveJ.IllegalStateException
- if called from a Swing-based URCap outside of an UndoableChanges
scope (see also UndoRedoManager
).MoveNodeConfig getConfig()
MoveNodeConfigBuilders getConfigBuilders()
MoveNodeConfigBuilders
to build configurations for this node type.TCPSelectionFactory getTCPSelectionFactory()
TCPSelectionFactory
to create a TCP selection.Copyright © 2021. All rights reserved.