Interface FieldInputListener


  • public interface FieldInputListener
    Interface implemented by objects that want to be notified when key events occur in the FieldPanel.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void keyPressed​(java.awt.event.KeyEvent ev, java.math.BigInteger index, int fieldNum, int row, int col, Field field)
      Called the the FieldPanel receives a KeyEvent that it doesn't handle.
    • Method Detail

      • keyPressed

        void keyPressed​(java.awt.event.KeyEvent ev,
                        java.math.BigInteger index,
                        int fieldNum,
                        int row,
                        int col,
                        Field field)
        Called the the FieldPanel receives a KeyEvent that it doesn't handle.
        Parameters:
        ev - The KeyEvent generated when the user presses a key.
        index - the index of the layout the cursor was on when the key was pressed.
        fieldNum - the field index of the field the cursor was on when the key was pressed.
        row - the row in the field the cursor was on when the key was pressed.
        col - the col in the field the cursor was on when the key was pressed.
        field - current field the cursor was on when the key was pressed.