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

Class HStripAnnotationImpl

    • Constructor Detail

      • HStripAnnotationImpl

        public HStripAnnotationImpl()
    • 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
      • getLocation

        public java.awt.geom.Point2D getLocation()
        Description copied from interface: PComponent
        Returns the location of this component.
        Specified by:
        getLocation in interface PComponent
        Returns:
        the base point in its parent's paper coordinate space
      • setLocation

        public void setLocation(double x,
                                double y)
        Description copied from interface: MovableComponent
        Moves this component to a new location.
        Specified by:
        setLocation in interface MovableComponent
        Parameters:
        x - the x-coordinate of the new location
        y - the y-coordinate of the new location
      • getSize

        public java.awt.geom.Dimension2D getSize()
        Description copied from interface: PComponent
        Returns the paper size of this component.
        Specified by:
        getSize in interface PComponent
        Returns:
      • getBounds

        public java.awt.geom.Rectangle2D getBounds()
        Description copied from interface: PComponent
        Returns the paper bounds relative to its location. The units of bounds is pt (1/72 inch)
        Specified by:
        getBounds in interface PComponent
        Overrides:
        getBounds in class ComponentImpl
        Returns:
        the paper bounds of this component.
      • getSelectableBounds

        public java.awt.geom.Rectangle2D getSelectableBounds()
        Description copied from interface: PComponent
        Returns the selectable bounds relative to its location. The selectable bound may be slightly larger than the bounds, for easy selection by mouse. The units of bounds is pt (1/72 inch)
        Specified by:
        getSelectableBounds in interface PComponent
        Overrides:
        getSelectableBounds in class ComponentImpl
        Returns:
        the paper bounds of this component.
      • getValueRange

        public Range getValueRange()
        Description copied from interface: StripAnnotation
        Returns the value range of this annotation
        Specified by:
        getValueRange in interface StripAnnotation
        Returns:
        the value range of this annotation
      • setValueRange

        public void setValueRange(Range value)
        Description copied from interface: StripAnnotation
        Sets the value range of this annotation
        Specified by:
        setValueRange in interface StripAnnotation
        Parameters:
        value - the value range of this annotation
      • getFillPaint

        public java.awt.Paint getFillPaint()
        Description copied from interface: StripAnnotation
        Returns the Paint to be used to fill the annotation strip.
        Specified by:
        getFillPaint in interface StripAnnotation
        Returns:
        the Paint
      • setFillPaint

        public void setFillPaint(java.awt.Paint paint)
        Description copied from interface: StripAnnotation
        Sets the Paint to be used to fill the annotation strip. The default paint is semi-transparent grey.
        Specified by:
        setFillPaint in interface StripAnnotation
        Parameters:
        paint - the Paint to be used to fill the annotation strip
      • draw

        public void draw(java.awt.Graphics2D g)
        Description copied from interface: ComponentEx
        Draw this component only. All its children is not drawn.
        Specified by:
        draw in interface ComponentEx
        Parameters:
        g - to the Graphics2D drawing. The transformation of this component is not applied.
      • 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 ComponentImpl
        Parameters:
        src - the src

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.