sdljavax.gui
public class ListBox extends Widget
ListBox
here.
Version: $Id: ListBox.java,v 1.1 2005/02/10 04:20:18 ivan_ganza Exp $
Field Summary | |
---|---|
int | firstVisibleRow |
List | items |
float | lineHeight |
int | selectedRow |
Constructor Summary | |
---|---|
ListBox(GL gl, String name, SDLRect dimensions, String backgroundTexture)
Construct a new ListBox. |
Method Summary | |
---|---|
void | add(String i)
Add an item to the list box
|
void | draw(GL gl, int x, int y) |
List | getItems() |
void | handleEvent(SDLEvent event) |
void | handleMouseMotionEvent(SDLMouseMotionEvent motionEvent) |
int | whichRow(int y) |
Parameters: font a FTFont
value
Parameters: i a String
value