Class CommentIconModel
java.lang.Object
de.hybris.platform.cockpit.components.mvc.commentlayer.model.CommentIconModel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the actualCommentModelthat corresponds to the comment icon.intgetX()intgetY()booleanbooleanvoidsetComment(CommentModel comment) voidsetParentComponentId(String parentId) voidsetSelected(boolean selected) voidsetVisible(boolean visible) voidsetX(int x_Position) voidsetY(int y_Position) voidvoid
-
Constructor Details
-
CommentIconModel
-
-
Method Details
-
getComment
Returns the actualCommentModelthat corresponds to the comment icon. -
isSelected
public boolean isSelected() -
getY
public int getY() -
getX
public int getX() -
setSelected
public void setSelected(boolean selected) -
setY
public void setY(int y_Position) - Parameters:
y_Position- the y to set
-
setX
public void setX(int x_Position) - Parameters:
x_Position- the x to set
-
toggleSelected
public void toggleSelected() -
toggleVisible
public void toggleVisible() -
isVisible
public boolean isVisible()- Returns:
- the visible
-
setVisible
public void setVisible(boolean visible) - Parameters:
visible- the visible to set
-
setParentComponentId
-
getParentComponentId
- Returns:
- the parentComponentId
-
setComment
- Parameters:
comment- the comment to set
-