Enum FormMode

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<FormMode>

    public enum FormMode
    extends java.lang.Enum<FormMode>
    Modes for IntelligentFormView.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static FormMode valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static FormMode[] 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

      • QUERY

        public static final FormMode QUERY
        Query mode.
      • INDEX

        public static final FormMode INDEX
        Index mode. Adds new items.
      • EMBEDDED_INDEX

        public static final FormMode EMBEDDED_INDEX
        Embedded index mode. Edits an item.
      • FOLDER_QUERY

        public static final FormMode FOLDER_QUERY
        Folder query mode.
      • FOLDER_INDEX

        public static final FormMode FOLDER_INDEX
        Folder index mode.
      • LOOKUP_INDEX

        public static final FormMode LOOKUP_INDEX
        Lookup index mode.
      • FILE_PREVIEW

        public static final FormMode FILE_PREVIEW
        Preview mode for files.
      • INDEX_POPUP

        public static final FormMode INDEX_POPUP
        Index mode without upload area.
      • INDEX_POPUP_READONLY

        public static final FormMode INDEX_POPUP_READONLY
        Readonly index popup.
      • OUTLINER_APP_QUERY

        public static final FormMode OUTLINER_APP_QUERY
        Query for an outliner-application node.
      • LOOKUP_POPUP_QUERY

        public static final FormMode LOOKUP_POPUP_QUERY
        Mode for the query form of an AdvancedLookupField.
    • Method Detail

      • values

        public static FormMode[] 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 (FormMode c : FormMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static FormMode 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