public class DivCommentIcon extends Div implements CommentIcon
CommentIcon implementation for the purpose of printcockpit. It renders an image wrapped in a div component.| Constructor and Description |
|---|
DivCommentIcon(CommentIconModel model)
Creates, new, not selected comment icon.
|
| Modifier and Type | Method and Description |
|---|---|
Image |
getIcon()
Returns the icon
|
java.lang.String |
getImageURI()
Returns the image URI of the comment icon.
|
CommentIconModel |
getModel()
Returns the model representing the current icon's state
|
void |
refresh()
Refresh icon component
|
void |
scale(double xRatio,
double yRatio)
Handler for scaling the comment icon
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIdpublic DivCommentIcon(CommentIconModel model)
public java.lang.String getImageURI()
CommentIcongetImageURI in interface CommentIconpublic CommentIconModel getModel()
CommentIcongetModel in interface CommentIconpublic Image getIcon()
CommentIcongetIcon in interface CommentIconpublic void refresh()
CommentIconrefresh in interface CommentIconpublic void scale(double xRatio,
double yRatio)
CommentIconscale in interface CommentIconxRatio - - x scale ratioyRatio - - y scale ratioCopyright © 2018 SAP SE. All Rights Reserved.