net.avh4.framework.uilayer.scene
Class Scene

java.lang.Object
  extended by net.avh4.framework.uilayer.scene.Scene
All Implemented Interfaces:
Iterable<SceneElement>

public class Scene
extends Object
implements Iterable<SceneElement>


Field Summary
protected  String title
           
 
Constructor Summary
Scene()
           
Scene(String title)
           
 
Method Summary
<T extends SceneElement>
T
add(T element)
          The provided element will be returned for convenience.
 int getHeight()
           
 String getTitle()
           
 int getWidth()
           
 Iterator<SceneElement> iterator()
           
 void setSize(int width, int height)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

title

protected final String title
Constructor Detail

Scene

public Scene(String title)

Scene

public Scene()
Method Detail

getWidth

public int getWidth()

getHeight

public int getHeight()

getTitle

public String getTitle()

setSize

public void setSize(int width,
                    int height)

add

public <T extends SceneElement> T add(T element)
The provided element will be returned for convenience.


iterator

public Iterator<SceneElement> iterator()
Specified by:
iterator in interface Iterable<SceneElement>


Copyright © 2011. All Rights Reserved.