Enum ListStyleType

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

public enum ListStyleType extends Enum<ListStyleType> implements ValueEnum
The style of list item marker for a list.
  • Enum Constant Details

    • DISC

      public static final ListStyleType DISC
      A filled, black dot (•)

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

    • CIRCLE

      public static final ListStyleType CIRCLE
      An unfilled circle (◦)

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

    • SQUARE

      public static final ListStyleType SQUARE
      A filled, black square (■)

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

    • DECIMAL

      public static final ListStyleType DECIMAL
      Numbers (1., 2., 3., etc.)

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

    • UPPER_ROMAN

      public static final ListStyleType UPPER_ROMAN
      Uppercase Roman numerals (I., II., III., IV., etc.)

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

    • LOWER_ROMAN

      public static final ListStyleType LOWER_ROMAN
      Lowercase Roman numerals (i., ii., iii., iv., etc.)

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

    • UPPER_ALPHA

      public static final ListStyleType UPPER_ALPHA
      Uppercase letters (A., B., C., etc.)

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

    • LOWER_ALPHA

      public static final ListStyleType LOWER_ALPHA
      Lowercase letters (a., b., c., etc.)

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

    • CUSTOM_IMAGE

      public static final ListStyleType CUSTOM_IMAGE
      An image used in place of a marker.

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

  • Method Details

    • values

      public static ListStyleType[] 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 ListStyleType 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