Interface Option
- All Superinterfaces:
Comparable<Option>,Label
Option is the persistence object for option based editors.
Note: Implementations must override equals() based on the textual key to operate correctly.
- Since:
- 4.0.17
- See Also:
-
Method Summary
Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getValue
Get the value of this option.- Returns:
- The option's value.
- Since:
- 4.0.17
-
getKey
Get a textual key of this option.- Returns:
- The option's key.
- Since:
- 4.0.17
-
ignore
@ApiDoc(comment="Indicates whether this Option should be ignored and therefore hidden in the gui for the provided language.", since="4.2.34") boolean ignore(@NotNull @NotNull Language language) Indicates whether thisOptionshould be ignored and therefore hidden in the gui for the provided language.- Parameters:
language- the language to check the ignore flag against.- Returns:
trueif thisOptionshould be ignored for the given language,falseotherwise.- Since:
- 4.2.34
-