public class TracePainterCross
extends info.monitorenter.gui.chart.traces.painters.ATracePainter
Constructor and Description |
---|
TracePainterCross()
Creates an instance with a default cross size of 4.
|
TracePainterCross(int crossSize)
Creates an instance with the given cross size.
|
Modifier and Type | Method and Description |
---|---|
void |
endPaintIteration(Graphics g2d) |
boolean |
equals(Object obj) |
int |
getCrossSize()
Returns the size of the cross to paint in pixel.
|
int |
hashCode() |
void |
paintPoint(int absoluteX,
int absoluteY,
int nextX,
int nextY,
Graphics g,
info.monitorenter.gui.chart.ITracePoint2D original) |
void |
setPlusSize(int plusSize)
Sets the size of the crosses to paint in pixel.
|
void |
startPaintIteration(Graphics g2d) |
public TracePainterCross()
public TracePainterCross(int crossSize)
crossSize
- the cross size in pixel to use.public void endPaintIteration(Graphics g2d)
endPaintIteration
in interface info.monitorenter.gui.chart.IPointPainter<info.monitorenter.gui.chart.traces.painters.ATracePainter>
endPaintIteration
in class info.monitorenter.gui.chart.traces.painters.ATracePainter
IPointPainter.endPaintIteration(java.awt.Graphics)
public boolean equals(Object obj)
equals
in class info.monitorenter.gui.chart.traces.painters.ATracePainter
Object.equals(java.lang.Object)
public int getCrossSize()
public int hashCode()
hashCode
in class info.monitorenter.gui.chart.traces.painters.ATracePainter
Object.hashCode()
public void paintPoint(int absoluteX, int absoluteY, int nextX, int nextY, Graphics g, info.monitorenter.gui.chart.ITracePoint2D original)
paintPoint
in interface info.monitorenter.gui.chart.IPointPainter<info.monitorenter.gui.chart.traces.painters.ATracePainter>
paintPoint
in class info.monitorenter.gui.chart.traces.painters.ATracePainter
ATracePainter.paintPoint(int,
int, int, int, java.awt.Graphics,
info.monitorenter.gui.chart.ITracePoint2D)
public void setPlusSize(int plusSize)
crossSize
- the size of the crosses to paint in pixel.public void startPaintIteration(Graphics g2d)
startPaintIteration
in interface info.monitorenter.gui.chart.IPointPainter<info.monitorenter.gui.chart.traces.painters.ATracePainter>
startPaintIteration
in class info.monitorenter.gui.chart.traces.painters.ATracePainter
ATracePainter.startPaintIteration(java.awt.Graphics)
Copyright © 2013 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.