.. role:: ts-api-decorator

###############
NoteTextElement
###############

.. js:module:: Operators.Markup.Note
   :noindex:

.. container:: ts-api-section

   .. js:class:: NoteTextElement



.. container:: api-index-section

   .. rubric:: Constructors

   .. rst-class:: api-index-list-item api-kind-constructor api-parent-kind-class

   * :js:meth:`~Operators.Markup.Note.NoteTextElement.constructor`



.. container:: api-index-section

   .. rubric:: Methods

   .. rst-class:: api-index-list-item api-kind-method api-parent-kind-class

   * :js:meth:`~Operators.Markup.Note.NoteTextElement.blur`
   * :js:meth:`~Operators.Markup.Note.NoteTextElement.focus`
   * :js:meth:`~Operators.Markup.Note.NoteTextElement.getHtmlContainer`
   * :js:meth:`~Operators.Markup.Note.NoteTextElement.getPosition`
   * :js:meth:`~Operators.Markup.Note.NoteTextElement.getPositionOffset`
   * :js:meth:`~Operators.Markup.Note.NoteTextElement.getSize`
   * :js:meth:`~Operators.Markup.Note.NoteTextElement.getText`
   * :js:meth:`~Operators.Markup.Note.NoteTextElement.hide`
   * :js:meth:`~Operators.Markup.Note.NoteTextElement.setHtmlContainer`
   * :js:meth:`~Operators.Markup.Note.NoteTextElement.setPosition`
   * :js:meth:`~Operators.Markup.Note.NoteTextElement.setPositionOffset`
   * :js:meth:`~Operators.Markup.Note.NoteTextElement.setSize`
   * :js:meth:`~Operators.Markup.Note.NoteTextElement.setText`
   * :js:meth:`~Operators.Markup.Note.NoteTextElement.show`





------------

Constructors
============

.. container:: ts-api-section

   .. js:function:: NoteTextElement.constructor()



      :rtype: NoteTextElement



Methods
=======

.. rst-class:: ts-api-section

blur
----

.. js:method:: NoteTextElement.blur()



   Removes the cursor focus from the HTML container text area.


   :rtype: void

.. rst-class:: ts-api-section

focus
-----

.. js:method:: NoteTextElement.focus()



   Puts the cursor focus in the HTML container text area.


   :rtype: void

.. rst-class:: ts-api-section

getHtmlContainer
----------------

.. js:method:: NoteTextElement.getHtmlContainer()





   :returns: the HTML container element.


   :rtype: HTMLDivElement

.. rst-class:: ts-api-section

getPosition
-----------

.. js:method:: NoteTextElement.getPosition()





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


   :rtype: Point2

.. rst-class:: ts-api-section

getPositionOffset
-----------------

.. js:method:: NoteTextElement.getPositionOffset()





   :returns: the current HTML container offset position.


   :rtype: Point2

.. rst-class:: ts-api-section

getSize
-------

.. js:method:: NoteTextElement.getSize()





   :returns: the size of the HTML container.


   :rtype: Point2

.. rst-class:: ts-api-section

getText
-------

.. js:method:: NoteTextElement.getText()





   :returns: the current text in the HTML container text area.


   :rtype: string

.. rst-class:: ts-api-section

hide
----

.. js:method:: NoteTextElement.hide()



   Hides the HTML container.


   :rtype: void

.. rst-class:: ts-api-section

setHtmlContainer
----------------

.. js:method:: NoteTextElement.setHtmlContainer( container)

   :param container: None
   :type container: HTMLDivElement


   Sets the HTML container element.


   :rtype: void

.. rst-class:: ts-api-section

setPosition
-----------

.. js:method:: NoteTextElement.setPosition( position)

   :param position: None
   :type position: Point2


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


   :rtype: void

.. rst-class:: ts-api-section

setPositionOffset
-----------------

.. js:method:: NoteTextElement.setPositionOffset( positionOffset)

   :param positionOffset: None
   :type positionOffset: Point2


   Sets the corner offset position of the HTML container.


   :rtype: void

.. rst-class:: ts-api-section

setSize
-------

.. js:method:: NoteTextElement.setSize( size)

   :param size: None
   :type size: Point2


   Sets the size of the HTML container.


   :rtype: void

.. rst-class:: ts-api-section

setText
-------

.. js:method:: NoteTextElement.setText( text)

   :param text: None
   :type text: string


   Sets the text in the HTML container text area.


   :rtype: void

.. rst-class:: ts-api-section

show
----

.. js:method:: NoteTextElement.show( noteText)

   :param noteText: None
   :type noteText: NoteText


   Sets the active NoteText and shows the HTML container.


   :rtype: void

