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 void
convertPointFromScreen
(Object canvas, javajs.util.P3 ptTemp) (package private) static void
Draw the completed image from rendering.(package private) static void
getFullScreenDimensions
(Object canvas, int[] widthHeight) (package private) static boolean
static String
(package private) static void
renderScreenImage
(PlatformViewer vwr, Object g, Object size) legacy apps will use this(package private) static void
requestFocusInWindow
(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
-
-