sdljavax.gui
Class Window

java.lang.Object
  extended by sdljavax.gui.Widget
      extended by sdljavax.gui.Container
          extended by sdljavax.gui.Window
All Implemented Interfaces:
java.util.EventListener, SDLEventListener

public class Window
extends Container


Field Summary
 
Fields inherited from class sdljavax.gui.Container
children, mouseFocus, screenDimensions
 
Fields inherited from class sdljavax.gui.Widget
backgroundTexture, border, container, defaultFont, drawBorder, height, name, visible, width, xPos, yPos
 
Constructor Summary
Window(GL gl, java.lang.String name, SDLRect rect, SDLRect screenDimensions, java.lang.String backgroundTexturePath)
           
 
Method Summary
 void draw(GL gl)
          Describe draw method here.
 
Methods inherited from class sdljavax.gui.Container
add, add, handleEvent, remove, setMouseFocus
 
Methods inherited from class sdljavax.gui.Widget
contains, contains, draw, getBackgroundTexture, getHeight, getName, getWidth, getX, getY, hide, isVisible, mouseEntered, mouseExit, setBackgroundTexture, setHeight, setName, setWidth, setX, setY, show
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Window

public Window(GL gl,
              java.lang.String name,
              SDLRect rect,
              SDLRect screenDimensions,
              java.lang.String backgroundTexturePath)
       throws java.io.IOException
Throws:
java.io.IOException
Method Detail

draw

public void draw(GL gl)
Description copied from class: Widget
Describe draw method here.

Overrides:
draw in class Container
Parameters:
gl - a GL value