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
-
fcpNr
- The fcp number that was last modified.
-
selected
- When a fcp point is dragged, the fcp point will be 'selected'.
-
FCPObservable()
-
-
change()
- Called to indicate that data has been changed.
-
getFcpNr()
- Get the fcp point that has been changed.
-
getSelected()
- When a fcp point is dragged, the fcp point be 'selected'.
-
setFcpNr(int)
- Set the fcp number that has been changed.
-
setSelected(boolean)
- When a fcp point is dragged, the fcp point be 'selected'.
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.
selected
private boolean selected
- When a fcp point is dragged, the fcp point will be 'selected'.
When the dragging is stopped, it is deselected.
FCPObservable
FCPObservable()
change
void change()
- Called to indicate that data has been changed.
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
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
setSelected
public void setSelected(boolean selected)
- When a fcp point is dragged, the fcp point be 'selected'.
getSelected
public boolean getSelected()
- When a fcp point is dragged, the fcp point be 'selected'.