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-2020 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.
Copyright (c) 2003-2020 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
-
Constructor Summary
Constructors Constructor Description HTMLToolkit() -
Method Summary
Modifier and Type Method Description voidbeep()intcheckImage(Image image, int width, int height, ImageObserver observer)ImagecreateImage(byte[] imagedata, int imageoffset, int imagelength)ImagecreateImage(ImageProducer producer)ImagecreateImage(String filename)ImagecreateImage(URL url)ColorModelgetColorModel()String[]getFontList()FontMetricsgetFontMetrics(Font font)ImagegetImage(String filename)ImagegetImage(URL url)PrintJobgetPrintJob(Frame frame, String jobtitle, Properties props)intgetScreenResolution()DimensiongetScreenSize()ClipboardgetSystemClipboard()protected EventQueuegetSystemEventQueueImpl()booleanisModalExclusionTypeSupported(Dialog.ModalExclusionType modalExclusionType)booleanisModalityTypeSupported(Dialog.ModalityType modalityType)Map<TextAttribute,?>mapInputMethodHighlight(InputMethodHighlight highlight)booleanprepareImage(Image image, int width, int height, ImageObserver observer)voidsync()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
-
Constructor Details
-
HTMLToolkit
public HTMLToolkit()
-
-
Method Details
-
getScreenSize
- Specified by:
getScreenSizein classToolkit- Throws:
HeadlessException
-
getScreenResolution
- Specified by:
getScreenResolutionin classToolkit- Throws:
HeadlessException
-
getColorModel
- Specified by:
getColorModelin classToolkit- Throws:
HeadlessException
-
getFontList
- Specified by:
getFontListin classToolkit
-
getFontMetrics
- Specified by:
getFontMetricsin classToolkit
-
sync
public void sync() -
getImage
-
getImage
-
createImage
- Specified by:
createImagein classToolkit
-
createImage
- Specified by:
createImagein classToolkit
-
prepareImage
- Specified by:
prepareImagein classToolkit
-
checkImage
- Specified by:
checkImagein classToolkit
-
createImage
- Specified by:
createImagein classToolkit
-
createImage
- Specified by:
createImagein classToolkit
-
getPrintJob
- Specified by:
getPrintJobin classToolkit
-
beep
public void beep() -
getSystemClipboard
- Specified by:
getSystemClipboardin classToolkit- Throws:
HeadlessException
-
getSystemEventQueueImpl
- Specified by:
getSystemEventQueueImplin classToolkit
-
isModalityTypeSupported
- Specified by:
isModalityTypeSupportedin classToolkit
-
isModalExclusionTypeSupported
- Specified by:
isModalExclusionTypeSupportedin classToolkit
-
mapInputMethodHighlight
public Map<TextAttribute,?> mapInputMethodHighlight(InputMethodHighlight highlight) throws HeadlessException- Specified by:
mapInputMethodHighlightin classToolkit- Throws:
HeadlessException
-