Difference between revisions of "Scene graph node list"

From Developer Documents
Jump to navigation Jump to search
(Created page with "== 2D Nodes == === org.simantics.scenegraph.g2d === {|class="wikitable" !Class !Description |- |<em>IG2DNode</em> |Interface implemented by all 2D scene graph nodes. |- |G2DNod...")
 
Line 3: Line 3:
 
=== org.simantics.scenegraph.g2d ===
 
=== org.simantics.scenegraph.g2d ===
  
{|class="wikitable"
+
{|class="wikitable" border="0" cellpadding="5" cellspacing="2" width="100%" "style="background:transparent; text-align:left;"
 
!Class
 
!Class
 
!Description
 
!Description
Line 25: Line 25:
 
=== org.simantics.scenegraph.g2d.nodes ===
 
=== org.simantics.scenegraph.g2d.nodes ===
  
{|class="wikitable"
+
{|class="wikitable" border="0" cellpadding="5" cellspacing="2" width="100%" "style="background:transparent; text-align:left;"
 
!Class
 
!Class
 
!Description
 
!Description
 
|-
 
|-
|G2DNode
+
|AnimatedSVGNode
|Base class for all 2D rendering leaf nodes.
+
|Do not use.
 +
|-
 +
|BackgroundNode
 +
|Paints current clipping bounds or specified rectangle with the specified color/paint.
 
|-
 
|-
 
|}
 
|}
Line 37: Line 40:
  
 
=== org.simantics.diagram.elements ===
 
=== org.simantics.diagram.elements ===
 +
 +
{|class="wikitable" border="0" cellpadding="5" cellspacing="2" width="100%" "style="background:transparent; text-align:left;"
 +
!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 <em>TextNode</em> nodes as its children.
 +
|-
 +
|}
  
 
For the code, see [[svn:2d/trunk/org.simantics.diagram/src/org/simantics/diagram/elements|org.simantics.diagram.elements]].
 
For the code, see [[svn:2d/trunk/org.simantics.diagram/src/org/simantics/diagram/elements|org.simantics.diagram.elements]].

Revision as of 12:42, 13 October 2011

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.

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.