com.mindbright.terminal.tandem6530
public class FieldAttributes extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static char |
DEFAULT_DATA_ATTRIB
Use unprotected, auto-tab disabled, data type 0, MDT not set
as default data attribute
|
static char |
DEFAULT_EXT_DATA_ATTRIB
Use upshift not set, keyboard and AID as default extended data
attribute
|
static char |
DEFAULT_VIDEO
Use Normal Video as default video attribute
|
Constructor and Description |
---|
FieldAttributes()
Constructor with attributes set to default values.
|
FieldAttributes(char video,
char data)
Constructor with extended attributes set to default values.
|
FieldAttributes(char video,
char data,
char extData)
Constructor with custom values only.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
boolean |
getAid() |
boolean |
getAutoTab() |
int |
getDataType() |
boolean |
getKeyboard() |
boolean |
getMdt() |
boolean |
getProtect() |
boolean |
getUpShift() |
char |
getVideoAttrib() |
int |
hashCode() |
protected void |
setAttribs(char video,
char data,
char extData) |
void |
setAutoTab(boolean set) |
void |
setDataType(int dataType) |
void |
setMdt(boolean set) |
void |
setProtect(boolean set) |
void |
setUpShift(boolean set) |
void |
setVideoAttrib(char videoAttrib) |
java.lang.String |
toString() |
public static final char DEFAULT_VIDEO
public static final char DEFAULT_DATA_ATTRIB
public static final char DEFAULT_EXT_DATA_ATTRIB
public FieldAttributes()
public FieldAttributes(char video, char data) throws ParseException
video
- the video attribute as defined on page 3-20data
- the data attributes as defined on page 3-37ParseException
- on error in the argumentspublic FieldAttributes(char video, char data, char extData) throws ParseException
video
- the video attribute as defined on page 3-20data
- the data attributes as defined on page 3-37extData
- the extended data attributes as defined on page
3-38ParseException
- on error in the argumentsprotected void setAttribs(char video, char data, char extData) throws ParseException
ParseException
public char getVideoAttrib()
public void setVideoAttrib(char videoAttrib)
public boolean getMdt()
public void setMdt(boolean set)
public boolean getAutoTab()
public void setAutoTab(boolean set)
public boolean getProtect()
public void setProtect(boolean set)
public int getDataType()
public void setDataType(int dataType)
public boolean getUpShift()
public void setUpShift(boolean set)
public boolean getKeyboard()
public boolean getAid()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object