diff options
author | Ronald Veldema <rveldema@cs.vu.nl> | 2002-03-11 15:48:06 +0000 |
---|---|---|
committer | Ronald Veldema <rveldema@cs.vu.nl> | 2002-03-11 15:48:06 +0000 |
commit | 5158e5cd020ca88753de8793a40dcda66f3ea8ae (patch) | |
tree | e8ff44926abd1e1fd9f058139dc1476c54d24f9c /javax/swing/Icon.java | |
parent | eed4707c499f072d7e36d8499638b859a370fc57 (diff) | |
download | classpath-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.java | 13 |
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); +} |