Top Fields Constructors Methods
org.lwjgl.opengl

pack-priv final Class MacOSXGLCanvas

extends Canvas
Class Inheritance
Imports
java.awt.Canvas, .Graphics

Field Summary

Modifier and TypeField and Description
private boolean
private boolean
private static final long

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
paint(Graphics
the specified Graphics context
g
)

Overrides java.awt.Canvas.paint.

Paints this canvas.
public boolean
public boolean
public void
update(Graphics
the specified Graphics context
g
)

Overrides java.awt.Canvas.update.

Updates this canvas.
Inherited from java.awt.Canvas:
addNotifycreateBufferStrategycreateBufferStrategygetAccessibleContextgetBufferStrategy

Field Detail

canvas_paintedback to summary
private boolean canvas_painted
dirtyback to summary
private boolean dirty
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.awt.Canvas.serialVersionUID.

Constructor Detail

MacOSXGLCanvasback to summary
pack-priv MacOSXGLCanvas()

Method Detail

paintback to summary
public void paint(Graphics g)

Overrides java.awt.Canvas.paint.

Doc from java.awt.Canvas.paint.

Paints this canvas.

Most applications that subclass Canvas should override this method in order to perform some useful operation (typically, custom painting of the canvas). The default operation is simply to clear the canvas. Applications that override this method need not call super.paint(g).

Parameters
g:Graphics

the specified Graphics context

syncCanvasPaintedback to summary
public boolean syncCanvasPainted()
syncIsDirtyback to summary
public boolean syncIsDirty()
updateback to summary
public void update(Graphics g)

Overrides java.awt.Canvas.update.

Doc from java.awt.Canvas.update.

Updates this canvas.

This method is called in response to a call to repaint. The canvas is first cleared by filling it with the background color, and then completely redrawn by calling this canvas's paint method.

Note

applications that override this method should either call super.update(g) or incorporate the functionality described above into their own code.

Parameters
g:Graphics

the specified Graphics context