Documentation of 'sgtplot.swing.Draggable' Java class
Draggable
sgtplot.swing

Interface Draggable

  • All Known Implementing Classes:
    UserIcon, ValueIcon


    public interface Draggable
    Draggable defines an interface to allow classes to be imaged separately in a Layer from other classes. The interface is sufficient to allow dragging in a JLayeredPane (JPane).
    Since:
    2.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void setLocation(java.awt.Point loc)
      Set the location of the Draggable object.
      void setLocation(java.awt.Point loc, boolean fireEvent)
      Set the location of the Draggable object and optionally don't fire a PropertyChangeEvent
      void setLocationNoVeto(int x, int y)
      Set the location of the Draggable object.
    • Method Detail

      • setLocationNoVeto

        void setLocationNoVeto(int x,
                               int y)
        Set the location of the Draggable object. Change in location will not be vetoed.
      • setLocation

        void setLocation(java.awt.Point loc)
        Set the location of the Draggable object.
      • setLocation

        void setLocation(java.awt.Point loc,
                         boolean fireEvent)
        Set the location of the Draggable object and optionally don't fire a PropertyChangeEvent
        Since:
        3.0

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.