net.avh4.framework.uilayer.scene
Class SceneCenteredText

java.lang.Object
  extended by net.avh4.framework.uilayer.scene.SceneElement
      extended by net.avh4.framework.uilayer.scene.SceneCenteredText

public class SceneCenteredText
extends SceneElement


Field Summary
protected  int color
           
protected  Font font
           
protected  String text
           
 
Fields inherited from class net.avh4.framework.uilayer.scene.SceneElement
height, hidden, name, width, x, y
 
Constructor Summary
SceneCenteredText(String text, int x, int y, int width, int height, Font font, int color)
           
 
Method Summary
 String getText()
           
 void setText(String text)
           
 
Methods inherited from class net.avh4.framework.uilayer.scene.SceneElement
getHeight, getName, getWidth, getX, getY, isHidden, setHeight, setHidden, setWidth, setX, setY, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

font

protected final Font font

color

protected final int color

text

protected String text
Constructor Detail

SceneCenteredText

public SceneCenteredText(String text,
                         int x,
                         int y,
                         int width,
                         int height,
                         Font font,
                         int color)
Method Detail

setText

public void setText(String text)

getText

public String getText()


Copyright © 2012. All Rights Reserved.