public interface Option extends Comparable<Option>, Label
Note: Implementations must override equals() based on the textual key to operate correctly.
ComboboxEditorValue
,
CheckboxEditorValue
,
ListEditorValue
,
RadiobuttonEditorValue
Modifier and Type | Method and Description |
---|---|
String |
getKey()
Get a textual key of this option.
|
Object |
getValue()
Get the value of this option.
|
boolean |
ignore(Language language)
Indicates whether this
Option should be ignored and therefore hidden in the gui
for the provided language. |
compareTo
@ApiDoc(comment="Get the value of this option.", since="4.0.17") Object getValue()
@ApiDoc(comment="Get a textual key of this option.", since="4.0.17") String getKey()
@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 Language language)
Option
should be ignored and therefore hidden in the gui
for the provided language.language
- the language to check the ignore flag against.true
if this Option
should be ignored for the given language, false
otherwise.Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210