Home Reference Source
public class | source

Row

CEA-608 row consisting of NR_COLS instances of StyledUnicodeChar.

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

chars: *[]

public
public

logger: *

public

Method Summary

Public Methods
public

Backspace, move one step back and clear character.

public

clear()

public

clearFromPos(startPos: number)

public
public

copy(other: Row)

public

equals(other: Row): *

public
public
public
public

moveCursor(relPos: number)

Move the cursor relative to current position.

public

setCursor(absPos: number)

Set the cursor to a valid column.

public

setPenStyles(styles: Partial)

Public Constructors

public constructor() source

Public Members

public chars: *[] source

public currPenState: * source

public logger: * source

public pos: number source

Public Methods

public backSpace() source

Backspace, move one step back and clear character.

public clear() source

public clearFromPos(startPos: number) source

Params:

NameTypeAttributeDescription
startPos number

public clearToEndOfRow() source

public copy(other: Row) source

Params:

NameTypeAttributeDescription
other Row

public equals(other: Row): * source

Params:

NameTypeAttributeDescription
other Row

Return:

*

public getTextString(): * source

Return:

*

public insertChar(byte: number) source

Params:

NameTypeAttributeDescription
byte number

public isEmpty(): boolean source

Return:

boolean

public moveCursor(relPos: number) source

Move the cursor relative to current position.

Params:

NameTypeAttributeDescription
relPos number

public setCursor(absPos: number) source

Set the cursor to a valid column.

Params:

NameTypeAttributeDescription
absPos number

public setPenStyles(styles: Partial) source

Params:

NameTypeAttributeDescription
styles Partial