Class KeyboardBox


  • public class KeyboardBox
    extends Window
    A popup keyboard to be used with the Edit and MultiEdit class.
    • Field Detail

      • KEYBOARD_ON_UNPOP

        public static final int KEYBOARD_ON_UNPOP
        Event issued by this keybard on the onUnpop method. The edit must call pushPosState.
        See Also:
        Constant Field Values
      • KEYBOARD_POST_UNPOP

        public static final int KEYBOARD_POST_UNPOP
        Event issued by this keybard on the postUnpop method. The edit must call popPosState.
        See Also:
        Constant Field Values
      • TEXT_PAD

        public static final int TEXT_PAD
        Used to access the names member.
        See Also:
        Constant Field Values
      • CAPS_PAD

        public static final int CAPS_PAD
        Used to access the names member.
        See Also:
        Constant Field Values
      • SPACE_PAD

        public static final int SPACE_PAD
        Used to access the names member.
        See Also:
        Constant Field Values
      • SPECIAL_PAD

        public static final int SPECIAL_PAD
        Used to access the names member.
        See Also:
        Constant Field Values
      • names

        public static java.lang.String[][] names
      • namesUp

        public static java.lang.String[] namesUp
    • Constructor Detail

      • KeyboardBox

        public KeyboardBox()
    • Method Detail

      • onWindowPaintFinished

        protected void onWindowPaintFinished()
        Description copied from class: Control
        Called after the window has finished a paint. Only called to the focused control and the parent's window.
        Overrides:
        onWindowPaintFinished in class Control
      • onPopup

        protected void onPopup()
        Description copied from class: Window
        Placeholder called imediatly before the popup began. The default implementation does nothing.
        Overrides:
        onPopup in class Window
      • onUnpop

        protected void onUnpop()
        Description copied from class: Window
        Placeholder called imediatly before the unpop began. The default implementation does nothing.
        Overrides:
        onUnpop in class Window
      • postUnpop

        protected void postUnpop()
        Description copied from class: Window
        Placeholder called after the unpop is done and after the repaint of the other window. The default implementation does nothing.
        Overrides:
        postUnpop in class Window
      • onEvent

        public void onEvent​(Event event)
        Description copied from class: Control
        Called to process key, pen, control and other posted events.
        Overrides:
        onEvent in class Control
        Parameters:
        event - the event to process
        See Also:
        Event, KeyEvent, PenEvent