NASA World Wind

gov.nasa.worldwind.awt
Class ViewInputAttributes.ActionAttributes

java.lang.Object
  extended by gov.nasa.worldwind.awt.ViewInputAttributes.ActionAttributes
Enclosing class:
ViewInputAttributes

public static class ViewInputAttributes.ActionAttributes
extends Object


Nested Class Summary
static class ViewInputAttributes.ActionAttributes.ActionTrigger
           
static class ViewInputAttributes.ActionAttributes.KeyAction
           
static class ViewInputAttributes.ActionAttributes.MouseAction
           
 
Field Summary
static int NO_MODIFIER
           
 
Constructor Summary
ViewInputAttributes.ActionAttributes(double minValue, double maxValue, boolean enableSmoothing, double smoothingValue)
           
ViewInputAttributes.ActionAttributes(ViewInputAttributes.ActionAttributes.KeyAction[] keyActions, ViewInputAttributes.ActionAttributes.ActionTrigger trigger, int modifier, double minValue, double maxValue, boolean enableSmoothing, double smoothingValue)
           
ViewInputAttributes.ActionAttributes(ViewInputAttributes.ActionAttributes.MouseAction[] mouseActions, ViewInputAttributes.ActionAttributes.ActionTrigger trigger, double minValue, double maxValue, boolean enableSmoothing, double smoothingValue)
           
ViewInputAttributes.ActionAttributes(ViewInputAttributes.ActionAttributes attributes)
           
 
Method Summary
static ViewInputAttributes.ActionAttributes.MouseAction createMouseActionAttribute(int mouseButton)
           
 KeyInputActionHandler getActionListener()
           
 ViewInputAttributes.ActionAttributes.ActionTrigger getActionTrigger()
           
 List getKeyActions()
           
 int getKeyCodeModifier()
           
 MouseInputActionHandler getMouseActionListener()
           
 List getMouseActions()
           
 double getSmoothingValue()
           
 double[] getValues()
           
 boolean isEnableSmoothing()
           
 void setActionListener(KeyInputActionHandler actionListener)
           
 void setActionTrigger(ViewInputAttributes.ActionAttributes.ActionTrigger actionTrigger)
           
 void setEnableSmoothing(boolean enable)
           
 void setKeyActions(List keyActions)
           
 void setKeyActions(ViewInputAttributes.ActionAttributes.KeyAction[] keyActions)
           
 void setKeyCodeModifier(int modifier)
           
 void setMouseActionListener(MouseInputActionHandler mouseActionListener)
           
 void setMouseActions(List mouseActions)
           
 void setMouseActions(ViewInputAttributes.ActionAttributes.MouseAction[] mouseActions)
           
 void setSmoothingValue(double smoothingValue)
           
 void setValue(double value)
           
 void setValues(double minValue, double maxValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_MODIFIER

public static final int NO_MODIFIER
See Also:
Constant Field Values
Constructor Detail

ViewInputAttributes.ActionAttributes

public ViewInputAttributes.ActionAttributes(double minValue,
                                            double maxValue,
                                            boolean enableSmoothing,
                                            double smoothingValue)

ViewInputAttributes.ActionAttributes

public ViewInputAttributes.ActionAttributes(ViewInputAttributes.ActionAttributes.KeyAction[] keyActions,
                                            ViewInputAttributes.ActionAttributes.ActionTrigger trigger,
                                            int modifier,
                                            double minValue,
                                            double maxValue,
                                            boolean enableSmoothing,
                                            double smoothingValue)

ViewInputAttributes.ActionAttributes

public ViewInputAttributes.ActionAttributes(ViewInputAttributes.ActionAttributes.MouseAction[] mouseActions,
                                            ViewInputAttributes.ActionAttributes.ActionTrigger trigger,
                                            double minValue,
                                            double maxValue,
                                            boolean enableSmoothing,
                                            double smoothingValue)

ViewInputAttributes.ActionAttributes

public ViewInputAttributes.ActionAttributes(ViewInputAttributes.ActionAttributes attributes)
Method Detail

createMouseActionAttribute

public static ViewInputAttributes.ActionAttributes.MouseAction createMouseActionAttribute(int mouseButton)

getActionListener

public KeyInputActionHandler getActionListener()

getActionTrigger

public ViewInputAttributes.ActionAttributes.ActionTrigger getActionTrigger()

getKeyActions

public List getKeyActions()

getKeyCodeModifier

public int getKeyCodeModifier()

getMouseActionListener

public MouseInputActionHandler getMouseActionListener()

getMouseActions

public List getMouseActions()

getSmoothingValue

public double getSmoothingValue()

getValues

public double[] getValues()

isEnableSmoothing

public boolean isEnableSmoothing()

setActionListener

public void setActionListener(KeyInputActionHandler actionListener)

setActionTrigger

public void setActionTrigger(ViewInputAttributes.ActionAttributes.ActionTrigger actionTrigger)

setEnableSmoothing

public void setEnableSmoothing(boolean enable)

setKeyActions

public void setKeyActions(List keyActions)

setKeyActions

public void setKeyActions(ViewInputAttributes.ActionAttributes.KeyAction[] keyActions)

setKeyCodeModifier

public void setKeyCodeModifier(int modifier)

setMouseActionListener

public void setMouseActionListener(MouseInputActionHandler mouseActionListener)

setMouseActions

public void setMouseActions(List mouseActions)

setMouseActions

public void setMouseActions(ViewInputAttributes.ActionAttributes.MouseAction[] mouseActions)

setSmoothingValue

public void setSmoothingValue(double smoothingValue)

setValue

public void setValue(double value)

setValues

public void setValues(double minValue,
                      double maxValue)

NASA World Wind