metricsOverlay.model
Interface IEditable

All Known Implementing Classes:
ActualMetric, Augmentation, BackgroundLineAugmentation, BackgroundSectionAugmentation, DerivedMetric, Mapping, MarginAugmentation, Metric, SectionAugmentation, UnderlineAugmentation

public interface IEditable

This interface allows items to be flagged as editable and have the potential to change their editable status. Please note this is only a flag and it is up to users of the class to set this if desired.

Version:
28/8/2009
Author:
Matthew Harward

Method Summary
 boolean canChangeEditableStatus()
           
 boolean canEdit()
           
 void setEditable(boolean editable)
          If allowed, this sets the new editable status.
 

Method Detail

canEdit

boolean canEdit()
Returns:
A boolean value that determines if you are allowed to edit this class.

canChangeEditableStatus

boolean canChangeEditableStatus()
Returns:
A value to determine if the editable status may be changed.

setEditable

void setEditable(boolean editable)
If allowed, this sets the new editable status.

Parameters:
editable - the new status.