Class FunctionInlineSettingsDefinition

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear​(Settings settings)
      Removes any values in the given settings object assocated with this settings definition
      void copySetting​(Settings srcSettings, Settings destSettings)
      Copies any setting value associated with this settings definition from the srcSettings settings to the destSettings.
      java.lang.String getDescription()
      Returns a description of this settings definition
      java.lang.String getName()
      Returns the name of this SettingsDefinition
      boolean getValue​(Settings settings)
      gets the value for this SettingsDefinition given a Settings object.
      boolean hasValue​(Settings settings)  
      void setValue​(Settings settings, boolean value)
      Sets the given value into the given settings object using this settingsDefinition as the key.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FunctionInlineSettingsDefinition

        public FunctionInlineSettingsDefinition()
    • Method Detail

      • getValue

        public boolean getValue​(Settings settings)
        Description copied from interface: BooleanSettingsDefinition
        gets the value for this SettingsDefinition given a Settings object.
        Specified by:
        getValue in interface BooleanSettingsDefinition
        Parameters:
        settings - the set of Settings values for a particular location or null for default value.
        Returns:
        the values for this settings object given the context.
      • setValue

        public void setValue​(Settings settings,
                             boolean value)
        Description copied from interface: BooleanSettingsDefinition
        Sets the given value into the given settings object using this settingsDefinition as the key.
        Specified by:
        setValue in interface BooleanSettingsDefinition
        Parameters:
        settings - the settings object to store the value in.
        value - the value to store in the settings object using this settingsDefinition as the key.
      • copySetting

        public void copySetting​(Settings srcSettings,
                                Settings destSettings)
        Description copied from interface: SettingsDefinition
        Copies any setting value associated with this settings definition from the srcSettings settings to the destSettings.
        Specified by:
        copySetting in interface SettingsDefinition
        Parameters:
        srcSettings - the settings to be copied
        destSettings - the settings to be updated.
      • clear

        public void clear​(Settings settings)
        Description copied from interface: SettingsDefinition
        Removes any values in the given settings object assocated with this settings definition
        Specified by:
        clear in interface SettingsDefinition
        Parameters:
        settings - the settings object to be cleared.