public class ShutdownGUI extends java.lang.Object implements KeyboardOutput
Constructor and Description |
---|
ShutdownGUI(IStage stage,
float displayWidth,
float displayHeight,
float buttonWidth,
float textScale,
java.lang.String code)
Instantiates a new shutdown gui.
|
Modifier and Type | Method and Description |
---|---|
void |
onKeyboardOutput(java.lang.String letter)
On keyboard output.
|
public ShutdownGUI(IStage stage, float displayWidth, float displayHeight, float buttonWidth, float textScale, java.lang.String code) throws ContentTypeNotBoundException
stage
- the stagedisplayWidth
- the display widthdisplayHeight
- the display heightbuttonWidth
- the button widthtextScale
- the text scalecode
- the codeContentTypeNotBoundException
- the content type not bound exceptionpublic void onKeyboardOutput(java.lang.String letter)
KeyboardOutput
onKeyboardOutput
in interface KeyboardOutput
letter
- the letter