NoteTextElement

class Operators.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()
Returns

the HTML container element.

Return type

HTMLDivElement

getPosition

NoteTextElement.getPosition()
Returns

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

Return type

Point2

getPositionOffset

NoteTextElement.getPositionOffset()
Returns

the current HTML container offset position.

Return type

Point2

getSize

NoteTextElement.getSize()
Returns

the size of the HTML container.

Return type

Point2

getText

NoteTextElement.getText()
Returns

the current text in the HTML container text area.

Return type

string

hide

NoteTextElement.hide()

Hides the HTML container.

Return type

void

setHtmlContainer

NoteTextElement.setHtmlContainer(container)
Arguments
  • container (HTMLDivElement()) – None

Sets the HTML container element.

Return type

void

setPosition

NoteTextElement.setPosition(position)
Arguments

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

Return type

void

setPositionOffset

NoteTextElement.setPositionOffset(positionOffset)
Arguments

Sets the corner offset position of the HTML container.

Return type

void

setSize

NoteTextElement.setSize(size)
Arguments

Sets the size of the HTML container.

Return type

void

setText

NoteTextElement.setText(text)
Arguments
  • text (string()) – None

Sets the text in the HTML container text area.

Return type

void

show

NoteTextElement.show(noteText)
Arguments
  • noteText (NoteText()) – None

Sets the active NoteText and shows the HTML container.

Return type

void