gov.noaa.pmel.sgt.swing
Interface Draggable

All Known Implementing Classes:
ValueIcon, UserIcon

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
Version:
$Revision: 1.5 $, $Date: 2001/02/06 20:05:52 $
Author:
Donald Denbo

Method Summary
 void setLocation(java.awt.Point loc)
          Set the location of the Draggable object.
 void setLocationNoVeto(int x, int y)
          Set the location of the Draggable object.
 

Method Detail

setLocationNoVeto

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

setLocation

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


Send comments about the Scientific Graphics toolkit to dwd@pmel.noaa.gov. For more information about Java Development in the EPIC Group see the EPIC Software Page
Generated on December 13 2001