Class Index

Classes


Namespace motigon.Config

Defines the figure configuration.

Config

Method Summary
String
Gets the context URL.
String
Gets the endpoint base path.
String
Gets the endpoint definition path based on the definition name. All endpoint definitions will be looked up from this base path in the form "[base path]/[definition name].txt".
String
Gets the endpoint icon path based on the definition name. All endpoint icons will be looked up from this base path in the form "[base path]/[definition name].png".
String
Gets the endpoint set path.
String
Gets the figure base path.
String
Gets the figure definition path based on the definition name. All figure definitions will be looked up from this base path in the form "[base path]/[definition name].txt".
String
Gets the figure icon path based on the definition name. All figure icons will be looked up from this base path in the form "[base path]/[definition name].png".
String
Gets the figure set path.
String
Gets the image base path.
String
getImagePath(path)
Gets the image path based on the internal image path. All images will be looked up from the base path in the form "[base path]/[image path]". If the path starts with a slash, the image will be looked up from the base of the server. If the path start with either "http://" or "https://", the image path will be assumed to be absolute, and the base path will be ignored.
void
setContextURL(contextURL)
Sets the context URL. The context URL defines the base path for looking up external resources. Currently valid only for Java2D renderer.
void
Sets the endpoint base path.
void
Sets the endpoint set path. This path defines where to find the endpoint set definition file.
void
Sets the figure base path.
void
Sets the figure set path. This path defines where to find the figure set definition file.
void
setImageBase(path)
Sets the image base path.
Method Detail
getContextURL()
Gets the context URL.
Returns:
{String}

getEndpointBase()
Gets the endpoint base path.
Returns:
{String}

getEndpointDefinitionPath(name)
Gets the endpoint definition path based on the definition name. All endpoint definitions will be looked up from this base path in the form "[base path]/[definition name].txt".
Parameters:
{String} name
the name
Returns:
{String}

getEndpointIconPath(name)
Gets the endpoint icon path based on the definition name. All endpoint icons will be looked up from this base path in the form "[base path]/[definition name].png".
Parameters:
{String} name
the name
Returns:
{String}

getEndpointSetPath()
Gets the endpoint set path.
Returns:
{String}

getFigureBase()
Gets the figure base path.
Returns:
{String}

getFigureDefinitionPath(name)
Gets the figure definition path based on the definition name. All figure definitions will be looked up from this base path in the form "[base path]/[definition name].txt".
Parameters:
{String} name
the definition name
Returns:
{String}

getFigureIconPath(name)
Gets the figure icon path based on the definition name. All figure icons will be looked up from this base path in the form "[base path]/[definition name].png".
Parameters:
{String} name
the name
Returns:
{String}

getFigureSetPath()
Gets the figure set path.
Returns:
{String}

getImageBase()
Gets the image base path.
Returns:
{String}

getImagePath(path)
Gets the image path based on the internal image path. All images will be looked up from the base path in the form "[base path]/[image path]". If the path starts with a slash, the image will be looked up from the base of the server. If the path start with either "http://" or "https://", the image path will be assumed to be absolute, and the base path will be ignored.
Parameters:
{String} path
the path
Returns:
{String}

setContextURL(contextURL)
Sets the context URL. The context URL defines the base path for looking up external resources. Currently valid only for Java2D renderer.
Parameters:
{String} contextURL
the new context URL
Returns:
{void}

setEndpointBase(path)
Sets the endpoint base path.
Parameters:
{String} path
the new endpoint base path
Returns:
{void}

setEndpointSetPath(path)
Sets the endpoint set path. This path defines where to find the endpoint set definition file.
Parameters:
{String} path
the new endpoint set path
Returns:
{void}

setFigureBase(path)
Sets the figure base path.
Parameters:
{String} path
the new figure base path
Returns:
{void}

setFigureSetPath(path)
Sets the figure set path. This path defines where to find the figure set definition file.
Parameters:
{String} path
the new figure set path
Returns:
{void}

setImageBase(path)
Sets the image base path.
Parameters:
{String} path
the new image base path
Returns:
{void}