aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/awt/datatransfer
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2003-10-11 17:19:46 +0000
committerMichael Koch <mkoch@gcc.gnu.org>2003-10-11 17:19:46 +0000
commit00f4a3fb56f284ca1d3c6745a124076978c83ee3 (patch)
treebacec23b96c272c8919e500e99e363359f431a4d /libjava/java/awt/datatransfer
parentb46f35f3a81cc9ba8ae73e099455fcc2f4838fc8 (diff)
downloadgcc-00f4a3fb56f284ca1d3c6745a124076978c83ee3.zip
gcc-00f4a3fb56f284ca1d3c6745a124076978c83ee3.tar.gz
gcc-00f4a3fb56f284ca1d3c6745a124076978c83ee3.tar.bz2
2003-10-11 Michael Koch <konqueror@gmx.de>
* java/awt/ActiveEvent.java * java/awt/datatransfer/ClipboardOwner.java * java/awt/datatransfer/FlavorMap.java * java/awt/datatransfer/Transferable.java * java/awt/dnd/Autoscroll.java * java/awt/dnd/peer/DragSourceContextPeer.java * java/awt/dnd/peer/DropTargetContextPeer.java * java/awt/dnd/peer/DropTargetPeer.java * java/awt/font/MultipleMaster.java * java/awt/font/OpenType.java * java/awt/im/spi/InputMethodDescriptor.java * java/awt/image/ImageObserver.java * java/awt/image/ImageConsumer.java * java/awt/image/ImageProducer.java * java/awt/image/RGBImageFilter.java * java/awt/image/RasterOp.java * java/awt/image/renderable/RenderableImage.java From-SVN: r72341
Diffstat (limited to 'libjava/java/awt/datatransfer')
-rw-r--r--libjava/java/awt/datatransfer/ClipboardOwner.java26
-rw-r--r--libjava/java/awt/datatransfer/FlavorMap.java4
-rw-r--r--libjava/java/awt/datatransfer/Transferable.java8
3 files changed, 19 insertions, 19 deletions
diff --git a/libjava/java/awt/datatransfer/ClipboardOwner.java b/libjava/java/awt/datatransfer/ClipboardOwner.java
index 3127e02..28e58aa 100644
--- a/libjava/java/awt/datatransfer/ClipboardOwner.java
+++ b/libjava/java/awt/datatransfer/ClipboardOwner.java
@@ -39,22 +39,20 @@ exception statement from your version. */
package java.awt.datatransfer;
/**
- * This interface is for classes that will own a clipboard object.
- *
- * @author Aaron M. Renn (arenn@urbanophile.com)
- */
+ * This interface is for classes that will own a clipboard object.
+ *
+ * @author Aaron M. Renn (arenn@urbanophile.com)
+ */
public interface ClipboardOwner
{
-
-/**
- * This method is called to notify this object that it no longer
- * has ownership of the specified <code>Clipboard</code>.
- *
- * @param clipboard The clipboard for which ownership was lost.
- * @param contents The contents of the clipboard which are no longer owned.
- */
-public abstract void
-lostOwnership(Clipboard clipboard, Transferable contents);
+ /**
+ * This method is called to notify this object that it no longer
+ * has ownership of the specified <code>Clipboard</code>.
+ *
+ * @param clipboard The clipboard for which ownership was lost.
+ * @param contents The contents of the clipboard which are no longer owned.
+ */
+ void lostOwnership (Clipboard clipboard, Transferable contents);
} // interface ClipboardOwner
diff --git a/libjava/java/awt/datatransfer/FlavorMap.java b/libjava/java/awt/datatransfer/FlavorMap.java
index a392615..ea64fac 100644
--- a/libjava/java/awt/datatransfer/FlavorMap.java
+++ b/libjava/java/awt/datatransfer/FlavorMap.java
@@ -58,7 +58,7 @@ public interface FlavorMap
*
* @return A <code>Map</code> of native data types.
*/
- public abstract Map getNativesForFlavors (DataFlavor[] flavors);
+ Map getNativesForFlavors (DataFlavor[] flavors);
/**
* Maps the specified native type names to <code>DataFlavor</code>'s.
@@ -71,5 +71,5 @@ public interface FlavorMap
*
* @return A <code>Map</code> of data flavors.
*/
- public abstract Map getFlavorsForNatives (String[] natives);
+ Map getFlavorsForNatives (String[] natives);
}
diff --git a/libjava/java/awt/datatransfer/Transferable.java b/libjava/java/awt/datatransfer/Transferable.java
index ad957ed..2b49931 100644
--- a/libjava/java/awt/datatransfer/Transferable.java
+++ b/libjava/java/awt/datatransfer/Transferable.java
@@ -56,7 +56,7 @@ public interface Transferable
*
* @return adA list of data flavors for this data
*/
- public abstract DataFlavor[] getTransferDataFlavors();
+ DataFlavor[] getTransferDataFlavors();
/**
* Tests whether or not this data can be delivered in the specified data
@@ -65,7 +65,7 @@ public interface Transferable
* @param flavor the data flavor to test
* @return true if the data flavor is supported
*/
- public abstract boolean isDataFlavorSupported(DataFlavor flavor);
+ boolean isDataFlavorSupported(DataFlavor flavor);
/**
* Returns the data in the specified <code>DataFlavor</code>.
@@ -76,6 +76,8 @@ public interface Transferable
* @throws IOException if the data is not available
* @see DataFlavor#getRepresentationClass
*/
- public abstract Object getTransferData(DataFlavor flavor)
+ Object getTransferData(DataFlavor flavor)
throws UnsupportedFlavorException, IOException;
+
} // interface Transferable
+