Class 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
    • 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 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • renderer

        com.jogamp.opengl.util.awt.TextRenderer renderer
        Text renderer
      • message

        private java.lang.String message
        Message to display.
      • fontsize

        int fontsize
        Font size.
    • Constructor Detail

      • SimpleMessageOverlay

        public SimpleMessageOverlay()
        Constructor.
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Returns:
        the message
      • setMessage

        public void setMessage​(java.lang.String message)
        Parameters:
        message - the message to set