Interface VirtualInputDevice
- All Superinterfaces:
AutoCloseable
Represents a virtual input device that may need to be closed/disposed, providing a way Widgets that require exclusive access to the user's input (but perhaps not all of the user interactions with the app) need to provide a way for the form to dispose of it when a new input device needs to be displayed.
Examples of virtual input devices include the virtual keyboard and the Picker.
VirtualInputDevices should implement the #close() method to safely dispose of itself. Before displaying
the input device to the screen, it should call Form#setCurrentInputDevice(com.codename1.ui.VirtualInputDevice)
which will execute the #close() method of the the current input device.
-
Method Summary
Methods inherited from interface AutoCloseable
close