com.bytezone.dm3270.display.Pen Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dm3270-lib Show documentation
Show all versions of dm3270-lib Show documentation
This is a trimmed down version of https://github.com/dmolony/dm3270 to be used as
TN3270 client library
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();
}