PATH |
Implemented by:EOAssociationController, EODocumentController, EORangeValueController
Package: com.webobjects.eoapplication
EOEditable is an interface that defines an API for managing the editability of a branch of the controller hierarchy. EOEditable controllers usually base the editability of their user interfaces on the editability of their supercontrollers. Thus, by default all the EOEditable subcontrollers of an editable controller are also editable. To enable or disable a portion of an application's user interface, you need only message the highest level controller associated with that user interface.
EOEditable defines the following int
constants to identify the editability of an EOEditable controller:
public abstract int editability()
IfSupercontrollerEditable
.
public abstract boolean isEditable()
true
if the receiver is editable, and false
otherwise. The default behavior should be to return true
if the receiver is currently editable. The receiver is editable if:
true
.
public abstract void setEditability(int editability)
public abstract void supercontrollerEditabilityDidChange()
public abstract void takeResponsibilityForEditabilityOfAssociation( com.webobjects.eointerface.EOAssociation association)
© 2001 Apple Computer, Inc. (Last Published April 14, 2001)