Class FMLabelsPanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----FMLabelsPanel

class FMLabelsPanel
extends Panel
implements Observer
A panel that holds the feature map coordinates.


Variable Index

 o boldFont
Bold font of the feature map label.
 o fm
A copy of the feature map data.
 o labels
A 2 dimensional array of labels of wich the indexes (when filled) will match the 2 dim.
 o plainFont
Plain font of the feature map label.

Constructor Index

 o FMLabelsPanel(FM)
Fill the feature map panel.

Method Index

 o update(Observable, Object)
Label(s) of the feature maps that have been changed will be updated.

Variables

 o labels
 private LabelGBL labels[][]
A 2 dimensional array of labels of wich the indexes (when filled) will match the 2 dim. feature array.

 o fm
 private FM fm
A copy of the feature map data.

 o plainFont
 Font plainFont
Plain font of the feature map label.

 o boldFont
 Font boldFont
Bold font of the feature map label.

Constructors

 o FMLabelsPanel
 FMLabelsPanel(FM fm)
Fill the feature map panel. All labels are stored in a 2 dimensional array so they can be accessed easily when a specific feature needs to be updated.

Methods

 o update
 public void update(Observable o,
                    Object obj)
Label(s) of the feature maps that have been changed will be updated. The update method is called everytime the feature map data has been changed.