Class SimpleMessageOverlay
- java.lang.Object
-
- elki.visualization.parallel3d.util.AbstractSimpleOverlay
-
- elki.visualization.parallel3d.util.SimpleMessageOverlay
-
public class SimpleMessageOverlay extends AbstractSimpleOverlay
Simple menu overlay.- Since:
- 0.6.0
- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
fontsize
Font size.private java.lang.String
message
Message to display.(package private) com.jogamp.opengl.util.awt.TextRenderer
renderer
Text renderer-
Fields inherited from class elki.visualization.parallel3d.util.AbstractSimpleOverlay
height, width
-
-
Constructor Summary
Constructors Constructor Description SimpleMessageOverlay()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage()
(package private) void
renderContents(javax.media.opengl.GL2 gl)
Render the actual overlay contents.void
setMessage(java.lang.String message)
-
Methods inherited from class elki.visualization.parallel3d.util.AbstractSimpleOverlay
render, setSize
-
-
-
-
Method Detail
-
renderContents
void renderContents(javax.media.opengl.GL2 gl)
Description copied from class:AbstractSimpleOverlay
Render the actual overlay contents.- Specified by:
renderContents
in classAbstractSimpleOverlay
- Parameters:
gl
- GL context
-
getMessage
public java.lang.String getMessage()
- Returns:
- the message
-
setMessage
public void setMessage(java.lang.String message)
- Parameters:
message
- the message to set
-
-