C# Class org.GraphDefined.Vanaheimr.Balder.JurassicGraph.JSGraphElement

A wrapper to access a graph element from JavaScript.
Inheritance: Jurassic.Library.ObjectInstance
Exibir arquivo Open project: Vanaheimr/Balder

Public Methods

Method Description
JSGraphElement ( IGraphElement GraphElement, ScriptEngine JavaScriptEngine ) : System

Create a new graph element wrapper for JavaScript.

Protected Methods

Method Description
GetMissingPropertyValue ( String PropertyKey ) : Object

Retrieves the value of a property which doesn't exist on the object. This method can be overridden to effectively construct properties on the fly. The default behavior is to return undefined.

Method Details

GetMissingPropertyValue() protected method

Retrieves the value of a property which doesn't exist on the object. This method can be overridden to effectively construct properties on the fly. The default behavior is to return undefined.
protected GetMissingPropertyValue ( String PropertyKey ) : Object
PropertyKey String The name of the missing property.
return Object

JSGraphElement() public method

Create a new graph element wrapper for JavaScript.
public JSGraphElement ( IGraphElement GraphElement, ScriptEngine JavaScriptEngine ) : System
GraphElement IGraphElement A graph element.
JavaScriptEngine ScriptEngine An instance of a JavaScript engine.
return System