Class RotatedTextDrawable

    • Constructor Detail

      • RotatedTextDrawable

        public RotatedTextDrawable​(String text,
                                   TextRotation rotation)
    • Method Detail

      • getPreferredSize

        public Dimension getPreferredSize()
      • isKeepAspectRatio

        public boolean isKeepAspectRatio()
      • setConfiguration

        public void setConfiguration​(org.pentaho.reporting.libraries.base.config.Configuration config)
        Description copied from interface: ReportDrawable
        Provides the current report configuration of the current report process to the drawable. The report configuration can be used to configure the drawing process through the report.
        Specified by:
        setConfiguration in interface ReportDrawable
        config - the report configuration.
      • setStyleSheet

        public void setStyleSheet​(StyleSheet style)
        Description copied from interface: ReportDrawable
        Provides the computed stylesheet of the report element that contained this drawable. The stylesheet is immutable.
        Specified by:
        setStyleSheet in interface ReportDrawable
        style - the stylesheet.
      • setResourceBundleFactory

        public void setResourceBundleFactory​(ResourceBundleFactory bundleFactory)
        Description copied from interface: ReportDrawable
        Defines the resource-bundle factory that can be used to localize the drawing process.
        Specified by:
        setResourceBundleFactory in interface ReportDrawable
        bundleFactory - the resource-bundle factory.
      • getImageMap

        public ImageMap getImageMap​(Rectangle2D bounds)
        Description copied from interface: ReportDrawable
        Returns an optional image-map for the entry.
        Specified by:
        getImageMap in interface ReportDrawable
        bounds - the bounds for which the image map is computed.
        the computed image-map or null if there is no image-map available.
      • getText

        public String getText()