getStretchCaptionsCount();
The getStretchCaptionsCount method returns the number of titles with relative width.
Title width is fixed, set in pixels, and relative, set in percents.
Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).
// Get tree titles caps = Tree.getCaptions(); // Get the number of titles with relative width caps.getStretchCaptionsCount();
After executing the example the number of titles with relative width is obtained.
See also: