Class MoDataBindingElement
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.elements.SoElement
-
- com.openinventor.inventor.elements.SoReplacedElement
-
- com.openinventor.meshvizxlm.mapping.elements.MoDataBindingElement
-
public class MoDataBindingElement extends SoReplacedElement
Element that stores the current data binding.- See Also:
MoDataBinding
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MoDataBinding.DataBinding
getDataBinding(SoState state)
Returns the current data binding from the specified traversal state.static void
set(SoState state, SoNode node, MoDataBinding.DataBinding dataBinding)
Sets the current data binding for the specified traversal state and node.-
Methods inherited from class com.openinventor.inventor.elements.SoReplacedElement
getClassStackIndex
-
Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, pop, push
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Method Detail
-
set
public static void set(SoState state, SoNode node, MoDataBinding.DataBinding dataBinding)
Sets the current data binding for the specified traversal state and node.- Parameters:
state
- traversal statenode
- data binding nodedataBinding
- the data binding
-
getDataBinding
public static MoDataBinding.DataBinding getDataBinding(SoState state)
Returns the current data binding from the specified traversal state.- Parameters:
state
- traversal state- Returns:
- the current data binding
-
-