Enum FrontODFSearch.DisplaySubprogramMode
- java.lang.Object
-
- java.lang.Enum<FrontODFSearch.DisplaySubprogramMode>
-
- org.ametys.plugins.odfweb.program.FrontODFSearch.DisplaySubprogramMode
-
- All Implemented Interfaces:
Serializable
,Comparable<FrontODFSearch.DisplaySubprogramMode>
- Enclosing class:
- FrontODFSearch
public static enum FrontODFSearch.DisplaySubprogramMode extends Enum<FrontODFSearch.DisplaySubprogramMode>
Enumeration for display subprogram mode
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
Display all subprogramsALL_WITH_HIGHLIGHT
Display all subprograms with highlighting those which match the search criteriaMATCHING_SEARCH_ONLY
Display matching subprograms onlyNONE
Display no subprogram
-
Constructor Summary
Constructors Modifier Constructor Description private
DisplaySubprogramMode()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FrontODFSearch.DisplaySubprogramMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static FrontODFSearch.DisplaySubprogramMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final FrontODFSearch.DisplaySubprogramMode NONE
Display no subprogram
-
ALL
public static final FrontODFSearch.DisplaySubprogramMode ALL
Display all subprograms
-
ALL_WITH_HIGHLIGHT
public static final FrontODFSearch.DisplaySubprogramMode ALL_WITH_HIGHLIGHT
Display all subprograms with highlighting those which match the search criteria
-
MATCHING_SEARCH_ONLY
public static final FrontODFSearch.DisplaySubprogramMode MATCHING_SEARCH_ONLY
Display matching subprograms only
-
-
Constructor Detail
-
DisplaySubprogramMode
private DisplaySubprogramMode()
-
-
Method Detail
-
values
public static FrontODFSearch.DisplaySubprogramMode[] 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 (FrontODFSearch.DisplaySubprogramMode c : FrontODFSearch.DisplaySubprogramMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FrontODFSearch.DisplaySubprogramMode 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 nameNullPointerException
- if the argument is null
-
-