Class CommentLayerComponentModel

java.lang.Object
de.hybris.platform.cockpit.components.mvc.commentlayer.model.CommentLayerComponentModel
All Implemented Interfaces:
Serializable

public class CommentLayerComponentModel extends Object implements Serializable
Representation of current state of the comment layer component. Plays role of the Model in the comment layer MVC architecture.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getMode

      public String getMode()
    • setMode

      public void setMode(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 List<CommentIconModel> getIconModels()
      Returns:
      the iconModels
    • addIconModel

      public boolean addIconModel(CommentIconModel iconModel)
    • removeIcon

      public boolean removeIcon(CommentIconModel iconModel)
    • getScrollableContainerId

      public String getScrollableContainerId()
      Returns:
      the scrollableContainerId
    • setScrollableContainerId

      public void setScrollableContainerId(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