All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----java.awt.Toolkit | +----Acme.JPM.StubToolkit
This Toolkit is for doing image manipulation in a non-GUI application.
You could do a Toolkit.getDefaultToolkit() and use that from your non-GUI applications. The two problems with that are it takes way too long to initialize, and it starts a couple of daemon Threads that keep your application from exiting. Instead, do a new Acme.JPM.StubToolkit().
The only public method of interest is the constructor.
Adapted by Jef Poskanzer
Fetch the software.
TinyToolkit.java 1.10 95/12/14 Arthur van Hoff
TinyImage.java 1.4 95/12/09 Arthur van Hoff
TinyGraphics.java 1.10 95/12/04 Arthur van Hoff
Fetch the entire Acme package.
StubToolkit
public StubToolkit()
createWindow
public WindowPeer createWindow(Window target)
createFrame
public FramePeer createFrame(Frame target)
createCanvas
public CanvasPeer createCanvas(Canvas target)
createPanel
public PanelPeer createPanel(Panel target)
createButton
public ButtonPeer createButton(Button target)
createTextField
public TextFieldPeer createTextField(TextField target)
createChoice
public ChoicePeer createChoice(Choice target)
createLabel
public LabelPeer createLabel(Label target)
createList
public ListPeer createList(List target)
createCheckbox
public CheckboxPeer createCheckbox(Checkbox target)
createScrollbar
public ScrollbarPeer createScrollbar(Scrollbar target)
createScrollPane
public ScrollPanePeer createScrollPane(ScrollPane target)
createTextArea
public TextAreaPeer createTextArea(TextArea target)
createDialog
public DialogPeer createDialog(Dialog target)
createFileDialog
public FileDialogPeer createFileDialog(FileDialog target)
createMenuBar
public MenuBarPeer createMenuBar(MenuBar target)
createMenu
public MenuPeer createMenu(Menu target)
createPopupMenu
public PopupMenuPeer createPopupMenu(PopupMenu target)
createMenuItem
public MenuItemPeer createMenuItem(MenuItem target)
createCheckboxMenuItem
public CheckboxMenuItemPeer createCheckboxMenuItem(CheckboxMenuItem target)
getFontPeer
public FontPeer getFontPeer(String name,
int style)
getScreenSize
public Dimension getScreenSize()
getColorModel
public synchronized ColorModel getColorModel()
getDefaultToolkit
public static synchronized Toolkit getDefaultToolkit()
getScreenResolution
public int getScreenResolution()
getFontList
public String[] getFontList()
getFontMetrics
public FontMetrics getFontMetrics(Font font)
sync
public void sync()
getImage
public Image getImage(String filename)
getImage
public Image getImage(URL url)
checkImage
public int checkImage(Image img,
int w,
int h,
ImageObserver o)
prepareImage
public boolean prepareImage(Image img,
int w,
int h,
ImageObserver o)
createImage
public Image createImage(ImageProducer producer)
createImage
public Image createImage(byte imagedata[],
int imageoffset,
int imagelength)
getPrintJob
public PrintJob getPrintJob(Frame frame,
String jobtitle,
Properties props)
beep
public void beep()
getSystemClipboard
public Clipboard getSystemClipboard()
getSystemEventQueueImpl
public EventQueue getSystemEventQueueImpl()
createDragSourceContextPeer
public DragSourceContextPeer createDragSourceContextPeer(DragSource ds,
Component c)
All Packages Class Hierarchy This Package Previous Next Index
ACME Java ACME Labs