Package io.guise.framework.component
Enum SectionComponent.SectionType
- java.lang.Object
-
- java.lang.Enum<SectionComponent.SectionType>
-
- io.guise.framework.component.SectionComponent.SectionType
-
- All Implemented Interfaces:
com.globalmentor.lex.Identifier
,com.globalmentor.lex.Token
,java.io.Serializable
,java.lang.Comparable<SectionComponent.SectionType>
- Enclosing interface:
- SectionComponent
public static enum SectionComponent.SectionType extends java.lang.Enum<SectionComponent.SectionType> implements com.globalmentor.lex.Identifier
The type of section.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARTICLE
The main section of a self-contained article appropriate for syndication.ASIDE
Content tangentially related to the surrounding content.FOOTER
A footer of a larger section.HEADER
A header of a larger section.NAVIGATION
A separate text area for navigation.SECTION
A section of a larger piece, such as an article.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SectionComponent.SectionType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SectionComponent.SectionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ARTICLE
public static final SectionComponent.SectionType ARTICLE
The main section of a self-contained article appropriate for syndication.
-
ASIDE
public static final SectionComponent.SectionType ASIDE
Content tangentially related to the surrounding content.
-
FOOTER
public static final SectionComponent.SectionType FOOTER
A footer of a larger section.
-
HEADER
public static final SectionComponent.SectionType HEADER
A header of a larger section.
-
NAVIGATION
public static final SectionComponent.SectionType NAVIGATION
A separate text area for navigation.
-
SECTION
public static final SectionComponent.SectionType SECTION
A section of a larger piece, such as an article.
-
-
Method Detail
-
values
public static SectionComponent.SectionType[] 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 (SectionComponent.SectionType c : SectionComponent.SectionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SectionComponent.SectionType 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 namejava.lang.NullPointerException
- if the argument is null
-
-