"text"

Sets the header text for a cascade.

Synopsis

setValue(string shape, "text", string s);

shape.text(string s);

Parameters

Parameter Description
shape Name of the object
s New header text

Description

This attribute is used to set (but not read) the text for a cascade.

Example

The following example changes the header text to "This is a cascade".

main()
{
  shape cas=getShape("cascade1");
  cas.text="This is a cascade"; // Header text
}
Figure 1. Cacade with the Header "This is a cascade"

Assignment

Cascade