All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.sheets.v4.model.GradientRule.html Maven / Gradle / Ivy

There is a newer version: v4-rev20240514-2.0.0
Show newest version






GradientRule (Google Sheets API v4-rev20240319-2.0.0)












com.google.api.services.sheets.v4.model

Class GradientRule

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class GradientRule
    extends com.google.api.client.json.GenericJson
    A rule that applies a gradient color scale format, based on the interpolation points listed. The format of a cell will vary based on its contents as compared to the values of the interpolation points.

    This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Sheets API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • GradientRule

        public GradientRule()
    • Method Detail

      • getMaxpoint

        public InterpolationPoint getMaxpoint()
        The final interpolation point.
        Returns:
        value or null for none
      • setMaxpoint

        public GradientRule setMaxpoint(InterpolationPoint maxpoint)
        The final interpolation point.
        Parameters:
        maxpoint - maxpoint or null for none
      • getMidpoint

        public InterpolationPoint getMidpoint()
        An optional midway interpolation point.
        Returns:
        value or null for none
      • setMidpoint

        public GradientRule setMidpoint(InterpolationPoint midpoint)
        An optional midway interpolation point.
        Parameters:
        midpoint - midpoint or null for none
      • getMinpoint

        public InterpolationPoint getMinpoint()
        The starting interpolation point.
        Returns:
        value or null for none
      • setMinpoint

        public GradientRule setMinpoint(InterpolationPoint minpoint)
        The starting interpolation point.
        Parameters:
        minpoint - minpoint or null for none
      • set

        public GradientRule set(String fieldName,
                                Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public GradientRule clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy