|
VeaR/JEllipse | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpl.krakow.cmuj.bioinformatics.jellipse.PlotRenderer
public class PlotRenderer
Field Summary | |
---|---|
private float[] |
black
|
(package private) Peptide |
chain
|
(package private) java.awt.image.DataBufferInt |
dbInt
|
private float[] |
golden
|
(package private) jEllipse |
owner
|
(package private) int |
pbufferHeight
|
(package private) int |
pbufferWidth
|
private int |
prevMouseX
|
private int |
prevMouseY
|
(package private) boolean |
SCREENSHOTTING
|
private float[] |
white
|
Constructor Summary | |
---|---|
PlotRenderer(jEllipse owner,
Peptide chain)
|
Method Summary | |
---|---|
void |
display(net.java.games.jogl.GLDrawable drawable)
Main rederning function. |
void |
displayChanged(net.java.games.jogl.GLDrawable drawable,
boolean modeChanged,
boolean deviceChanged)
Rumour has it that in JoGL 1.0 not implemeted... |
void |
drawText(net.java.games.jogl.GLDrawable drawable,
java.lang.String text)
|
java.awt.image.DataBufferInt |
getScreenshotBuffer()
|
java.awt.Dimension |
getScreenshotDims()
|
void |
init(net.java.games.jogl.GLDrawable drawable)
Initialize OpenGL scene. |
void |
mouseClicked(java.awt.event.MouseEvent e)
Dummy implementation, required by interface. |
void |
mouseDragged(java.awt.event.MouseEvent e)
Navigation with mouse. |
void |
mouseEntered(java.awt.event.MouseEvent e)
Dummy implementation, required by interface. |
void |
mouseExited(java.awt.event.MouseEvent e)
Dummy implementation, required by interface. |
void |
mouseMoved(java.awt.event.MouseEvent e)
Dummy implementation, required by interface. |
void |
mousePressed(java.awt.event.MouseEvent e)
Save when clicked for dragging (=> rotating) purposes. |
void |
mouseReleased(java.awt.event.MouseEvent e)
Dummy implementation, required by interface. |
void |
reshape(net.java.games.jogl.GLDrawable drawable,
int x,
int y,
int width,
int height)
Reshape and establish rendering context. |
void |
setScreenshotting(java.awt.image.DataBufferInt dbInt)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
java.awt.image.DataBufferInt dbInt
jEllipse owner
Peptide chain
private int prevMouseX
private int prevMouseY
private final float[] white
private final float[] black
private final float[] golden
int pbufferWidth
int pbufferHeight
boolean SCREENSHOTTING
Constructor Detail |
---|
public PlotRenderer(jEllipse owner, Peptide chain)
Method Detail |
---|
public void init(net.java.games.jogl.GLDrawable drawable)
init
in interface net.java.games.jogl.GLEventListener
drawable
- OpenGL area (obtained via AWT Canvas)public void reshape(net.java.games.jogl.GLDrawable drawable, int x, int y, int width, int height)
reshape
in interface net.java.games.jogl.GLEventListener
drawable
- OpenGL rendering areax
- horizontal locationy
- vertical locationwidth
- new viewport widthheight
- new viewport heightdisplay(net.java.games.jogl.GLDrawable)
public void display(net.java.games.jogl.GLDrawable drawable)
display
in interface net.java.games.jogl.GLEventListener
drawable
- OpenGL area with established rendering contextpublic void displayChanged(net.java.games.jogl.GLDrawable drawable, boolean modeChanged, boolean deviceChanged)
displayChanged
in interface net.java.games.jogl.GLEventListener
public void drawText(net.java.games.jogl.GLDrawable drawable, java.lang.String text)
public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
public void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged
in interface java.awt.event.MouseMotionListener
public void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved
in interface java.awt.event.MouseMotionListener
public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
in interface java.awt.event.MouseListener
public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
in interface java.awt.event.MouseListener
public void mouseExited(java.awt.event.MouseEvent e)
mouseExited
in interface java.awt.event.MouseListener
public void setScreenshotting(java.awt.image.DataBufferInt dbInt)
setScreenshotting
in interface Screenshottable
public java.awt.image.DataBufferInt getScreenshotBuffer()
getScreenshotBuffer
in interface Screenshottable
public java.awt.Dimension getScreenshotDims()
getScreenshotDims
in interface Screenshottable
|
VeaR/JEllipse | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |