Package journeymap.api.v2.client.option
Class BooleanOption
-
Field Summary
Fields inherited from class journeymap.api.v2.client.option.Option
config, defaultValue -
Constructor Summary
ConstructorsConstructorDescriptionBooleanOption(OptionCategory category, String fieldName, String label, Boolean defaultValue) Boolean - creates a checkbox For tooltips, your i18n key plus .tooltip in your language json example mod.option.label and mod.option.label.tooltipBooleanOption(OptionCategory category, String fieldName, String label, Boolean defaultValue, Boolean isMaster) Boolean - creates a checkbox For tooltips, your i18n key plus .tooltip in your language json example mod.option.label and mod.option.label.tooltip -
Method Summary
Methods inherited from class journeymap.api.v2.client.option.Option
get, getCategory, getDefaultValue, getFieldName, getLabel, getSortOrder, set, setSortOrder
-
Constructor Details
-
BooleanOption
Boolean - creates a checkbox For tooltips, your i18n key plus .tooltip in your language json example mod.option.label and mod.option.label.tooltip- Parameters:
category- - The category;fieldName- - The fieldName;label- - The label, can be the display string or i18n key.defaultValue- - The default value
-
BooleanOption
public BooleanOption(OptionCategory category, String fieldName, String label, Boolean defaultValue, Boolean isMaster) Boolean - creates a checkbox For tooltips, your i18n key plus .tooltip in your language json example mod.option.label and mod.option.label.tooltip- Parameters:
category- - The category;fieldName- - The fieldName;label- - The label, can be the display string or i18n key.defaultValue- - The default valueisMaster- - Makes this value first in the last, and if disabled the whole category is disabled.
-
-
Method Details
-
isMaster
-