Enum ValueClickSelection

java.lang.Object
java.lang.Enum<ValueClickSelection>
com.smartgwt.client.types.ValueClickSelection
All Implemented Interfaces:
ValueEnum, Serializable, Comparable<ValueClickSelection>, Constable

public enum ValueClickSelection extends Enum<ValueClickSelection> implements ValueEnum
What a click on a plotted data value selects - see FacetChart.valueClickSelection.
  • Enum Constant Details

    • VALUE

      public static final ValueClickSelection VALUE
      the individual data value that was clicked

      If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "value".

    • LEGEND_FACET_VALUE

      public static final ValueClickSelection LEGEND_FACET_VALUE
      every value sharing the clicked value's legend facet value - in a stacked bar chart, every segment of the same color

      If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "legendFacetValue".

    • DATA_LABEL_FACET_VALUE

      public static final ValueClickSelection DATA_LABEL_FACET_VALUE
      every value in the clicked value's data-label group - in a stacked bar chart, the whole stack

      If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "dataLabelFacetValue".

    • NONE

      public static final ValueClickSelection NONE
      nothing; the click does not change the selection

      If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "none".

  • Method Details

    • values

      public static ValueClickSelection[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ValueClickSelection valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
      Specified by:
      getValue in interface ValueEnum