Documentation of 'org.jplot2d.element.MovableComponent' Java class
MovableComponent
org.jplot2d.element

Interface MovableComponent

    • Method Detail

      • isMovable

        boolean isMovable()
        Returns true if the component is movable by mouse dragging. Only selectable component can be movable.
        Returns:
        true if movable
      • setMovable

        void setMovable(boolean movable)
        Set if the component is movable by mouse dragging.
        Parameters:
        movable - true if movable
      • setLocation

        void setLocation(java.awt.geom.Point2D loc)
        Moves this component to a new location. The location is specified by point in the parent's paper coordinate space.
        Parameters:
        loc - the base point given in the paper coordinate space
      • setLocation

        void setLocation(double x,
                         double y)
        Moves this component to a new location.
        Parameters:
        x - the x-coordinate of the new location
        y - the y-coordinate of the new location

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.