All Packages This Package Class Hierarchy Class Search Index
Class bmsi.fsp.FSToolkit
java.lang.Object
|
+----java.awt.Toolkit
|
+----bmsi.fsp.FSToolkit
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.
- Extended By:
- FSToolkit1
ColorModelPeer colorModel
PWinMgr wm
FSWindow activeWin
EventQueue theQueue
Dimension scale
FSSync syncit
public FSToolkit() throws IOException
public FSToolkit(Socket sock) throws IOException
synchronized void setFocus(Focus c)
synchronized void removeFocus(Focus c)
synchronized void setActive(FSWindow w)
public void dispose()
public void run()
- Implements:
- run in interface Runnable
protected ButtonPeer createButton(Button b)
- Overrides:
- createButton in class Toolkit
protected TextFieldPeer createTextField(TextField t)
- Overrides:
- createTextField in class Toolkit
protected LabelPeer createLabel(Label lbl)
- Overrides:
- createLabel in class Toolkit
protected ListPeer createList(List lst)
- Overrides:
- createList in class Toolkit
protected TextAreaPeer createTextArea(TextArea t)
- Overrides:
- createTextArea in class Toolkit
public FontMetrics getFontMetrics(Font f)
- Overrides:
- getFontMetrics in class Toolkit
public ColorModel getColorModel()
- Overrides:
- getColorModel in class Toolkit
protected CheckboxPeer createCheckbox(Checkbox cb)
- Overrides:
- createCheckbox in class Toolkit
protected ScrollbarPeer createScrollbar(Scrollbar s)
- Overrides:
- createScrollbar in class Toolkit
protected ChoicePeer createChoice(Choice c)
- Overrides:
- createChoice in class Toolkit
protected FramePeer createFrame(Frame f)
- Overrides:
- createFrame in class Toolkit
protected CanvasPeer createCanvas(Canvas c)
- Overrides:
- createCanvas in class Toolkit
protected PanelPeer createPanel(Panel p)
- Overrides:
- createPanel in class Toolkit
protected WindowPeer createWindow(Window w)
- Overrides:
- createWindow in class Toolkit
protected DialogPeer createDialog(Dialog dlg)
- Overrides:
- createDialog in class Toolkit
protected MenuBarPeer createMenuBar(MenuBar mnu)
- Overrides:
- createMenuBar in class Toolkit
protected MenuPeer createMenu(Menu mnu)
- Overrides:
- createMenu in class Toolkit
protected MenuItemPeer createMenuItem(MenuItem mi)
- Overrides:
- createMenuItem in class Toolkit
protected FileDialogPeer createFileDialog(FileDialog dlg)
- Overrides:
- createFileDialog in class Toolkit
protected CheckboxMenuItemPeer createCheckboxMenuItem(CheckboxMenuItem mi)
- Overrides:
- createCheckboxMenuItem in class Toolkit
protected PopupMenuPeer createPopupMenu(PopupMenu target)
- Overrides:
- createPopupMenu in class Toolkit
Insets getInsets()
Helper function to calculate scaled insets.
public Image getImage(String name)
- Overrides:
- getImage in class Toolkit
public Image getImage(URL url)
- Overrides:
- getImage in class Toolkit
public boolean prepareImage(Image img,
int w,
int h,
ImageObserver obs)
- Overrides:
- prepareImage in class Toolkit
public int checkImage(Image img,
int w,
int h,
ImageObserver obs)
- Overrides:
- checkImage in class Toolkit
public Image createImage(ImageProducer p)
- Overrides:
- createImage in class Toolkit
public Image createImage(byte[] data,
int offset,
int len)
- Overrides:
- createImage in class Toolkit
public Image createImage(URL u)
public Image createImage(String s)
protected EventQueue getSystemEventQueueImpl()
- Overrides:
- getSystemEventQueueImpl in class Toolkit
public void beep()
Anybody can beep!
- Overrides:
- beep in class Toolkit
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
public Clipboard getSystemClipboard()
TUI's have a clipboard, but we haven't finished this JDK1.1 feature.
- Overrides:
- getSystemClipboard in class Toolkit
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
protected ScrollPanePeer createScrollPane(ScrollPane target)
TUI's have ScrollPanes, but we haven't finished this JDK1.1 feature.
- Overrides:
- createScrollPane in class Toolkit
Dimension scale(Dimension s)
public Dimension getScreenSize()
- Overrides:
- getScreenSize in class Toolkit
public int getScreenResolution()
- Overrides:
- getScreenResolution in class Toolkit
public synchronized String[] getFontList()
- Overrides:
- getFontList in class Toolkit
public void sync()
- Overrides:
- sync in class Toolkit
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