NoteTextElement

class Communicator.Markup.Note.NoteTextElement()

Constructors

constructor()

Methods

blur()

focus()

getHtmlContainer()

getPosition()

getPositionOffset()

getSize()

getText()

hide()

setHtmlContainer()

setPosition()

setPositionOffset()

setSize()

setText()

show()


Constructors

constructor

Communicator.Markup.Note.NoteTextElement.constructor()
Return type

Communicator.Markup.Note.NoteTextElement

Methods

blur

Communicator.Markup.Note.NoteTextElement.blur()

Removes the cursor focus from the HTML container text area.

Return type

void

focus

Communicator.Markup.Note.NoteTextElement.focus()

Puts the cursor focus in the HTML container text area.

Return type

void

getHtmlContainer

Communicator.Markup.Note.NoteTextElement.getHtmlContainer()
Return type

HTMLDivElement

Returns

the HTML container element.

getPosition

Communicator.Markup.Note.NoteTextElement.getPosition()
Return type

Communicator.Point2

Returns

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

getPositionOffset

Communicator.Markup.Note.NoteTextElement.getPositionOffset()
Return type

Communicator.Point2

Returns

the current HTML container offset position.

getSize

Communicator.Markup.Note.NoteTextElement.getSize()
Return type

Communicator.Point2

Returns

the size of the HTML container.

getText

Communicator.Markup.Note.NoteTextElement.getText()
Return type

string

Returns

the current text in the HTML container text area.

hide

Communicator.Markup.Note.NoteTextElement.hide()

Hides the HTML container.

Return type

void

setHtmlContainer

Communicator.Markup.Note.NoteTextElement.setHtmlContainer(container)

Sets the HTML container element.

Arguments
  • container (HTMLDivElement()) –

Return type

void

setPosition

Communicator.Markup.Note.NoteTextElement.setPosition(position)

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

Arguments
  • position (Communicator.Point2()) –

Return type

void

setPositionOffset

Communicator.Markup.Note.NoteTextElement.setPositionOffset(positionOffset)

Sets the corner offset position of the HTML container.

Arguments
  • positionOffset (Communicator.Point2()) –

Return type

void

setSize

Communicator.Markup.Note.NoteTextElement.setSize(size)

Sets the size of the HTML container.

Arguments
  • size (Communicator.Point2()) –

Return type

void

setText

Communicator.Markup.Note.NoteTextElement.setText(text)

Sets the text in the HTML container text area.

Arguments
  • text (string()) –

Return type

void

show

Communicator.Markup.Note.NoteTextElement.show(noteText)

Sets the active NoteText and shows the HTML container.

Arguments
  • noteText (NoteText()) –

Return type

void