/[classpath]/classpath/javax/swing/TransferHandler.java
ViewVC logotype

Diff of /classpath/javax/swing/TransferHandler.java

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

revision 1.1 by mark, Sat Sep 4 17:14:01 2004 UTC revision 1.2 by mark, Thu Nov 11 17:22:52 2004 UTC
# Line 38  exception statement from your version. * Line 38  exception statement from your version. *
38  package javax.swing;  package javax.swing;
39    
40  import java.io.Serializable;  import java.io.Serializable;
41    import java.awt.event.InputEvent;
42    import java.awt.datatransfer.*;
43    
44  public class TransferHandler implements Serializable  public class TransferHandler implements Serializable
45  {  {
# Line 48  public class TransferHandler implements Line 50  public class TransferHandler implements
50    public static final int MOVE = 2;    public static final int MOVE = 2;
51    public static final int COPY_OR_MOVE = 3;    public static final int COPY_OR_MOVE = 3;
52    
53      static Action getCopyAction ()
54      {
55        return null;
56      }
57    
58      static Action getCutAction ()
59      {
60        return null;
61      }
62    
63      static Action getPasteAction ()
64      {
65        return null;
66      }
67    
68    
69    protected TransferHandler()    protected TransferHandler()
70    {    {
71      // Do nothing here.      // Do nothing here.
72    }    }
73    
74      public TransferHandler(String property)
75      {
76      }
77    
78      public boolean canImport (JComponent c, DataFlavor[] flavors)
79      {
80        return false;
81      }
82    
83      public Transferable createTransferable(JComponent c)
84      {
85        return null;
86      }
87    
88      public void exportAsDrag (JComponent c, InputEvent e, int action)
89      {    
90      }
91    
92      protected void exportDone (JComponent c, Transferable data, int action)
93      {
94      }
95    
96      public void exportToClipboard(JComponent c, Clipboard clip, int action)
97      {
98      }
99    
100      public int getSourceActions (JComponent c)
101      {
102        return 0;
103      }
104    
105      public Icon getVisualRepresentation (Transferable t)
106      {
107        return null;
108      }
109    
110      public boolean importData (JComponent c, Transferable t)
111      {
112        return false;
113      }
114    
115  }  }

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

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