Class FCPObservable

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

class FCPObservable
extends Observable
When facial characteristic point data has been modified the fcp number that was changed will be stored in this object that will be read by the notified observers.

See Also:
FCP

Variable Index

 o fcpNr
The fcp number that was last modified.
 o selected
When a fcp point is dragged, the fcp point will be 'selected'.

Constructor Index

 o FCPObservable()

Method Index

 o change()
Called to indicate that data has been changed.
 o getFcpNr()
Get the fcp point that has been changed.
 o getSelected()
When a fcp point is dragged, the fcp point be 'selected'.
 o setFcpNr(int)
Set the fcp number that has been changed.
 o setSelected(boolean)
When a fcp point is dragged, the fcp point be 'selected'.

Variables

 o fcpNr
 private int fcpNr
The fcp number that was last modified. If its value is -1 then all fcp's will be updated in the observing windows.

 o selected
 private boolean selected
When a fcp point is dragged, the fcp point will be 'selected'. When the dragging is stopped, it is deselected.

Constructors

 o FCPObservable
 FCPObservable()

Methods

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

 o setFcpNr
 public void setFcpNr(int fcpNr)
Set the fcp number that has been changed. This method will be called by the data model.

See Also:
fcpNr
 o getFcpNr
 public int getFcpNr()
Get the fcp point that has been changed. This method will be called by observers of the fcp point data.

See Also:
fcpNr
 o setSelected
 public void setSelected(boolean selected)
When a fcp point is dragged, the fcp point be 'selected'.

 o getSelected
 public boolean getSelected()
When a fcp point is dragged, the fcp point be 'selected'.