gui
Class DiffImageTab.ImagePanel
JComponent
gui.DiffImageTab.ImagePanel
- DiffImageTab
public class DiffImageTab.ImagePanel
extends JComponent
backgroundShape1
private Rectangle2D.Double backgroundShape1
backgroundShape2
private Rectangle2D.Double backgroundShape2
blockMatch
private boolean blockMatch
borderX
private int borderX
borderY
private int borderY
error
private double error
errorText
private TextLayout errorText
optimalPosition
private Rectangle2D.Double optimalPosition
rect
private Rectangle2D.Double rect
text1
private TextLayout text1
text2
private TextLayout text2
text3
private TextLayout text3
text4
private TextLayout text4
threshold
private int threshold
thresholdText
private TextLayout thresholdText
ImagePanel
public ImagePanel(Image img)
displayError
public void displayError(double err)
displayThresholdValue
public void displayThresholdValue(int th,
boolean match)
paint
public void paint(Graphics g)
setOptimalPosition
public boolean setOptimalPosition(Point optPos)
setRectanglePosition
public boolean setRectanglePosition(Point p)