ssmith.opengl.menu
Class GLMenuSlider

java.lang.Object
  extended by ssmith.opengl.menu.GLMenuItem
      extended by ssmith.opengl.menu.GLMenuSlider

public class GLMenuSlider
extends GLMenuItem


Field Summary
 
Fields inherited from class ssmith.opengl.menu.GLMenuItem
font, menu, menu_text, selectable
 
Constructor Summary
GLMenuSlider(java.lang.String text, int min, int max, int start)
           
 
Method Summary
 void draw(Canvas3D canvas, net.java.games.jogl.GL gl, net.java.games.jogl.GLU glu, int font, int x, int y)
           
 int getCurrentValue()
           
 void itemSelected()
           
 void receivedChar(java.awt.event.KeyEvent e)
           
 
Methods inherited from class ssmith.opengl.menu.GLMenuItem
isSelected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GLMenuSlider

public GLMenuSlider(java.lang.String text,
                    int min,
                    int max,
                    int start)
Method Detail

getCurrentValue

public int getCurrentValue()

itemSelected

public void itemSelected()
Specified by:
itemSelected in class GLMenuItem

receivedChar

public void receivedChar(java.awt.event.KeyEvent e)
Overrides:
receivedChar in class GLMenuItem

draw

public void draw(Canvas3D canvas,
                 net.java.games.jogl.GL gl,
                 net.java.games.jogl.GLU glu,
                 int font,
                 int x,
                 int y)
Specified by:
draw in class GLMenuItem