Class FMObservable

java.lang.Object
   |
   +----java.util.Observable
           |
           +----FMObservable

class FMObservable
extends Observable
When feature map data has been modified the feature number of the feature that was changed will be stored in this object that will be read by the notified observers.

See Also:
FM

Variable Index

 o featureNr
The feature number that was last modified.
 o selected
When a feature box is dragged, the feature will be 'selected'.

Constructor Index

 o FMObservable()

Method Index

 o change()
Called to indicate that data has been changed.
 o getFeatureNr()
Get the feature number that has been changed.
 o getSelected()
When a feature box is dragged, the feature will be 'selected'.
 o setFeatureNr(int)
Set the feature number that has been changed.
 o setSelected(boolean)
When a feature box is dragged, the feature will be 'selected'.

Variables

 o featureNr
 private int featureNr
The feature number that was last modified. If its value is -1 all features will be updated in the observing windows.

 o selected
 private boolean selected
When a feature box is dragged, the feature will be 'selected'. When the dragging is stopped, it's is not selected anymore.

Constructors

 o FMObservable
 FMObservable()

Methods

 o change
 void change()
Called to indicate that data has been changed.

 o setFeatureNr
 public void setFeatureNr(int fnr)
Set the feature number that has been changed. This method will be called by the data model.

See Also:
featureNr
 o getFeatureNr
 public int getFeatureNr()
Get the feature number that has been changed. This method will be called by observers of the feature map data.

See Also:
featureNr
 o setSelected
 public void setSelected(boolean selected)
When a feature box is dragged, the feature will be 'selected'.

 o getSelected
 public boolean getSelected()
When a feature box is dragged, the feature will be 'selected'.