Documentation of 'sgtplot.Moveable' Java class
Moveable
sgtplot

Interface Moveable

  • All Known Implementing Classes:
    LineKey, Logo, PointCollectionKey, SGLabel, VectorKey


    public interface Moveable
    Interface indicates that object can be moved with a mouse drag. Objects are notified of movement via the PropertyChange mechanism.
    Since:
    2.0
    • Method Detail

      • getBounds

        java.awt.Rectangle getBounds()
        Gets the bounding rectangle in device coordinates.
        Returns:
        bounding rectangle
        Since:
        2.0
      • getLocation

        java.awt.Point getLocation()
        Gets the location in device coordinates.
        Returns:
        location
        Since:
        2.0
      • setLocation

        void setLocation(java.awt.Point point)
        Sets the location in device coordinates.
        Since:
        2.0
      • isMoveable

        boolean isMoveable()
        Returns true if the current state is moveable
        Returns:
        true if moveable
        Since:
        2.0
      • setMoveable

        void setMoveable(boolean move)
        Set the moveable property.
        Parameters:
        select - if true object is moveable
        Since:
        2.0
      • addPropertyChangeListener

        void addPropertyChangeListener(java.beans.PropertyChangeListener l)
        Add a new PropertyChangeListener. Properties will include "moved". Implementation of the following two methods will normally be via the PropertyChangeSupport class.
        Since:
        2.0
      • removePropertyChangeListener

        void removePropertyChangeListener(java.beans.PropertyChangeListener l)
        Remove a listener.
        Since:
        2.0

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.