Class FMGraphicalPanel
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----FMGraphicalPanel
- public class FMGraphicalPanel
- extends Panel
- implements Observer
A Panel that displays pictures.
-
dim
-
-
drawBox
-
-
drawImage
-
-
dx
-
-
dy
-
-
features
-
-
image
-
-
observable
-
-
selectedFeature
-
-
symLineNr
-
-
wx0
-
-
wx1
-
-
wy0
-
-
wy1
-
-
x
-
-
x0
-
-
x1
-
-
xb
-
-
xe
-
-
y
-
-
y0
-
-
y1
-
-
yb
-
-
ye
-
-
FMGraphicalPanel(SetFMModule)
-
-
getPreferredSize()
- Determines the preferred size of the panel by looking at the image
that must be displayed.
-
paint(Graphics)
-
-
update(Graphics)
- Update the graphics.
-
update(Observable, Object)
- Called when the feature map data has been modified.
observable
FMObservable observable
image
Image image
dim
Dimension dim
x0
int x0
y0
int y0
x1
int x1
y1
int y1
xb
int xb
yb
int yb
xe
int xe
ye
int ye
wx0
int wx0
wy0
int wy0
wx1
int wx1
wy1
int wy1
x
int x
y
int y
drawImage
boolean drawImage
drawBox
boolean drawBox
features
int features[][]
dx
double dx
dy
double dy
selectedFeature
int selectedFeature
symLineNr
int symLineNr
FMGraphicalPanel
public FMGraphicalPanel(SetFMModule sfmm)
paint
public void paint(Graphics g)
- Overrides:
- paint in class Container
update
public void update(Graphics g)
- Update the graphics. Works like paint but does not clear the
background when it is called.
- Overrides:
- update in class Container
update
public void update(Observable o,
Object obj)
- Called when the feature map data has been modified.
getPreferredSize
public Dimension getPreferredSize()
- Determines the preferred size of the panel by looking at the image
that must be displayed.
- Overrides:
- getPreferredSize in class Container