net.avh4.framework.uilayer.scene
Class SceneLabel

java.lang.Object
  extended by net.avh4.framework.uilayer.scene.SceneElementBase
      extended by net.avh4.framework.uilayer.scene.SceneLabel
All Implemented Interfaces:
SceneElement

public class SceneLabel
extends SceneElementBase


Field Summary
protected  int color
           
protected  Font font
           
protected  String text
           
 
Fields inherited from class net.avh4.framework.uilayer.scene.SceneElementBase
height, hidden, name, width, x, y
 
Constructor Summary
SceneLabel(String text, int x, int y, Font font, int color)
           
SceneLabel(String text, int x, int y, String customFontResource, int fontSize, int color)
           
 
Method Summary
 void draw(GraphicsOperations g, FontMetricsService fm)
           
 
Methods inherited from class net.avh4.framework.uilayer.scene.SceneElementBase
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

text

protected String text

font

protected final Font font

color

protected final int color
Constructor Detail

SceneLabel

public SceneLabel(String text,
                  int x,
                  int y,
                  Font font,
                  int color)

SceneLabel

public SceneLabel(String text,
                  int x,
                  int y,
                  String customFontResource,
                  int fontSize,
                  int color)
Method Detail

draw

public void draw(GraphicsOperations g,
                 FontMetricsService fm)


Copyright © 2012. All Rights Reserved.