public class ExtraErrorStripePainter extends ErrorStripePainter
ErrorStripePainter.Alignment
RegionPainter.Alpha, RegionPainter.Image
Constructor and Description |
---|
ExtraErrorStripePainter(boolean single) |
Modifier and Type | Method and Description |
---|---|
int |
getGroupGap() |
boolean |
isGroupSwap() |
void |
paint(java.awt.Graphics2D g,
int x,
int y,
int width,
int height,
java.lang.Object object)
Renders to the given
Graphics2D object. |
void |
setErrorStripeCount(int count) |
void |
setErrorStripeGap(int gap) |
void |
setExtraStripe(int index,
ErrorStripe stripe) |
void |
setGroupGap(int gap) |
void |
setMaximalThickness(int thickness) |
void |
setMinimalThickness(int thickness) |
addErrorStripe, clear, clear, createImage, findIndex, isModified, updateImage
invalidate
public boolean isGroupSwap()
public int getGroupGap()
public void setGroupGap(int gap)
public void setMaximalThickness(int thickness)
setMaximalThickness
in class ErrorStripePainter
public void setMinimalThickness(int thickness)
setMinimalThickness
in class ErrorStripePainter
public void setErrorStripeGap(int gap)
setErrorStripeGap
in class ErrorStripePainter
public void setErrorStripeCount(int count)
setErrorStripeCount
in class ErrorStripePainter
public void setExtraStripe(int index, ErrorStripe stripe)
public void paint(java.awt.Graphics2D g, int x, int y, int width, int height, java.lang.Object object)
RegionPainter
Graphics2D
object.paint
in interface RegionPainter<java.lang.Object>
paint
in class ErrorStripePainter
g
- the Graphics2D
object to render tox
- X position of the area to painty
- Y position of the area to paintwidth
- width of the area to paintheight
- height of the area to paintobject
- an optional configuration parameter