Provides helper methods to help accessing the JDiagram API from JavaScript. An instance of this class is returned by the getScriptHelper method.
The following tables list the members exposed by the ScriptHelper type.
Name | Description | |
---|---|---|
![]() |
|
Name | Description | |
---|---|---|
![]() |
Gets the AnchorPattern object that has the specified ID. |
|
![]() |
Creates a new AeroEffect instance. |
|
![]() |
Creates a new empty AnchorPattern with the specified identifier. |
|
![]() |
Creates a new AnchorPoint instance by setting its relative position in nodes. The point will allow both outgoing and incoming links. |
|
![]() |
Creates a new AnnealLayout instance. |
|
![]() |
Creates a new CascadeLayout instance. |
|
![]() |
Creates a new ChangeItemCmd instance for the specified item. |
|
![]() |
Creates a new CircularLayout instance. |
|
![]() |
Creates a new java.awt.Color instance. |
|
![]() |
Creates a new FlowchartLayout instance. |
|
![]() |
Creates a Font object with the specified name and size. |
|
![]() |
Creates a font attributes map. |
|
![]() |
Creates a Font object with the specified name, size and attributes. |
|
![]() |
Creates a new GlassEffect instance. |
|
![]() |
Creates a new GradientBrush instance. |
|
![]() |
Creates a new GridLayout instance. |
|
![]() |
Creates a new HierarchicalLayout instance. |
|
![]() |
Creates a new LayeredLayout instance. |
|
![]() |
Creates a new OneWayLayout instance. |
|
![]() |
Creates a new OrthogonalLayout instance. |
|
![]() |
Creates a new OrthogonalRouter instance. |
|
![]() |
Creates a java.awt.print.PageFormat instance. |
|
![]() |
Creates a java.awt.print.Paper instance. |
|
![]() |
Creates a new PathFinder instance. |
|
![]() |
Creates a new Pen instance. |
|
![]() |
Creates a Point instance with the specified coordinates. |
|
![]() |
Creates a Point2D.Float instance with the specified coordinates. |
|
![]() |
Creates a Rectangle instance with the specified coordinates. |
|
![]() |
Creates a Rectangle2D.Float instance with the specified coordinates. |
|
![]() |
Creates a Dimension instance with the specified width and height. |
|
![]() |
Creates a Dimension2D instance with the specified width and height. |
|
![]() |
Overloaded. |
|
![]() |
Creates a new SpringLayout instance. |
|
![]() |
Creates a new SwimlaneLayout instance. |
|
![]() |
Creates a TextFormat object. |
|
![]() |
Creates a Thickness instance with the specified border sizes. |
|
![]() |
Creates a new TopologicalLayout instance. |
|
![]() |
Creates a new TreeLayout instance. |
|
![]() |
Creates a new TriangularLayout instance. |
|
![]() ![]() |
Provides access to constants (public static fields) defined in subpackages of com.mindfusion.diagramming. For example, to access DashFrame field of class com.mindfusion.diagramming.HandlesStyle, invoke getConstant("HandlesStyle", "SquareHandles"). |
|
![]() |
Gets the list of predefined shapes. |
|
![]() |
Loads a ShapeLibrary from the specified URL. The URL must be fully qualified, relative paths are not supported. |
|
![]() |
Gets the predefined shape that has the specified ID. |