|
j3d.org Code | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.j3d.renderer.java3d.overlay.OverlayBase
org.j3d.renderer.java3d.overlay.InteractiveOverlayBase
An implementation of the interactive overlay.
| Field Summary |
| Fields inherited from class org.j3d.renderer.java3d.overlay.OverlayBase |
activeBuffer, backgroundColor, backgroundMode, bottomInset, canvas, componentSize, consoleBG, consoleTG, DEFAULT_INSET, DIRTY_ACTIVE_BUFFER, DIRTY_POSITION, DIRTY_SIZE, DIRTY_VISIBLE, fieldOfView, fixedSize, leftInset, overlayBounds, overlayTexGrp, rightInset, subOverlay, topInset |
| Fields inherited from interface org.j3d.renderer.java3d.overlay.Overlay |
BACKGROUND_COPY, BACKGROUND_NONE |
| Constructor Summary | |
protected |
InteractiveOverlayBase(javax.media.j3d.Canvas3D canvas,
java.awt.Dimension size)
Creates a new overlay covering the given canvas bounds. |
protected |
InteractiveOverlayBase(javax.media.j3d.Canvas3D canvas,
java.awt.Dimension size,
boolean clipAlpha,
boolean blendAlpha)
Constructs an overlay window that can have alpha capabilities. |
protected |
InteractiveOverlayBase(javax.media.j3d.Canvas3D canvas,
java.awt.Dimension size,
boolean clipAlpha,
boolean blendAlpha,
UpdateManager updateManager)
Constructs an overlay window. |
protected |
InteractiveOverlayBase(javax.media.j3d.Canvas3D canvas,
java.awt.Dimension size,
boolean clipAlpha,
boolean blendAlpha,
UpdateManager updateManager,
int numBuffers)
Constructs an overlay window. |
protected |
InteractiveOverlayBase(javax.media.j3d.Canvas3D canvas,
java.awt.Dimension size,
UpdateManager manager)
Constructs an overlay window with an update manager. |
| Method Summary | |
void |
addKeyListener(java.awt.event.KeyListener l)
Request that the given listener enable key events being sent. |
void |
addMouseListener(java.awt.event.MouseListener l)
Request that the given listener enable mouse events being sent. |
void |
addMouseMotionListener(java.awt.event.MouseMotionListener l)
Request that the given listener enable mouse motion events being sent. |
void |
removeKeyListener(java.awt.event.KeyListener l)
Request that the given listener disable key events being sent. |
void |
removeMouseListener(java.awt.event.MouseListener l)
Request that the given listener disable mouse events being sent. |
void |
removeMouseMotionListener(java.awt.event.MouseMotionListener l)
Request that the given listener disable mouse motion events being sent. |
void |
requestFocus()
Request that keyboard focus be sent to this listener object now. |
void |
setInputRequester(InputRequester req)
Set the input requestor so that the overlay may manage when it requires input events. |
| Methods inherited from class org.j3d.renderer.java3d.overlay.OverlayBase |
componentHidden, componentMoved, componentResized, componentShown, contains, dirty, getBackgroundImage, getBounds, getGraphics, getRoot, getUpdateManager, initialize, isAntialiased, isVisible, paint, repaint, setActiveBuffer, setAntialiased, setBackgroundColor, setBackgroundImage, setBackgroundMode, setComponentDetails, setInsets, setInsets, setLocation, setSize, setUpdateManager, setVisible, update, updateBuffer |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.j3d.renderer.java3d.overlay.Overlay |
contains, getBounds, getRoot, getUpdateManager, initialize, isAntialiased, isVisible, setAntialiased, setComponentDetails, setLocation, setSize, setUpdateManager, setVisible |
| Methods inherited from interface org.j3d.renderer.java3d.overlay.UpdatableEntity |
update |
| Constructor Detail |
protected InteractiveOverlayBase(javax.media.j3d.Canvas3D canvas,
java.awt.Dimension size)
canvas - Canvas being drawn ontosize - The size of the overlay in pixels
protected InteractiveOverlayBase(javax.media.j3d.Canvas3D canvas,
java.awt.Dimension size,
UpdateManager manager)
canvas - The canvas the overlay is drawn onsize - The size of the overlay in pixels
protected InteractiveOverlayBase(javax.media.j3d.Canvas3D canvas,
java.awt.Dimension size,
boolean clipAlpha,
boolean blendAlpha)
canvas - The canvas the overlay is drawn onsize - The size of the overlay in pixelsclipAlpha - Should the polygon clip where alpha is zeroblendAlpha - Should we blend to background where alpha is < 1
protected InteractiveOverlayBase(javax.media.j3d.Canvas3D canvas,
java.awt.Dimension size,
boolean clipAlpha,
boolean blendAlpha,
UpdateManager updateManager)
canvas - The canvas the overlay is drawn onsize - The size of the overlay in pixelsclipAlpha - Should the polygon clip where alpha is zeroblendAlpha - Should we blend to background where alpha is < 1updateManager - Responsible for allowing the Overlay to update
between renders. If this is null a default manager is created
protected InteractiveOverlayBase(javax.media.j3d.Canvas3D canvas,
java.awt.Dimension size,
boolean clipAlpha,
boolean blendAlpha,
UpdateManager updateManager,
int numBuffers)
canvas - The canvas the overlay is drawn onsize - The size of the overlay in pixelsclipAlpha - Should the polygon clip where alpha is zeroblendAlpha - Should we blend to background where alpha is < 1updateManager - Responsible for allowing the Overlay to update
between renders. If this is null a default manager is creatednumBuffers - The number of buffers to generate, the default is two| Method Detail |
public void setInputRequester(InputRequester req)
setInputRequester in interface InteractiveOverlayreq - The requestor instance to use or nullpublic void requestFocus()
public void addMouseListener(java.awt.event.MouseListener l)
l - The listener to manage events forpublic void removeMouseListener(java.awt.event.MouseListener l)
l - The listener to manage events forpublic void addMouseMotionListener(java.awt.event.MouseMotionListener l)
l - The listener to manage events forpublic void removeMouseMotionListener(java.awt.event.MouseMotionListener l)
l - The listener to manage events forpublic void addKeyListener(java.awt.event.KeyListener l)
l - The listener to manage events forpublic void removeKeyListener(java.awt.event.KeyListener l)
l - The listener to manage events for
|
j3d.org Code | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||