
#################
MarkupItemManager
#################

.. js:class:: Markup.MarkupItemManager

   
   Index
   =====
   
   .. rubric:: Constructors
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:func:`~Markup.MarkupItemManager.constructor`
   
   .. rubric:: Methods
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:meth:`~Markup.MarkupItemManager.getActiveView`
   * :js:meth:`~Markup.MarkupItemManager.getPickTolerance`
   * :js:meth:`~Markup.MarkupItemManager.getSelected`
   * :js:meth:`~Markup.MarkupItemManager.getViews`
   * :js:meth:`~Markup.MarkupItemManager.markupViewDeleted`
   * :js:meth:`~Markup.MarkupItemManager.pick`
   * :js:meth:`~Markup.MarkupItemManager.registerMarkupItem`
   * :js:meth:`~Markup.MarkupItemManager.renderActiveViewMarkup`
   * :js:meth:`~Markup.MarkupItemManager.renderMarkup`
   * :js:meth:`~Markup.MarkupItemManager.select`
   * :js:meth:`~Markup.MarkupItemManager.setActiveView`
   * :js:meth:`~Markup.MarkupItemManager.setPickTolerance`
   * :js:meth:`~Markup.MarkupItemManager.shutdown`
   * :js:meth:`~Markup.MarkupItemManager.unregisterMarkupItem`
   * :js:meth:`~Markup.MarkupItemManager.update`
   * :js:meth:`~Markup.MarkupItemManager.updateLater`
   * :js:meth:`~Markup.MarkupItemManager.viewDeleted`
   
   




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

.. js:method:: Markup.MarkupItemManager.constructor

   .. rst-class:: sig-pretty-signature
   
      | MarkupItemManager(**callbackManager**\ : :js:class:`~ICallbackManager`\ , **markupRenderer**\ : :js:class:`MarkupRenderer <Markup.MarkupRenderer>`\ ): :js:class:`MarkupItemManager <Markup.MarkupItemManager>`
   
   **Parameters**
   
      **callbackManager**\ : :js:class:`~ICallbackManager`
   
      **markupRenderer**\ : :js:class:`MarkupRenderer <Markup.MarkupRenderer>`
   
   
   **Returns**\ : :js:class:`MarkupItemManager <Markup.MarkupItemManager>`
   





Methods
=======

.. js:method:: Markup.MarkupItemManager.getActiveView

   .. rst-class:: sig-pretty-signature
   
      | getActiveView(**view**\ : :js:class:`~IView`\ ): (*None* \| :js:class:`MarkupView <Markup.MarkupView>`\ )
   
   **Parameters**
   
      **view**\ : :js:class:`~IView`
   
   
   **Returns**\ : (*None* \| :js:class:`MarkupView <Markup.MarkupView>`\ )
   



.. js:method:: Markup.MarkupItemManager.getPickTolerance

   .. rst-class:: sig-pretty-signature
   
      | getPickTolerance(): *number*
   
   **Returns**\ : *number*
   



.. js:method:: Markup.MarkupItemManager.getSelected

   .. rst-class:: sig-pretty-signature
   
      | getSelected(): (*None* \| :js:class:`MarkupItem <Markup.MarkupItem>`\ )
   
   **Returns**\ : (*None* \| :js:class:`MarkupItem <Markup.MarkupItem>`\ )
   



.. js:method:: Markup.MarkupItemManager.getViews

   .. rst-class:: sig-pretty-signature
   
      | getViews(**markupView**\ : :js:class:`MarkupView <Markup.MarkupView>`\ ): :js:class:`~IView`\ []
   
   **Parameters**
   
      **markupView**\ : :js:class:`MarkupView <Markup.MarkupView>`
   
   
   **Returns**\ : :js:class:`~IView`\ []
   



.. js:method:: Markup.MarkupItemManager.markupViewDeleted

   .. rst-class:: sig-pretty-signature
   
      | markupViewDeleted(**markupView**\ : :js:class:`MarkupView <Markup.MarkupView>`\ ): *void*
   
   **Parameters**
   
      **markupView**\ : :js:class:`MarkupView <Markup.MarkupView>`
   
   
   **Returns**\ : *void*
   



