All Packages  This Package  Class Hierarchy  Class Search  Index

Class bmsi.fsp.FSToolkit
java.lang.Object
   |
   +----java.awt.Toolkit
           |
           +----bmsi.fsp.FSToolkit

  Summary

public abstract class  FSToolkit
     extends java.awt.Toolkit
     implements java.lang.Runnable
{
          // Fields 6
     FSWindow activeWin;
     ColorModelPeer colorModel;
     Dimension scale;
     FSSync syncit;
     EventQueue theQueue;
     PWinMgr wm;

          // Constructors 2
     public FSToolkit() throws IOException;
     public FSToolkit(Socket) throws IOException;

          // Methods 47
     public void beep();
     public int checkImage(Image, int, int, ImageObserver);
     protected ButtonPeer createButton(Button);
     protected CanvasPeer createCanvas(Canvas);
     protected CheckboxPeer createCheckbox(Checkbox);
     protected CheckboxMenuItemPeer createCheckboxMenuItem(CheckboxMenuItem);
     protected ChoicePeer createChoice(Choice);
     protected DialogPeer createDialog(Dialog);
     protected FileDialogPeer createFileDialog(FileDialog);
     protected FramePeer createFrame(Frame);
     abstract FSGraphics createGraphics(FSComponent);
     public Image createImage(byte[], int, int);
     public Image createImage(ImageProducer);
     public Image createImage(String);
     public Image createImage(URL);
     protected LabelPeer createLabel(Label);
     protected ListPeer createList(List);
     protected MenuPeer createMenu(Menu);
     protected MenuBarPeer createMenuBar(MenuBar);
     protected MenuItemPeer createMenuItem(MenuItem);
     protected PanelPeer createPanel(Panel);
     protected PopupMenuPeer createPopupMenu(PopupMenu);
     protected ScrollPanePeer createScrollPane(ScrollPane);
     protected ScrollbarPeer createScrollbar(Scrollbar);
     protected TextAreaPeer createTextArea(TextArea);
     protected TextFieldPeer createTextField(TextField);
     protected WindowPeer createWindow(Window);
     public void dispose();
     public ColorModel getColorModel();
     public synchronized String[] getFontList();
     public FontMetrics getFontMetrics(Font);
     protected FontPeer getFontPeer(String, int);
     public Image getImage(String);
     public Image getImage(URL);
     Insets getInsets();
     public PrintJob getPrintJob(Frame, String, Properties);
     public int getScreenResolution();
     public Dimension getScreenSize();
     public Clipboard getSystemClipboard();
     protected EventQueue getSystemEventQueueImpl();
     public boolean prepareImage(Image, int, int, ImageObserver);
     synchronized void removeFocus(Focus);
     public void run();
     Dimension scale(Dimension);
     synchronized void setActive(FSWindow);
     synchronized void setFocus(Focus);
     public void sync();
}

Implementation of java.awt.Toolkit. This class is abstract so that it will compile in JDK1.1 or Java 2. FSToolkit1 will compile in JDK1.1 only. FSToolkit2 will compile in Java 2 only.

Author:
Stuart D. Gathman Copyright (C) 2000 Business Management Systems, Inc.


  Cross Reference

Extended By:
FSToolkit1





  Fields

· colorModel

Summary  |  Top
   ColorModelPeer colorModel


· wm

Summary  |  Top
   PWinMgr wm


· activeWin

Summary  |  Top
   FSWindow activeWin


· theQueue

Summary  |  Top
   EventQueue theQueue


· scale

Summary  |  Top
   Dimension scale


· syncit

Summary  |  Top
   FSSync syncit


  Constructors

· FSToolkit

Summary  |  Top

   public FSToolkit()  throws IOException


· FSToolkit

Summary  |  Top
   public FSToolkit(Socket sock)  throws IOException


  Methods

· setFocus

Summary  |  Top
   synchronized void setFocus(Focus c) 


· removeFocus

Summary  |  Top
   synchronized void removeFocus(Focus c) 


· setActive

Summary  |  Top
   synchronized void setActive(FSWindow w) 


· dispose

Summary  |  Top
   public void dispose() 


· run

Summary  |  Top
   public void run() 
Implements:
run in interface Runnable


· createButton

Summary  |  Top
   protected ButtonPeer createButton(Button b) 
Overrides:
createButton in class Toolkit


· createTextField

Summary  |  Top
   protected TextFieldPeer createTextField(TextField t) 
Overrides:
createTextField in class Toolkit


· createLabel

Summary  |  Top
   protected LabelPeer createLabel(Label lbl) 
Overrides:
createLabel in class Toolkit


· createList

Summary  |  Top
   protected ListPeer createList(List lst) 
Overrides:
createList in class Toolkit


· createTextArea

Summary  |  Top
   protected TextAreaPeer createTextArea(TextArea t) 
Overrides:
createTextArea in class Toolkit


· getFontMetrics

Summary  |  Top
   public FontMetrics getFontMetrics(Font f) 
Overrides:
getFontMetrics in class Toolkit


· getColorModel

Summary  |  Top
   public ColorModel getColorModel() 
Overrides:
getColorModel in class Toolkit


· createCheckbox

Summary  |  Top
   protected CheckboxPeer createCheckbox(Checkbox cb) 
Overrides:
createCheckbox in class Toolkit


· createScrollbar

Summary  |  Top
   protected ScrollbarPeer createScrollbar(Scrollbar s) 
Overrides:
createScrollbar in class Toolkit


· createChoice

Summary  |  Top
   protected ChoicePeer createChoice(Choice c) 
Overrides:
createChoice in class Toolkit


· createFrame

Summary  |  Top
   protected FramePeer createFrame(Frame f) 
Overrides:
createFrame in class Toolkit


· createCanvas

Summary  |  Top
   protected CanvasPeer createCanvas(Canvas c) 
Overrides:
createCanvas in class Toolkit


· createPanel

Summary  |  Top
   protected PanelPeer createPanel(Panel p) 
Overrides:
createPanel in class Toolkit


· createWindow

Summary  |  Top
   protected WindowPeer createWindow(Window w) 
Overrides:
createWindow in class Toolkit


· createDialog

Summary  |  Top
   protected DialogPeer createDialog(Dialog dlg) 
Overrides:
createDialog in class Toolkit


· createMenuBar

Summary  |  Top
   protected MenuBarPeer createMenuBar(MenuBar mnu) 
Overrides:
createMenuBar in class Toolkit


· createMenu

Summary  |  Top
   protected MenuPeer createMenu(Menu mnu) 
Overrides:
createMenu in class Toolkit


· createMenuItem

Summary  |  Top
   protected MenuItemPeer createMenuItem(MenuItem mi) 
Overrides:
createMenuItem in class Toolkit


· createFileDialog

Summary  |  Top
   protected FileDialogPeer createFileDialog(FileDialog dlg) 
Overrides:
createFileDialog in class Toolkit


· createCheckboxMenuItem

Summary  |  Top
   protected CheckboxMenuItemPeer createCheckboxMenuItem(CheckboxMenuItem mi) 
Overrides:
createCheckboxMenuItem in class Toolkit


· createPopupMenu

Summary  |  Top
   protected PopupMenuPeer createPopupMenu(PopupMenu target) 
Overrides:
createPopupMenu in class Toolkit


· getInsets

Summary  |  Top
   Insets getInsets() 

Helper function to calculate scaled insets.



· getImage

Summary  |  Top
   public Image getImage(String name) 
Overrides:
getImage in class Toolkit


· getImage

Summary  |  Top
   public Image getImage(URL url) 
Overrides:
getImage in class Toolkit


· prepareImage

Summary  |  Top
   public boolean prepareImage(Image img, 
                               int w, 
                               int h, 
                               ImageObserver obs) 
Overrides:
prepareImage in class Toolkit


· checkImage

Summary  |  Top
   public int checkImage(Image img, 
                         int w, 
                         int h, 
                         ImageObserver obs) 
Overrides:
checkImage in class Toolkit


· createImage

Summary  |  Top
   public Image createImage(ImageProducer p) 
Overrides:
createImage in class Toolkit


· createImage

Summary  |  Top
   public Image createImage(byte[] data, 
                            int offset, 
                            int len) 
Overrides:
createImage in class Toolkit


· createImage

Summary  |  Top
   public Image createImage(URL u) 


· createImage

Summary  |  Top
   public Image createImage(String s) 


· getSystemEventQueueImpl

Summary  |  Top
   protected EventQueue getSystemEventQueueImpl() 
Overrides:
getSystemEventQueueImpl in class Toolkit


· beep

Summary  |  Top
   public void beep() 

Anybody can beep!

Overrides:
beep in class Toolkit


· getFontPeer

Summary  |  Top
   protected FontPeer getFontPeer(String name, 
                                  int style) 

This JDK1.1 feature has no documentation! This seems to be a placeholder that is not yet used for anything.

Overrides:
getFontPeer in class Toolkit


· getSystemClipboard

Summary  |  Top
   public Clipboard getSystemClipboard() 

TUI's have a clipboard, but we haven't finished this JDK1.1 feature.

Overrides:
getSystemClipboard in class Toolkit


· getPrintJob

Summary  |  Top
   public PrintJob getPrintJob(Frame frame, 
                               String jobtitle, 
                               Properties props) 

TUI's have printers, but we haven't finished this JDK1.1 feature.

Overrides:
getPrintJob in class Toolkit


· createScrollPane

Summary  |  Top
   protected ScrollPanePeer createScrollPane(ScrollPane target) 

TUI's have ScrollPanes, but we haven't finished this JDK1.1 feature.

Overrides:
createScrollPane in class Toolkit


· scale

Summary  |  Top
   Dimension scale(Dimension s) 


· getScreenSize

Summary  |  Top
   public Dimension getScreenSize() 
Overrides:
getScreenSize in class Toolkit


· getScreenResolution

Summary  |  Top
   public int getScreenResolution() 
Overrides:
getScreenResolution in class Toolkit


· getFontList

Summary  |  Top
   public synchronized String[] getFontList() 
Overrides:
getFontList in class Toolkit


· sync

Summary  |  Top
   public void sync() 
Overrides:
sync in class Toolkit


· createGraphics

Summary  |  Top
   abstract FSGraphics createGraphics(FSComponent comp) 

Create an instance of FSGraphics compatible with this Toolkit.



All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7