Class CommentLayerComponentModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class CommentLayerComponentModel
    extends java.lang.Object
    implements java.io.Serializable
    Representation of current state of the comment layer component. Plays role of the Model in the comment layer MVC architecture.
    See Also:
    Serialized Form
    • Method Detail

      • getMode

        public java.lang.String getMode()
      • setMode

        public void setMode​(java.lang.String mode)
      • getWidth

        public double getWidth()
        Returns:
        the width
      • setWidth

        public void setWidth​(double width)
        Parameters:
        width - the width to set
      • getHeight

        public double getHeight()
        Returns:
        the height
      • setHeight

        public void setHeight​(double height)
        Parameters:
        height - the height to set
      • getScaleFactor

        public double getScaleFactor()
        Returns:
        the scaleFactor
      • setScaleFactor

        public void setScaleFactor​(double scaleFactor)
        Parameters:
        scaleFactor - the scaleFactor to set
      • getCommentTarget

        public TypedObject getCommentTarget()
        Returns:
        the commentTarget
      • getSelectedIcon

        public CommentIconModel getSelectedIcon()
        Returns:
        the selectedIcon
      • setSelectedIcon

        public void setSelectedIcon​(CommentIconModel selectedIcon)
        Parameters:
        selectedIcon - the selectedIcon to set
      • getCommentLayerTarget

        public TypedObject getCommentLayerTarget()
        Returns:
        the commentLayerTarget
      • getCurrentRightClickX

        public int getCurrentRightClickX()
        Returns:
        the currentRightClickX
      • setCurrentRightClickX

        public void setCurrentRightClickX​(int currentRightClickX)
        Parameters:
        currentRightClickX - the currentRightClickX to set
      • getCurrentRightClickY

        public int getCurrentRightClickY()
        Returns:
        the currentRightClickY
      • setCurrentRightClickY

        public void setCurrentRightClickY​(int currentRightClickY)
        Parameters:
        currentRightClickY - the currentRightClickY to set
      • getzIndex

        public int getzIndex()
        Returns:
        the zIndex
      • setzIndex

        public void setzIndex​(int zIndex)
        Parameters:
        zIndex - the zIndex to set
      • isExposed

        public boolean isExposed()
        Returns:
        the exposed
      • setExposed

        public void setExposed​(boolean exposed)
        Parameters:
        exposed - the exposed to set
      • getCommentLayerAwareModel

        public CommentLayerAwareModel getCommentLayerAwareModel()
        Returns:
        the browserModel
      • getIconModels

        public java.util.List<CommentIconModel> getIconModels()
        Returns:
        the iconModels
      • getScrollableContainerId

        public java.lang.String getScrollableContainerId()
        Returns:
        the scrollableContainerId
      • setScrollableContainerId

        public void setScrollableContainerId​(java.lang.String scrollableContainerId)
        Parameters:
        scrollableContainerId - the scrollableContainerId to set
      • getPageIndex

        public int getPageIndex()
        Returns:
        the pageIndex
      • setPageIndex

        public void setPageIndex​(int pageIndex)
        Parameters:
        pageIndex - the pageIndex to set