Interface FieldInputListener


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

    Modifier and Type
    Method
    Description
    void
    keyPressed(KeyEvent ev, BigInteger index, int fieldNum, int row, int col, Field field)
    Called the the FieldPanel receives a KeyEvent that it doesn't handle.
  • Method Details

    • keyPressed

      void keyPressed(KeyEvent ev, 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.