Class HTMLToolkit
- java.lang.Object
 - 
- java.awt.Toolkit
 - 
- nl.tudelft.simulation.dsol.web.animation.HTMLToolkit
 
 
 
- 
public class HTMLToolkit extends Toolkit
HTMLToolkit.java.
Copyright (c) 2003-2022 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl. The source code and binary code of this software is proprietary information of Delft University of Technology.- Author:
 - Alexander Verbraeck
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description (package private) EventQueueeventQueuethe queue of AWT events to process.- 
Fields inherited from class java.awt.Toolkit
desktopProperties, desktopPropsSupport 
 - 
 
- 
Constructor Summary
Constructors Constructor Description HTMLToolkit() 
- 
Method Summary
- 
Methods inherited from class java.awt.Toolkit
addAWTEventListener, addPropertyChangeListener, areExtraMouseButtonsEnabled, createCustomCursor, createDragGestureRecognizer, createImage, getAWTEventListeners, getAWTEventListeners, getBestCursorSize, getDefaultToolkit, getDesktopProperty, getLockingKeyState, getMaximumCursorColors, getMenuShortcutKeyMask, getMenuShortcutKeyMaskEx, getNativeContainer, getPrintJob, getProperty, getPropertyChangeListeners, getPropertyChangeListeners, getScreenInsets, getSystemEventQueue, getSystemSelection, initializeDesktopProperties, isAlwaysOnTopSupported, isDynamicLayoutActive, isDynamicLayoutSet, isFrameStateSupported, lazilyLoadDesktopProperty, loadSystemColors, removeAWTEventListener, removePropertyChangeListener, setDesktopProperty, setDynamicLayout, setLockingKeyState 
 - 
 
 - 
 
- 
- 
Field Detail
- 
eventQueue
EventQueue eventQueue
the queue of AWT events to process. 
 - 
 
- 
Method Detail
- 
getScreenSize
public Dimension getScreenSize() throws HeadlessException
- Specified by:
 getScreenSizein classToolkit- Throws:
 HeadlessException
 
- 
getScreenResolution
public int getScreenResolution() throws HeadlessException- Specified by:
 getScreenResolutionin classToolkit- Throws:
 HeadlessException
 
- 
getColorModel
public ColorModel getColorModel() throws HeadlessException
- Specified by:
 getColorModelin classToolkit- Throws:
 HeadlessException
 
- 
getFontList
public String[] getFontList()
- Specified by:
 getFontListin classToolkit
 
- 
getFontMetrics
public FontMetrics getFontMetrics(Font font)
- Specified by:
 getFontMetricsin classToolkit
 
- 
createImage
public Image createImage(String filename)
- Specified by:
 createImagein classToolkit
 
- 
createImage
public Image createImage(URL url)
- Specified by:
 createImagein classToolkit
 
- 
prepareImage
public boolean prepareImage(Image image, int width, int height, ImageObserver observer)
- Specified by:
 prepareImagein classToolkit
 
- 
checkImage
public int checkImage(Image image, int width, int height, ImageObserver observer)
- Specified by:
 checkImagein classToolkit
 
- 
createImage
public Image createImage(ImageProducer producer)
- Specified by:
 createImagein classToolkit
 
- 
createImage
public Image createImage(byte[] imagedata, int imageoffset, int imagelength)
- Specified by:
 createImagein classToolkit
 
- 
getPrintJob
public PrintJob getPrintJob(Frame frame, String jobtitle, Properties props)
- Specified by:
 getPrintJobin classToolkit
 
- 
getSystemClipboard
public Clipboard getSystemClipboard() throws HeadlessException
- Specified by:
 getSystemClipboardin classToolkit- Throws:
 HeadlessException
 
- 
getSystemEventQueueImpl
protected EventQueue getSystemEventQueueImpl()
- Specified by:
 getSystemEventQueueImplin classToolkit
 
- 
isModalityTypeSupported
public boolean isModalityTypeSupported(Dialog.ModalityType modalityType)
- Specified by:
 isModalityTypeSupportedin classToolkit
 
- 
isModalExclusionTypeSupported
public boolean isModalExclusionTypeSupported(Dialog.ModalExclusionType modalExclusionType)
- Specified by:
 isModalExclusionTypeSupportedin classToolkit
 
- 
mapInputMethodHighlight
public Map<TextAttribute,?> mapInputMethodHighlight(InputMethodHighlight highlight) throws HeadlessException
- Specified by:
 mapInputMethodHighlightin classToolkit- Throws:
 HeadlessException
 
 - 
 
 -