apps.threedbuttonsexperiment.calculator.component
Class TwoDDisplayNode

java.lang.Object
  extended by apps.threedbuttonsexperiment.calculator.component.TwoDDisplayNode

public class TwoDDisplayNode
extends java.lang.Object

The Class TwoDDisplayNode.


Constructor Summary
TwoDDisplayNode(java.lang.String name, float width, float length)
          Instantiates a new two d display node.
 
Method Summary
 com.jme.scene.shape.Quad getDisplayQuad()
          Gets the display quad.
 void setLocalLocation(float x, float y)
          Sets the local location.
 void setText(java.lang.String text)
          Sets the text.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TwoDDisplayNode

public TwoDDisplayNode(java.lang.String name,
                       float width,
                       float length)
Instantiates a new two d display node.

Parameters:
name - the name
width - the width
length - the length
Method Detail

getDisplayQuad

public com.jme.scene.shape.Quad getDisplayQuad()
Gets the display quad.

Returns:
the display quad

setLocalLocation

public void setLocalLocation(float x,
                             float y)
Sets the local location.

Parameters:
x - the x
y - the y

setText

public void setText(java.lang.String text)
Sets the text.

Parameters:
text - the new text