diff dwt/dnd/Transfer.d @ 122:2e671fa40eec

Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
author Jacob Carlborg <doob@me.com>
date Wed, 31 Dec 2008 21:01:13 +0100
parents cbefbb00a6c9
children
line wrap: on
line diff
--- a/dwt/dnd/Transfer.d	Wed Dec 31 16:50:37 2008 +0100
+++ b/dwt/dnd/Transfer.d	Wed Dec 31 21:01:13 2008 +0100
@@ -73,7 +73,7 @@
  * @return the platform specific ids of the data types that can be converted using 
  * this transfer agent
  */
-abstract protected int[] getTypeIds();
+abstract public int[] getTypeIds();
 
 /**
  * Returns the platform specific names of the  data types that can be converted 
@@ -82,7 +82,7 @@
  * @return the platform specific names of the data types that can be converted 
  * using this transfer agent.
  */
-abstract protected String[] getTypeNames();
+abstract public String[] getTypeNames();
 
 /**
  * Converts a java representation of data to a platform specific representation of 
@@ -115,7 +115,7 @@
  *    <li>ERROR_INVALID_DATA - if object does not contain data in a valid format or is <code>null</code></li>
  * </ul>
  */
-abstract protected void javaToNative (Object object, TransferData transferData);
+abstract public void javaToNative (Object object, TransferData transferData);
 
 /**
  * Converts a platform specific representation of data to a java representation.
@@ -128,7 +128,7 @@
  * <code>null</code> is returned.  The type of Object that is returned is 
  * dependent on the <code>Transfer</code> subclass.
  */
-abstract protected Object nativeToJava(TransferData transferData);
+abstract public Object nativeToJava(TransferData transferData);
 
 /**
  * Registers a name for a data type and returns the associated unique identifier.