Enum Class WindowKind

java.lang.Object
java.lang.Enum<WindowKind>
io.meeds.appcenter.constant.WindowKind
All Implemented Interfaces:
Serializable, Comparable<WindowKind>, Constable

public enum WindowKind extends Enum<WindowKind>
Where a Shortcuts portlet window is placed, which decides the context of its setting and the marker its setting name carries.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    A window of a page.
    A window of a section-template draft page, which the section-template editor saves again, with new windows, each time it opens the template: edited by administrators only, in the platform context.
    A window of a shared layout, rendered on every page of the sites it serves: a site's own sharedlayout-<site>.xml, else the default sharedlayout.xml.
    A window of a site layout, rendered with every page its site shows, and, in the meta portal's layout, under every displayed site.
  • Method Summary

    Modifier and Type
    Method
    Description
    static WindowKind
    Returns the enum constant of this class with the specified name.
    static WindowKind[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • PAGE

      public static final WindowKind PAGE
      A window of a page.
    • SITE_LAYOUT

      public static final WindowKind SITE_LAYOUT
      A window of a site layout, rendered with every page its site shows, and, in the meta portal's layout, under every displayed site.
    • SHARED_LAYOUT

      public static final WindowKind SHARED_LAYOUT
      A window of a shared layout, rendered on every page of the sites it serves: a site's own sharedlayout-<site>.xml, else the default sharedlayout.xml. A configured shared layout gives its windows no storage id: the name of such a window must be configured, and is kept, and its setting records the shared-layout reference in place of a page.
    • SECTION_TEMPLATE_DRAFT

      public static final WindowKind SECTION_TEMPLATE_DRAFT
      A window of a section-template draft page, which the section-template editor saves again, with new windows, each time it opens the template: edited by administrators only, in the platform context.
  • Method Details

    • values

      public static WindowKind[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static WindowKind valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null