Search
XmlSerializationContext.readColor Method
See Also
 






Reads a color with the specified name.

Namespace: com.mindfusion.scheduling.model
Package: com.mindfusion.scheduling.model

 Syntax

Java  Copy Code

public Color readColor (
    String elementName,
    Element parentElement
)

 Parameters

elementName

The name of the element containing the Color object.

parentElement

The parent element of the node with the specified name.

 Return Value

A Color object. Returns Colors.Black if there is no element with the specified name under the specified parent.

 See Also