Documentation

ETViewpointAdditions

ETViewpoint

The base viewpoint protocol.

AuthorsGenerated by qmathe
Declared inETViewpoint.h

Overview

A viewpoint is an adaptor that exposes a value derived from a represented object and handles reading and writing the properties of this value through -valueForProperty: and -setValue:forProperty: .

The derived value object can be read and write through -value and -setValue: .


Default

- (id) representedObject

Returns the adapted object.

    - (void) setRepresentedObject: (id)object

    Sets the adapted object.

      - (id) value

      Returns the object value resulting from the viewpoint.

        - (void) setValue: (id)objectValue

        Sets the object value resulting from the viewpoint.

          - (NSArray *) propertyNames

          Returns the property names exposed through by the viewpoint for -value .

            - (id) valueForProperty: (NSString *)key

            Returns a value bound to a property of the object -value .

              - (BOOL) setValue: (id)value forProperty: (NSString *)key

              Sets the value bound to a property of the object -value .

                - (BOOL) isMutableValue
                Description forthcoming.
                  - (void) applyMutableViewpointTraitForValue: (id)aValue
                  Description forthcoming.
                    - (void) unapplyMutableViewpointTraitForValue: (id)aValue
                    Description forthcoming.