.. js:method:: Markup.MarkupItemManager.pick

   .. rst-class:: sig-pretty-signature
   
      | pick(**point**\ : :js:class:`~Point2`\ , **view**\ : :js:class:`~IView`\ ): (*None* \| :js:class:`MarkupItem <Markup.MarkupItem>`\ )
   
   **Parameters**
   
      **point**\ : :js:class:`~Point2`
   
      **view**\ : :js:class:`~IView`
   
   
   **Returns**\ : (*None* \| :js:class:`MarkupItem <Markup.MarkupItem>`\ )
   



.. js:method:: Markup.MarkupItemManager.registerMarkupItem

   .. rst-class:: sig-pretty-signature
   
      | registerMarkupItem(**markupItem**\ : :js:class:`MarkupItem <Markup.MarkupItem>`\ , **view**\ : :js:class:`~IView`\ ): *string*
   
   **Parameters**
   
      **markupItem**\ : :js:class:`MarkupItem <Markup.MarkupItem>`
   
      **view**\ : :js:class:`~IView`
   
   
   **Returns**\ : *string*
   



.. js:method:: Markup.MarkupItemManager.renderActiveViewMarkup

   .. rst-class:: sig-pretty-signature
   
      | renderActiveViewMarkup(**view**\ : :js:class:`~IView`\ ): *void*
   
   **Parameters**
   
      **view**\ : :js:class:`~IView`
   
   
   **Returns**\ : *void*
   



.. js:method:: Markup.MarkupItemManager.renderMarkup

   .. rst-class:: sig-pretty-signature
   
      | renderMarkup(**view**\ : :js:class:`~IView`\ ): *void*
   
   **Parameters**
   
      **view**\ : :js:class:`~IView`
   
   
   **Returns**\ : *void*
   



.. js:method:: Markup.MarkupItemManager.select

   .. rst-class:: sig-pretty-signature
   
      | select(**markupItem**\ : (*None* \| :js:class:`MarkupItem <Markup.MarkupItem>`\ ), **view**\ : :js:class:`~IView`\ ): *void*
   
   **Parameters**
   
      **markupItem**\ : (*None* \| :js:class:`MarkupItem <Markup.MarkupItem>`\ )
   
      **view**\ : :js:class:`~IView`
   
   
   **Returns**\ : *void*
   



.. js:method:: Markup.MarkupItemManager.setActiveView

   .. rst-class:: sig-pretty-signature
   
      | setActiveView(**view**\ : :js:class:`~IView`\ , **markupView**\ : (*None* \| :js:class:`MarkupView <Markup.MarkupView>`\ )): *Promise*
   
   **Parameters**
   
      **view**\ : :js:class:`~IView`
   
      **markupView**\ : (*None* \| :js:class:`MarkupView <Markup.MarkupView>`\ )
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Markup.MarkupItemManager.setPickTolerance

   .. rst-class:: sig-pretty-signature
   
      | setPickTolerance(**tolerance**\ : *number*\ ): *void*
   
   **Parameters**
   
      **tolerance**\ : *number*
   
   
   **Returns**\ : *void*
   



.. js:method:: Markup.MarkupItemManager.shutdown

   .. rst-class:: sig-pretty-signature
   
      | shutdown(): *void*
   
   **Returns**\ : *void*
   



.. js:method:: Markup.MarkupItemManager.unregisterMarkupItem

   .. rst-class:: sig-pretty-signature
   
      | unregisterMarkupItem(**uniqueId**\ : *string*\ , **view**\ : :js:class:`~IView`\ ): *void*
   
   **Parameters**
   
      **uniqueId**\ : *string*
   
      **view**\ : :js:class:`~IView`
   
   
   **Returns**\ : *void*
   



.. js:method:: Markup.MarkupItemManager.update

   .. rst-class:: sig-pretty-signature
   
      | update(): *void*
   
   **Returns**\ : *void*
   



.. js:method:: Markup.MarkupItemManager.updateLater

   .. rst-class:: sig-pretty-signature
   
      | updateLater(**view**\ : :js:class:`~IView`\ ): *void*
   
   **Parameters**
   
      **view**\ : :js:class:`~IView`
   
   
   **Returns**\ : *void*
   



.. js:method:: Markup.MarkupItemManager.viewDeleted

   .. rst-class:: sig-pretty-signature
   
      | viewDeleted(**view**\ : :js:class:`~IView`\ ): *void*
   
   **Parameters**
   
      **view**\ : :js:class:`~IView`
   
   
   **Returns**\ : *void*
   





