Class AbstractProjectionDescriptor

    • Constructor Detail

      • AbstractProjectionDescriptor

        protected AbstractProjectionDescriptor​(ProjectionData proj)
    • Method Detail

      • registerProjectionData

        public void registerProjectionData​(ProjectionData data,
                                           DisplayDescriptor descriptor)
        Description copied from interface: ProjectionDescriptor
        Register ProjectionData with the DisplayDescriptor. This is implemented here since different ProjectionDescriptor implementations might handle psuedo-projections like value layers differently from actual Projection implementations.
        Specified by:
        registerProjectionData in interface ProjectionDescriptor
        Parameters:
        data - the ProjectionData to register with the DisplayDescriptor
        descriptor - the DisplayDescriptor
      • getProperty

        public Object getProperty​(String groupID,
                                  String key)
        Gets the named property in the specified property group. For example, each kind of decorator would have its own properties and these would be grouped into a property group.
        Specified by:
        getProperty in interface ProjectionDescriptor
        Parameters:
        groupID -
        key -
        Returns:
        the named property in the specified property group or null if no such property is found.
      • setProperty

        public void setProperty​(String groupID,
                                String key,
                                Object value)
        Sets the named property in the specified property group. For example, each kind of decorator would have its own properties and these would be grouped into a property group.
        Specified by:
        setProperty in interface ProjectionDescriptor
        Parameters:
        groupID -
        key -
        value -