|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Option
Option is the persistence object for editors like ComboBox
,
CheckBox
, ListEditor
ComboboxEditorValue
,
CheckboxEditorValue
,
ListEditorValue
Method Summary | |
---|---|
String |
getKey()
Get a textual key of this options. |
Object |
getValue()
Get the value of this option. |
boolean |
ignore(Language language)
Indicates whether this Option should be ignored and therefore hide in the gui
for the given language. |
boolean |
ignore(String lang)
Deprecated. since 4.2.34, use Option.ignore(de.espirit.firstspirit.access.Language) instead |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Methods inherited from interface de.espirit.firstspirit.access.editor.value.Label |
---|
getLabel, getLabel, putLabel, putLabel |
Method Detail |
---|
Object getValue()
String getKey()
@Deprecated boolean ignore(String lang)
Option.ignore(de.espirit.firstspirit.access.Language)
instead
Option.ignore(de.espirit.firstspirit.access.Language)
instead
boolean ignore(@NotNull Language language)
Option
should be ignored and therefore hide in the gui
for the given language.
language
- the language to check the ignore flag against
true
if this Option
should be ignored for the given language, false
otherwise
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |