Class PickupOption
java.lang.Object
com.realtime.crossfire.jxclient.settings.options.Option
com.realtime.crossfire.jxclient.settings.options.CheckBoxOption
com.realtime.crossfire.jxclient.settings.options.PickupOption
- Direct Known Subclasses:
PickupOptionNewMode,PickupOptionOldMode
An option that affects the pickup mode.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPickupOption(@NotNull String tooltipText) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionabstract voidsetPickupMode(long pickupMode) Notifies this instance that the pickup mode has changed.Methods inherited from class com.realtime.crossfire.jxclient.settings.options.CheckBoxOption
execute, fireStateChangedEvent, getTooltipText, isChecked, isDefaultChecked, setChecked, toggleCheckedMethods inherited from class com.realtime.crossfire.jxclient.settings.options.Option
addOptionListener, inhibitSave, removeOptionListener
-
Constructor Details
-
PickupOption
Creates a new instance.- Parameters:
tooltipText- the tooltip text to explain this option
-
-
Method Details
-
setPickupMode
public abstract void setPickupMode(long pickupMode) Notifies this instance that the pickup mode has changed.- Parameters:
pickupMode- the new pickup mode
-