public class NoteReferencePopulator extends Object
Note with the CommentInfo which contains the comment together with additional information about the population context. It populates the note with essential information
about position, dimensions, background color and more from the comment and the spring configuration.| Constructor and Description |
|---|
NoteReferencePopulator() |
| Modifier and Type | Method and Description |
|---|---|
protected Area |
createArea(double width,
double height) |
protected Bbox |
createBoundingBox(double width,
double height) |
protected Pathpoint |
createPathpoint(int num,
double pos_x,
double pos_y) |
protected double |
createReferenceX(int commentPosition) |
protected double |
createReferenceY(int commentPosition) |
void |
populate(CommentInfo commentInfo,
Note note) |
void |
setBgcolorBlue(Double bgcolorBlue) |
void |
setBgcolorGreen(Double bgcolorGreen) |
void |
setBgcolorRed(Double bgcolorRed) |
void |
setHeight(Double height) |
void |
setMaxperrow(Integer maxperrow) |
void |
setWidth(Double width) |
public void populate(CommentInfo commentInfo, Note note) throws ConversionException, IllegalArgumentException
protected double createReferenceX(int commentPosition)
protected double createReferenceY(int commentPosition)
protected Area createArea(double width, double height)
protected Pathpoint createPathpoint(int num, double pos_x, double pos_y)
protected Bbox createBoundingBox(double width, double height)
public void setHeight(Double height)
public void setMaxperrow(Integer maxperrow)
public void setWidth(Double width)
public void setBgcolorRed(Double bgcolorRed)
public void setBgcolorGreen(Double bgcolorGreen)
public void setBgcolorBlue(Double bgcolorBlue)
Copyright © 2017 SAP SE. All Rights Reserved.