All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bytezone.dm3270.application.KeyboardStatusChangedEvent Maven / Gradle / Ivy

Go to download

This is a trimmed down version of https://github.com/dmolony/dm3270 to be used as TN3270 client library

There is a newer version: 0.9.1
Show newest version
package com.bytezone.dm3270.application;

public final class KeyboardStatusChangedEvent {

  public final boolean keyboardLocked;
  private final boolean insertMode;
  private final String keyName;

  public KeyboardStatusChangedEvent(boolean insertMode, boolean keyboardLocked,
      String keyName) {
    this.insertMode = insertMode;
    this.keyboardLocked = keyboardLocked;
    this.keyName = keyName;
  }

  @Override
  public String toString() {
    return String.format("Keyboard locked ... %s%n", keyboardLocked)
        + String.format("Insert mode on .... %s%n", insertMode)
        + String.format("Key pressed ....... %s%n", keyName);
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy