Package com.smartsheet.api.models.enums
Enum WidgetType
- java.lang.Object
-
- java.lang.Enum<WidgetType>
-
- com.smartsheet.api.models.enums.WidgetType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<WidgetType>
public enum WidgetType extends java.lang.Enum<WidgetType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHART
ChartWidgetContent objectGRIDGANTT
ReportWidgetContent objectIMAGE
ImageWidgetContent objectMETRIC
CellLinkWidgetContent objectRICHTEXT
RichTextWidgetContent objectSHEETSUMMARY
SHEETSUMMARY (is now METRIC) decodes to CellLinkWidgetContent objectSHORTCUT
ShortcutWidgetContent objectSHORTCUTICON
SHORTCUTLIST
SHORTCUTLIST, SHORTCUTICON (both now SHORTCUT) decode to ShortcutWidgetContent objectTITLE
same as RichTextWidgetContent objectWEBCONTENT
WebContentWidgetContent object
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WidgetType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static WidgetType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHART
public static final WidgetType CHART
ChartWidgetContent object
-
IMAGE
public static final WidgetType IMAGE
ImageWidgetContent object
-
METRIC
public static final WidgetType METRIC
CellLinkWidgetContent object
-
GRIDGANTT
public static final WidgetType GRIDGANTT
ReportWidgetContent object
-
RICHTEXT
public static final WidgetType RICHTEXT
RichTextWidgetContent object
-
SHORTCUT
public static final WidgetType SHORTCUT
ShortcutWidgetContent object
-
TITLE
public static final WidgetType TITLE
same as RichTextWidgetContent object
-
WEBCONTENT
public static final WidgetType WEBCONTENT
WebContentWidgetContent object
-
SHORTCUTLIST
public static final WidgetType SHORTCUTLIST
SHORTCUTLIST, SHORTCUTICON (both now SHORTCUT) decode to ShortcutWidgetContent object
-
SHORTCUTICON
public static final WidgetType SHORTCUTICON
-
SHEETSUMMARY
public static final WidgetType SHEETSUMMARY
SHEETSUMMARY (is now METRIC) decodes to CellLinkWidgetContent object
-
-
Method Detail
-
values
public static WidgetType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (WidgetType c : WidgetType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WidgetType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-