net.avh4.framework.uilayer.scene
Class Scene
java.lang.Object
net.avh4.framework.uilayer.scene.Scene
- All Implemented Interfaces:
- Iterable<SceneElement>
public class Scene
- extends Object
- implements Iterable<SceneElement>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
title
protected String title
Scene
public Scene(String title)
Scene
public Scene()
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>
findSceneElement
public <T extends SceneElement> T findSceneElement(String what)
findSceneElement
public <T extends SceneElement> T findSceneElement(Class<T> elementType,
String what)
setTitle
public void setTitle(String newTitle)
Copyright © 2012. All Rights Reserved.