Class ClientMouseOptionsSet
- java.lang.Object
-
- de.extio.spacecraft.shared.model.client.options.ClientMouseOptionsSet
-
public final class ClientMouseOptionsSet extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
BUTTON_LEFT
static int
BUTTON_NONE
static int
BUTTON_RIGHT
-
Constructor Summary
Constructors Constructor Description ClientMouseOptionsSet()
ClientMouseOptionsSet(int clickAction, int clickSelect, int clickDeselect, boolean deselectOnEmpty, boolean deselectOnEntityNoop, boolean deselectAfterAction)
ClientMouseOptionsSet(ClientMouseOptionsSet other)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static int
buttonFromEvent(int button)
boolean
equals(Object obj)
int
getClickAction()
int
getClickDeselect()
int
getClickSelect()
int
hashCode()
boolean
isDeselectAfterAction()
boolean
isDeselectOnEmpty()
boolean
isDeselectOnEntityNoop()
void
setClickAction(int clickAction)
void
setClickDeselect(int clickDeselect)
void
setClickSelect(int clickSelect)
void
setDeselectAfterAction(boolean deselectAfterAction)
void
setDeselectOnEmpty(boolean deselectOnEmpty)
void
setDeselectOnEntityNoop(boolean deselectOnEntityNoop)
-
-
-
Field Detail
-
BUTTON_NONE
public static final int BUTTON_NONE
- See Also:
- Constant Field Values
-
BUTTON_LEFT
public static final int BUTTON_LEFT
- See Also:
- Constant Field Values
-
BUTTON_RIGHT
public static final int BUTTON_RIGHT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ClientMouseOptionsSet
public ClientMouseOptionsSet()
-
ClientMouseOptionsSet
public ClientMouseOptionsSet(int clickAction, int clickSelect, int clickDeselect, boolean deselectOnEmpty, boolean deselectOnEntityNoop, boolean deselectAfterAction)
-
ClientMouseOptionsSet
public ClientMouseOptionsSet(ClientMouseOptionsSet other)
-
-
Method Detail
-
buttonFromEvent
public static int buttonFromEvent(int button)
-
getClickAction
public int getClickAction()
-
setClickAction
public void setClickAction(int clickAction)
-
getClickSelect
public int getClickSelect()
-
setClickSelect
public void setClickSelect(int clickSelect)
-
getClickDeselect
public int getClickDeselect()
-
setClickDeselect
public void setClickDeselect(int clickDeselect)
-
isDeselectOnEmpty
public boolean isDeselectOnEmpty()
-
setDeselectOnEmpty
public void setDeselectOnEmpty(boolean deselectOnEmpty)
-
isDeselectOnEntityNoop
public boolean isDeselectOnEntityNoop()
-
setDeselectOnEntityNoop
public void setDeselectOnEntityNoop(boolean deselectOnEntityNoop)
-
isDeselectAfterAction
public boolean isDeselectAfterAction()
-
setDeselectAfterAction
public void setDeselectAfterAction(boolean deselectAfterAction)
-
-