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

com.bytezone.dm3270.display.Pen 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.15-lib
Show newest version
package com.bytezone.dm3270.display;

import com.bytezone.dm3270.Charset;
import com.bytezone.dm3270.attributes.Attribute;
import com.bytezone.dm3270.attributes.StartFieldAttribute;

public interface Pen extends Iterable {

  static Pen getInstance(ScreenPosition[] screenPositions, ScreenDimensions screenDimensions,
      Charset charset) {
    return new PenType1(screenPositions, screenDimensions, charset);
  }

  void clearScreen();

  void startField(StartFieldAttribute startFieldAttribute);

  void addAttribute(Attribute attribute);

  int getPosition();

  void writeGraphics(byte b);

  void write(byte b);

  void moveRight();

  void moveToNextLine();

  void eraseEOF();

  void tab();

  void moveTo(int position);

  int validate(int position);

  void setScreenDimensions(ScreenDimensions screenDimensions);

  Iterable fromCurrentPosition();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy