Package org.jmol.awtjs2d
Class Display
java.lang.Object
org.jmol.awtjs2d.Display
methods required by Jmol that access java.awt.Component
private to org.jmol.awt
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidconvertPointFromScreen(Object canvas, javajs.util.P3 ptTemp) (package private) static voidDraw the completed image from rendering.(package private) static voidgetFullScreenDimensions(Object canvas, int[] widthHeight) (package private) static booleanstatic String(package private) static voidrenderScreenImage(PlatformViewer vwr, Object g, Object size) legacy apps will use this(package private) static voidrequestFocusInWindow(Object canvas)
-
Constructor Details
-
Display
Display()
-
-
Method Details
-
getFullScreenDimensions
- Parameters:
canvas-widthHeight-
-
hasFocus
-
requestFocusInWindow
-
renderScreenImage
legacy apps will use this- Parameters:
vwr-g-size-
-
prompt
- Parameters:
label-data-list-asButtons-- Returns:
- "null" or result of prompt
-
convertPointFromScreen
-
drawImage
static void drawImage(Object context, Object canvas, int x, int y, int width, int height, boolean isDTI) Draw the completed image from rendering. Note that the image buffer (org.jmol.g3d.Graphics3D.- Parameters:
context-canvas-x-y-width- unused in Jmol properheight- unused in Jmol properisDTI-
-