Enum ExportDisplay

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

public enum ExportDisplay extends Enum<ExportDisplay> implements ValueEnum
Method to use for displaying the exported data.
  • Enum Constant Details

    • DOWNLOAD

      public static final ExportDisplay DOWNLOAD
      Show the Save As dialog and download the file

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

    • WINDOW

      public static final ExportDisplay WINDOW
      Show the data in a new browser window

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

    • RETURN

      public static final ExportDisplay RETURN
      Return the data for further programmatic processing in the browser

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

  • Method Details

    • values

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