Labels

A label is an object that contains a string. It is typically a brief description used to identify a field or other value nearby. In JReport, the display type of a label can be changed, that is you can map the string to another value or image to be displayed instead.

The following tasks related to labels are described in this section:

See an example: The SampleComponents catalog, included with JReport Designer, contains reports that have examples of how each component type could be used in a report. For the label component example, open <install_root>\Demo\Reports\SampleComponents\ForLabel.cls.