public abstract static class OutputDevice.Java extends OutputDevice.Common implements OutputDevice.Interface
Modifier | Constructor and Description |
---|---|
protected |
Java(long I64_NativeRef)
Constructor for IODevice.Java classes only.
|
protected |
Java(java.lang.String J_DbgName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
beep()
Makes the output device beep.
|
abstract void |
cleanScreen()
Cleans the screen.
|
abstract boolean |
closeDevice()
Device closure handler.
|
abstract OutputDevice.ScreenInfo |
getScreenInfo()
Screen info accessor.
|
abstract boolean |
openDevice()
Device opening handler.
|
abstract OutputDevice.Interface |
put(java.lang.String J_Text)
Pushes characters to the output device.
|
boolean |
wouldOutput(OutputDevice.Interface CLI_Device)
Stack overflow protection.
|
endl, printStackTrace, put, put, put
createdFromNative, dontFinalize, finalize, forget, getbDoFinalize, getNativeRef, getObject, remember
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
endl, getNativeRef, printStackTrace, put, put, put
protected Java(java.lang.String J_DbgName)
J_DbgName
- Debug name. Useful for traces only.protected Java(long I64_NativeRef)
I64_NativeRef
- Native instance reference.public abstract boolean openDevice()
OutputDevice.Interface
openDevice
in interface OutputDevice.Interface
public abstract boolean closeDevice()
OutputDevice.Interface
closeDevice
in interface OutputDevice.Interface
public abstract OutputDevice.Interface put(java.lang.String J_Text)
OutputDevice.Interface
put
in interface OutputDevice.Interface
J_Text
- String to be displayed by the device.public abstract void beep()
OutputDevice.Interface
beep
in interface OutputDevice.Interface
public abstract void cleanScreen()
OutputDevice.Interface
cleanScreen
in interface OutputDevice.Interface
public abstract OutputDevice.ScreenInfo getScreenInfo()
OutputDevice.Interface
getScreenInfo
in interface OutputDevice.Interface
public boolean wouldOutput(OutputDevice.Interface CLI_Device)
OutputDevice.Interface
wouldOutput
in interface OutputDevice.Interface
CLI_Device
- Other device that the callee device should check it would output characters to.