summaryrefslogtreecommitdiff
path: root/javax/swing/Icon.java
diff options
context:
space:
mode:
authorRonald Veldema <rveldema@cs.vu.nl>2002-03-11 15:48:06 +0000
committerRonald Veldema <rveldema@cs.vu.nl>2002-03-11 15:48:06 +0000
commit5158e5cd020ca88753de8793a40dcda66f3ea8ae (patch)
treee8ff44926abd1e1fd9f058139dc1476c54d24f9c /javax/swing/Icon.java
parenteed4707c499f072d7e36d8499638b859a370fc57 (diff)
downloadclasspath-5158e5cd020ca88753de8793a40dcda66f3ea8ae.tar.gz
Added my embryonic javax.swing implementation,
since there are no makefiles for it yet nobody should notice its addition (it shouldn't break anything by adding it this early) R.
Diffstat (limited to 'javax/swing/Icon.java')
-rw-r--r--javax/swing/Icon.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/javax/swing/Icon.java b/javax/swing/Icon.java
new file mode 100644
index 000000000..1dd46654c
--- /dev/null
+++ b/javax/swing/Icon.java
@@ -0,0 +1,13 @@
+package javax.swing;
+
+import java.awt.*;
+
+public interface Icon
+{
+ int getIconHeight();
+ int getIconWidth();
+ void paintIcon(Component c, Graphics g, int x, int y);
+
+ // not in suns's spec:
+ void setParent(Component p);
+}