Package io.meeds.appcenter.constant
Enum Class WindowKind
- All Implemented Interfaces:
Serializable,Comparable<WindowKind>,Constable
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 ConstantsEnum ConstantDescriptionA 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 TypeMethodDescriptionstatic WindowKindReturns the enum constant of this class with the specified name.static WindowKind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PAGE
A window of a page. -
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
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
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
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
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 nameNullPointerException- if the argument is null
-