gov.noaa.pmel.sgt.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
Version:
$Revision$, $Date$
Author:
Donald Denbo

Method Summary
 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