public class TextScrollBox
extends java.lang.Object
Constructor and Description |
---|
TextScrollBox(IStage stage,
float width,
float height,
float gapSize,
float textScale)
Instantiates a new text scroll box.
|
public TextScrollBox(IStage stage, float width, float height, float gapSize, float textScale) throws ContentTypeNotBoundException
stage
- the stagewidth
- the widthheight
- the heightgapSize
- the gap sizetextScale
- the text scaleContentTypeNotBoundException
- the content type not bound exceptionpublic void addChar(java.lang.String s)
s
- the spublic void backspace()
public java.lang.String getText()
public ITextbox getTextLabel()
public void setText(java.lang.String text)
text
- the text to set