public static class ViewInputAttributes.ActionAttributes extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ViewInputAttributes.ActionAttributes.ActionTrigger |
static class |
ViewInputAttributes.ActionAttributes.KeyAction |
static class |
ViewInputAttributes.ActionAttributes.MouseAction |
Modifier and Type | Field and Description |
---|---|
static int |
NO_MODIFIER |
Constructor and Description |
---|
ActionAttributes(double minValue,
double maxValue,
boolean enableSmoothing,
double smoothingValue) |
ActionAttributes(ViewInputAttributes.ActionAttributes.KeyAction[] keyActions,
ViewInputAttributes.ActionAttributes.ActionTrigger trigger,
int modifier,
double minValue,
double maxValue,
boolean enableSmoothing,
double smoothingValue) |
ActionAttributes(ViewInputAttributes.ActionAttributes.MouseAction[] mouseActions,
ViewInputAttributes.ActionAttributes.ActionTrigger trigger,
double minValue,
double maxValue,
boolean enableSmoothing,
double smoothingValue) |
ActionAttributes(ViewInputAttributes.ActionAttributes attributes) |
public static final int NO_MODIFIER
public ActionAttributes(double minValue, double maxValue, boolean enableSmoothing, double smoothingValue)
public ActionAttributes(ViewInputAttributes.ActionAttributes.KeyAction[] keyActions, ViewInputAttributes.ActionAttributes.ActionTrigger trigger, int modifier, double minValue, double maxValue, boolean enableSmoothing, double smoothingValue)
public ActionAttributes(ViewInputAttributes.ActionAttributes.MouseAction[] mouseActions, ViewInputAttributes.ActionAttributes.ActionTrigger trigger, double minValue, double maxValue, boolean enableSmoothing, double smoothingValue)
public ActionAttributes(ViewInputAttributes.ActionAttributes attributes)
public static ViewInputAttributes.ActionAttributes.MouseAction createMouseActionAttribute(int mouseButton)
public KeyInputActionHandler getActionListener()
public ViewInputAttributes.ActionAttributes.ActionTrigger getActionTrigger()
public List getKeyActions()
public int getKeyCodeModifier()
public MouseInputActionHandler getMouseActionListener()
public List getMouseActions()
public double getSmoothingValue()
public double[] getValues()
public boolean isEnableSmoothing()
public void setActionListener(KeyInputActionHandler actionListener)
public void setActionTrigger(ViewInputAttributes.ActionAttributes.ActionTrigger actionTrigger)
public void setEnableSmoothing(boolean enable)
public void setKeyActions(List keyActions)
public void setKeyActions(ViewInputAttributes.ActionAttributes.KeyAction[] keyActions)
public void setKeyCodeModifier(int modifier)
public void setMouseActionListener(MouseInputActionHandler mouseActionListener)
public void setMouseActions(List mouseActions)
public void setMouseActions(ViewInputAttributes.ActionAttributes.MouseAction[] mouseActions)
public void setSmoothingValue(double smoothingValue)
public void setValue(double value)
public void setValues(double minValue, double maxValue)