Package com.marginallyclever.donatello
NodeGraphSwing contains Swing-based
Node
s and all Swing-based editing
tools for NodeGraphCore elements.
The main entry point is the NodeGraphEditorPanel
, which launches a GUI.
The Swing nodes are registered by calling SwingNodeRegistry.registerNodes()
.-
Interface Summary Interface Description EditAction AbstractAction
s in theNodeGraphEditorPanel
implement this interface to update their ownAbstractAction.setEnabled(boolean)
status.NodeGraphViewListener Used by any class wanting to add decorations to aNodeGraphViewPanel
. -
Class Summary Class Description Bezier 4 point cubic bezier splines.NodeEditPanel Swing UI allowing a user to edit an existingNode
.NodeFactoryPanel Swing UI allowing a user to create a newNode
.NodeGraphEditorPanel NodeGraphEditorPanel
is a Graphic User Interface to edit aNodeGraph
.NodeGraphViewPanel NodeGraphViewPanel
visualizes the contents of aNodeGraph
with Java Swing.Point2D Represents a cartesian coordinate in 2D, with double precision.SwingNodeRegistry This registry adds SwingNode
s to the user's menu via theNodeFactory
.TestNodeGraphSwing Test the NodeGraphSwing elements.