Scene graph node list

From Developer Documents
Jump to navigation Jump to search

2D Nodes

org.simantics.scenegraph.g2d

Class Description
IG2DNode Interface implemented by all 2D scene graph nodes.
G2DNode Base class for all 2D rendering leaf nodes.
G2DParentNode Base class for all 2D rendering nodes that may have children.
G2DSceneGraph 2D scene graph root node.

For the code, see org.simantics.scenegraph.g2d.

org.simantics.scenegraph.g2d.nodes

Class Description
AnimatedSVGNode Do not use.
BackgroundNode Paints current clipping bounds or specified rectangle with the specified color/paint.
BooleanToggleValueNode A simple statically sized/styled push-button widget that can be pressed on off. Nofitications of changes are deployed through an ActionListener.
BoundsNode Internal system support structure. Do not use.
BoxSelectionNode Used for visualizing a box selection operation. Box selection ends when the specified mouse button is released. At this time the node will notify its SelectionListener if one has been set with the coordinates of the selection box and the active keyboard modifiers at that time.

For the code, see org.simantics.scenegraph.g2d.nodes.

org.simantics.diagram.elements

Class Description
TextNode A text widget node for the diagram. Supports: in-line editing, background/foreground color, standard font settings, horizontal alignment. Does not (yet) support: multi-line text, vertical alignment.
TextGridNode A 2D parent node holding a NxM grid of TextNode nodes as its children.

For the code, see org.simantics.diagram.elements.