aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/awt/Toolkit.java
diff options
context:
space:
mode:
authorTom Tromey <tromey@cygnus.com>2000-07-30 23:19:57 +0000
committerTom Tromey <tromey@gcc.gnu.org>2000-07-30 23:19:57 +0000
commit4e07a9eadbf4c8bf943964c95a664494508cc28e (patch)
tree5171363ed0ce09ef1ceb12e1a0d67aa47dd4bd2a /libjava/java/awt/Toolkit.java
parent3a8c5c77d573036d25982d47366164bc05112f61 (diff)
downloadgcc-4e07a9eadbf4c8bf943964c95a664494508cc28e.zip
gcc-4e07a9eadbf4c8bf943964c95a664494508cc28e.tar.gz
gcc-4e07a9eadbf4c8bf943964c95a664494508cc28e.tar.bz2
Container.java (remove(int)): Wrote.
* java/awt/Container.java (remove(int)): Wrote. (remove(Component)): Wrote. (add(Component)): Wrote. (add(Component,int)): Wrote. (removeAll): Wrote. (addNotify): Set our own peer. * java/awt/Scrollbar.java (listeners): Changed type. (Scrollbar): Don't initialize listeners. (addNotify): Wrote. (setValue): Call setValues. (setMinimum): Likewise. (setMaxPriority): Likewise. (setVisibleAmount): Likewise. (setValues): Wrote. (setUnitIncrement): Forward to peer. (setLineIncrement): Call setUnitIncrement. (setPageIncrement): Call setBlockIncrement. (setBlockIncrement): Forward to peer. (addAdjustmentListener): Rewrote. (removeAdjustmentListener): Rewrote. (processAdjustmentEvent): Rewrote. (paramString): Wrote. * Makefile.in: Rebuilt. * Makefile.am (awt_java_source_files): Added Button.java. * java/awt/Button.java: New file. * java/awt/Toolkit.java (createLabel): Declare. (createButton): Likewise. (createScrollbar): Likewise. (createContainer): Likewise. * java/awt/Label.java (addNotify): Wrote. (setAlignment): Call setAlignment in the peer. (setText): Call setText in the peer. From-SVN: r35354
Diffstat (limited to 'libjava/java/awt/Toolkit.java')
-rw-r--r--libjava/java/awt/Toolkit.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/libjava/java/awt/Toolkit.java b/libjava/java/awt/Toolkit.java
index f7ec764..2aea96d 100644
--- a/libjava/java/awt/Toolkit.java
+++ b/libjava/java/awt/Toolkit.java
@@ -27,6 +27,11 @@ public abstract class Toolkit
protected abstract FramePeer createFrame(Frame target);
public abstract Image getImage(URL url);
+ protected abstract ButtonPeer createButton (Button target);
+ protected abstract ContainerPeer createContainer (Container target);
+ protected abstract LabelPeer createLabel (Label target);
+ protected abstract ScrollbarPeer createScrollbar (Scrollbar target);
+
public final EventQueue getSystemEventQueue()
{
return systemEventQueue;