Enum 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 object
      GRIDGANTT
      ReportWidgetContent object
      IMAGE
      ImageWidgetContent object
      METRIC
      CellLinkWidgetContent object
      RICHTEXT
      RichTextWidgetContent object
      SHEETSUMMARY
      SHEETSUMMARY (is now METRIC) decodes to CellLinkWidgetContent object
      SHORTCUT
      ShortcutWidgetContent object
      SHORTCUTICON  
      SHORTCUTLIST
      SHORTCUTLIST, SHORTCUTICON (both now SHORTCUT) decode to ShortcutWidgetContent object
      TITLE
      same as RichTextWidgetContent object
      WEBCONTENT
      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.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • 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 name
        java.lang.NullPointerException - if the argument is null