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

Class LegendItemImpl

    • Constructor Detail

      • LegendItemImpl

        public LegendItemImpl()
    • Method Detail

      • getId

        public java.lang.String getId()
        Description copied from interface: Element
        Returns the id string of this element
        Specified by:
        getId in interface Element
        Returns:
        the id string
      • getInvokeStepFormParent

        public InvokeStep getInvokeStepFormParent()
        Description copied from interface: ElementEx
        Return the invoke step to get this object from its parent.
        Specified by:
        getInvokeStepFormParent in interface ElementEx
        Returns:
        the invoke step
      • getLocation

        public java.awt.geom.Point2D getLocation()
      • setLocation

        public void setLocation(double locX,
                                double locY)
        Description copied from interface: LegendItemEx
        Set location in legend
        Specified by:
        setLocation in interface LegendItemEx
      • getBounds

        public java.awt.geom.Rectangle2D getBounds()
      • isVisible

        public boolean isVisible()
        Description copied from interface: LegendItem
        returns true if this item is displayed in legend; otherwise, returns false.
        Specified by:
        isVisible in interface LegendItem
        Returns:
        the flag
      • setVisible

        public void setVisible(boolean visible)
        Description copied from interface: LegendItem
        Sets a flag indicating whether this item should be displayed in the legend. The default value is true, even if the Graph is invisible.
        Specified by:
        setVisible in interface LegendItem
        Parameters:
        visible - the flag
      • copyFrom

        public void copyFrom(ElementEx src)
        Description copied from interface: ElementEx
        Copies all properties from given src to this element. Notice properties of sub-elements are not copied over.
        Specified by:
        copyFrom in interface ElementEx
        Overrides:
        copyFrom in class ElementImpl
        Parameters:
        src - the src

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.