NoteTextElement

class Communicator.Markup.Note.NoteTextElement()

Constructors


Constructors

NoteTextElement.constructor()
Return type

NoteTextElement()

Methods

blur

NoteTextElement.blur()

Removes the cursor focus from the HTML container text area.

Return type

void

focus

NoteTextElement.focus()

Puts the cursor focus in the HTML container text area.

Return type

void

getHtmlContainer

NoteTextElement.getHtmlContainer()
Return type

HTMLDivElement

Returns

the HTML container element.

getPosition

NoteTextElement.getPosition()
Return type

Point2()

Returns

the position of the HTML container, taking into account the position offset.

getPositionOffset

NoteTextElement.getPositionOffset()
Return type

Point2()

Returns

the current HTML container offset position.

getSize

NoteTextElement.getSize()
Return type

Point2()

Returns

the size of the HTML container.

getText

NoteTextElement.getText()
Return type

string

Returns

the current text in the HTML container text area.

hide

NoteTextElement.hide()

Hides the HTML container.

Return type

void

setHtmlContainer

NoteTextElement.setHtmlContainer(container)

Sets the HTML container element.

Arguments
  • container (HTMLDivElement()) –

Return type

void

setPosition

NoteTextElement.setPosition(position)

Sets the position of the HTML container, taking into account the position offset.

Arguments
Return type

void

setPositionOffset

NoteTextElement.setPositionOffset(positionOffset)

Sets the corner offset position of the HTML container.

Arguments
Return type

void

setSize

NoteTextElement.setSize(size)

Sets the size of the HTML container.

Arguments
Return type

void

setText

NoteTextElement.setText(text)

Sets the text in the HTML container text area.

Arguments
  • text (string()) –

Return type

void

show

NoteTextElement.show(noteText)

Sets the active NoteText and shows the HTML container.

Arguments
  • noteText (NoteText()) –

Return type

void