Class LineDisplayService.EscNormalize
java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.linedisplay.LineDisplayService.DisplayDataPart
de.gmxhome.conrad.jpos.jpos_base.linedisplay.LineDisplayService.EscNormalize
- Enclosing class:
- LineDisplayService
Class describing normalize escape sequences ESC|N.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEscNormalize(LineDisplayService.DisplayDataPart obj, int type, int subtype, int value)
Checks whether the specified esc sequence parameters form a normalize sequence.
-
Constructor Details
-
EscNormalize
public EscNormalize()Constructor.
-
-
Method Details
-
getEscNormalize
public static LineDisplayService.DisplayDataPart getEscNormalize(LineDisplayService.DisplayDataPart obj, int type, int subtype, int value)Checks whether the specified esc sequence parameters form a normalize sequence. If so, it returns an EscNormalize object. If not, the object given as first parameter will be returned.- Parameters:
obj
- An object containing corresponding sequence parameters or null.type
- The sequence type (see EscUnknown, property Esc).subtype
- The subtype (see EscUnknown, property Subtype).value
- The value (see EscUnknown, property Value).- Returns:
- An EscNormalize object, if the sequence is a well-formed normalize sequence, otherwise obj.
-