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

Class PointAnnotationImpl

    • Constructor Detail

      • PointAnnotationImpl

        public PointAnnotationImpl()
    • 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 locX,
                                double locY)
        Description copied from interface: MovableComponent
        Moves this component to a new location.
        Specified by:
        setLocation in interface MovableComponent
        Parameters:
        locX - the x-coordinate of the new location
        locY - 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:
      • 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
      • getValuePoint

        public java.awt.geom.Point2D getValuePoint()
        Description copied from interface: PointAnnotation
        returns the x,y values location in layer's world coordinate system.
        Specified by:
        getValuePoint in interface PointAnnotation
        Returns:
        the x,y values location
      • setValuePoint

        public void setValuePoint(java.awt.geom.Point2D point)
        Description copied from interface: PointAnnotation
        Sets the x,y values location in layer's world coordinate system
        Specified by:
        setValuePoint in interface PointAnnotation
        Parameters:
        point - the x,y values location
      • setValuePoint

        public void setValuePoint(double x,
                                  double y)
        Description copied from interface: PointAnnotation
        Sets the x,y values location in layer's world coordinate system
        Specified by:
        setValuePoint in interface PointAnnotation
        Parameters:
        x - the x-values of the new location
        y - the y-values of the new location

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.