/[classpath]/classpath/java/awt/dnd/DropTargetContext.java
ViewVC logotype

Diff of /classpath/java/awt/dnd/DropTargetContext.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by mkoch, Wed Oct 2 12:58:39 2002 UTC revision 1.3 by mkoch, Mon Feb 17 08:05:50 2003 UTC
# Line 46  import java.awt.datatransfer.Transferabl Line 46  import java.awt.datatransfer.Transferabl
46  import java.awt.datatransfer.UnsupportedFlavorException;  import java.awt.datatransfer.UnsupportedFlavorException;
47  import java.util.List;  import java.util.List;
48    
49    /**
50     * @author Michael Koch <konqueror@gmx.de>
51     * @since 1.2
52     */
53  public class DropTargetContext implements Serializable  public class DropTargetContext implements Serializable
54  {  {
55    static final long serialVersionUID = -634158968993743371L;    static final long serialVersionUID = -634158968993743371L;
# Line 55  public class DropTargetContext implement Line 59  public class DropTargetContext implement
59      protected boolean isLocal;      protected boolean isLocal;
60      protected Transferable transferable;      protected Transferable transferable;
61    
62        TransferableProxy (Transferable t, boolean local)
63        {
64          this.transferable = t;
65          this.isLocal = local;
66        }
67        
68      public DataFlavor[] getTransferDataFlavors ()      public DataFlavor[] getTransferDataFlavors ()
69      {      {
70        // FIXME: implement this        // FIXME: implement this
# Line 110  public class DropTargetContext implement Line 120  public class DropTargetContext implement
120    }    }
121    
122    /**    /**
123     * FIXME     * Signals that the drop is completed.
124     *     *
125     * @exception InvalidDnDOperationException FIXME     * @exception InvalidDnDOperationException If a drop is not outstanding.
126     */     */
127    public void dropComplete (boolean success)    public void dropComplete (boolean success)
128    {    {
# Line 158  public class DropTargetContext implement Line 168  public class DropTargetContext implement
168    }    }
169    
170    /**    /**
171     * FIXME     * Return the <code>Transferable</code> operandof this operation.
172     *     *
173     * @exception InvalidDnDOperationException FIXME     * @exception InvalidDnDOperationException If a drag is not outstanding.
174     */     */
175    protected Transferable getTransferable() throws InvalidDnDOperationException    protected Transferable getTransferable() throws InvalidDnDOperationException
176    {    {
# Line 170  public class DropTargetContext implement Line 180  public class DropTargetContext implement
180    
181    protected Transferable createTransferableProxy(Transferable t, boolean local)    protected Transferable createTransferableProxy(Transferable t, boolean local)
182    {    {
183      // FIXME: implement this      return new TransferableProxy (t, local);
     return null;  
184    }    }
185  } // class DropTargetContext  } // class DropTargetContext

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26