ASP.NET Pack Programmer's Guide
ScriptHelper.getConstant Method
See Also
 






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").

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

public static Object getConstant (
    String className,
    String field
)

 Parameters

className

Name of the class that defines the constant.

field

Name of the constant field.

 Return Value

The constant value

 See Also

ScriptHelper Members
ScriptHelper Class
com.mindfusion.diagramming Namespace