public class TracePainterPlus
extends info.monitorenter.gui.chart.traces.painters.ATracePainter
Constructor and Description |
---|
TracePainterPlus()
Creates an instance with a default plus size of 4.
|
TracePainterPlus(int plusSize)
Creates an instance with the given plus size.
|
Modifier and Type | Method and Description |
---|---|
void |
endPaintIteration(Graphics g2d) |
boolean |
equals(Object obj) |
int |
getPlusSize()
Returns the size of the plus 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 plus to paint in pixel.
|
void |
startPaintIteration(Graphics g2d) |
public TracePainterPlus()
public TracePainterPlus(int plusSize)
plusSize
- the plus 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 getPlusSize()
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)
plusSize
- the diameter of the plus 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.