Class TerminalField
java.lang.Object
dev.galasa.zos3270.common.screens.TerminalField
Pojo to represent a Field on the terminal screen.
-
Constructor Summary
ConstructorsConstructorDescriptionTerminalField(int row, int column, boolean unformatted, boolean fieldProtected, boolean fieldNumeric, boolean fieldDisplay, boolean fieldIntenseDisplay, boolean fieldSelectorPen, boolean fieldModifed, Character foregroundColour, Character backgroundColour, Character highlight) Constructor -
Method Summary
Modifier and TypeMethodDescriptionintFetch Start ColumnFetch the field contentsintgetRow()Fetch Start rowbooleanIs field DisplayablebooleanIs field intensebooleanHas field been modifiedbooleanIs field unformatted.booleanIs field protectedbooleanIs field selectablebooleanIs field unformatted.
-
Constructor Details
-
TerminalField
public TerminalField(int row, int column, boolean unformatted, boolean fieldProtected, boolean fieldNumeric, boolean fieldDisplay, boolean fieldIntenseDisplay, boolean fieldSelectorPen, boolean fieldModifed, Character foregroundColour, Character backgroundColour, Character highlight) Constructor- Parameters:
row- Start Rowcolumn- Start Columnunformatted- Field is unformattedfieldProtected- Field if protectedfieldNumeric- Field is NumericfieldDisplay- Field is displayablefieldIntenseDisplay- Field is IntensefieldSelectorPen- Field can be selectedfieldModifed- Field has been modified
-
-
Method Details
-
getRow
public int getRow()Fetch Start row- Returns:
- Start row
-
getColumn
public int getColumn()Fetch Start Column- Returns:
- Start column
-
isUnformatted
public boolean isUnformatted()Is field unformatted. If so, the first position will not be a StartField- Returns:
- Unformatted
-
isFieldProtected
public boolean isFieldProtected()Is field protected- Returns:
- Protected
-
isFieldNumeric
public boolean isFieldNumeric()Is field unformatted. If so, the first position will not be a StartField- Returns:
- Unformatted
-
isFieldDisplay
public boolean isFieldDisplay()Is field Displayable- Returns:
- displayable
-
isFieldIntenseDisplay
public boolean isFieldIntenseDisplay()Is field intense- Returns:
- Intense
-
isFieldSelectorPen
public boolean isFieldSelectorPen()Is field selectable- Returns:
- selectable
-
isFieldModifed
public boolean isFieldModifed()Has field been modified- Returns:
- modified
-
getForegroundColour
-
getBackgroundColour
-
getHighlight
-
getContents
Fetch the field contents- Returns:
- Field contents
-