.. role:: ts-api-decorator

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

.. js:module:: Markup
   :noindex:

.. container:: ts-api-section

   .. js:class:: MarkupItemManager



.. container:: api-index-section

   .. rubric:: Constructors

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

   * :js:meth:`~Markup.MarkupItemManager.constructor`



.. container:: api-index-section

   .. rubric:: Methods

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

   * :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
============

.. container:: ts-api-section

   .. js:function:: MarkupItemManager.constructor( callbackManager, markupRenderer)

      :param callbackManager: None
      :type callbackManager: CallbackManager
      :param markupRenderer: None
      :type markupRenderer: MarkupRenderer


      :rtype: MarkupItemManager



Methods
=======

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

getActiveView
-------------

.. js:method:: MarkupItemManager.getActiveView( view)

   :param view: None
   :type view: View


   :rtype: null | MarkupView

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

getPickTolerance
----------------

.. js:method:: MarkupItemManager.getPickTolerance()



   :rtype: number

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

getSelected
-----------

.. js:method:: MarkupItemManager.getSelected()



   :rtype: null | MarkupItem

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

getViews
--------

.. js:method:: MarkupItemManager.getViews( markupView)

   :param markupView: None
   :type markupView: MarkupView


   :rtype: [View]

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

markupViewDeleted
-----------------

.. js:method:: MarkupItemManager.markupViewDeleted( markupView)

   :param markupView: None
   :type markupView: MarkupView


   :rtype: void

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

pick
----

.. js:method:: MarkupItemManager.pick( point, view)

   :param point: None
   :type point: Point2
   :param view: None
   :type view: View


   :rtype: null | MarkupItem

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

registerMarkupItem
------------------

.. js:method:: MarkupItemManager.registerMarkupItem( markupItem, view)

   :param markupItem: None
   :type markupItem: MarkupItem
   :param view: None
   :type view: View


   :rtype: string

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

renderActiveViewMarkup
----------------------

.. js:method:: MarkupItemManager.renderActiveViewMarkup( view)

   :param view: None
   :type view: View


   :rtype: void

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

renderMarkup
------------

.. js:method:: MarkupItemManager.renderMarkup( view)

   :param view: None
   :type view: View


   :rtype: void

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

select
------

.. js:method:: MarkupItemManager.select( markupItem)

   :param markupItem: None
   :type markupItem: null | MarkupItem


   :rtype: void

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

setActiveView
-------------

.. js:method:: MarkupItemManager.setActiveView( view, markupView)

   :param view: None
   :type view: View
   :param markupView: None
   :type markupView: null | MarkupView


   :rtype: Promise <void>

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

setPickTolerance
----------------

.. js:method:: MarkupItemManager.setPickTolerance( tolerance)

   :param tolerance: None
   :type tolerance: number


   :rtype: void

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

shutdown
--------

.. js:method:: MarkupItemManager.shutdown()



   :rtype: void

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

unregisterMarkupItem
--------------------

.. js:method:: MarkupItemManager.unregisterMarkupItem( uniqueId, view)

   :param uniqueId: None
   :type uniqueId: string
   :param view: None
   :type view: View


   :rtype: void

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

update
------

.. js:method:: MarkupItemManager.update()



   :rtype: void

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

updateLater
-----------

.. js:method:: MarkupItemManager.updateLater( view)

   :param view: None
   :type view: View


   :rtype: void

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

viewDeleted
-----------

.. js:method:: MarkupItemManager.viewDeleted( view)

   :param view: None
   :type view: View


   :rtype: void

