public abstract static class OutputDevice.Native extends OutputDevice.Common implements OutputDevice.Interface
Modifier | Constructor and Description |
---|---|
protected |
Native(long I64_NativeRef)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
beep()
Makes the output device beep.
|
void |
cleanScreen()
Cleans the screen.
|
boolean |
closeDevice()
Device closure handler.
|
OutputDevice.ScreenInfo |
getScreenInfo()
Screen info accessor.
|
boolean |
openDevice()
Device opening handler.
|
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 Native(long I64_NativeRef)
I64_NativeRef
- Native instance reference.public boolean openDevice()
OutputDevice.Interface
openDevice
in interface OutputDevice.Interface
public boolean closeDevice()
OutputDevice.Interface
closeDevice
in interface OutputDevice.Interface
public final 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 final void beep()
OutputDevice.Interface
beep
in interface OutputDevice.Interface
public final void cleanScreen()
OutputDevice.Interface
cleanScreen
in interface OutputDevice.Interface
public final 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.