Documentation of 'org.jplot2d.element.impl.LegendItemEx' Java class
LegendItemEx
org.jplot2d.element.impl

Interface LegendItemEx

    • Method Detail

      • getLegend

        LegendEx getLegend()
        Description copied from interface: LegendItem
        Returns the legend who show this item
        Specified by:
        getLegend in interface LegendItem
        Returns:
        the legend who show this item
      • setLegend

        void setLegend(LegendEx legend)
      • getText

        java.lang.String getText()
        Returns the text displayed in the legend item
        Returns:
        the text
      • setText

        void setText(java.lang.String text)
        Sets the text displayed in the legend item
        Parameters:
        text - the text displayed in the legend item
      • canContribute

        boolean canContribute()
        Returns true if the item has a text can be displayed in legend.
        Returns:
        the indicator
      • legendEffectiveFontChanged

        void legendEffectiveFontChanged()
        Called by legend when its effective font changed
      • getSize

        java.awt.geom.Dimension2D getSize()
      • setLocation

        void setLocation(double locx,
                         double locy)
        Set location in legend
      • draw

        void draw(java.awt.Graphics2D g)
        This method is called by LegendImpl. The given g has been transformed to legend's paper space.
        Parameters:
        g - the graphic to draw.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.