Class awt.WServer
All Packages    This Package    Previous    Next

Class awt.WServer

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----awt.WServer

public class WServer
extends Thread
WServer is the class that interacts directly with the native GUI system. The set of native methods it contains defines the platform-independent api that must be implemented for all the platforms it is to run on. Because the platform may necessitate a different division between what is native or not (and what is synchronized or not), this file is platform-dependent. However, all of the public awt classes are always the same and implemented only in Java.
Version:
1.74 23 Feb 1995
Author:
Sami Shaio

fonts
Use this field to create new fonts.
theServer

WServer()
Constructs a new WServer.

run()
start()
Starts the thread but waits until it's done initializing
sync()
toggleGetState(Toggle)
toggleMoveTo(Toggle, int, int)
toggleSetState(Toggle, boolean)

theServer
  public static WServer theServer
fonts
  public FontTable fonts
Use this field to create new fonts.
See Also:
FontTable

WServer
  public WServer()
Constructs a new WServer.

start
  public synchronized void start()
Starts the thread but waits until it's done initializing
Overrides:
start in class Thread

run

  public void run()
sync
  public synchronized void sync()
toggleSetState
  public synchronized void toggleSetState(Toggle t,
                                          boolean state)
toggleGetState
  public synchronized boolean toggleGetState(Toggle t)
toggleMoveTo
  public synchronized void toggleMoveTo(Toggle t,
                                        int x,
                                        int y)

All Packages    This Package    Previous    Next