org.jplot2d.interaction
Class PlotDefaultMousePreference
- java.lang.Object
-
- org.jplot2d.interaction.PlotDefaultMousePreference
-
- All Implemented Interfaces:
- MousePreference
public class PlotDefaultMousePreference extends java.lang.Object implements MousePreference
provide the default mouse preference.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description MouseBehavior[]getBehaviorsInMode(InteractionMode mode)java.lang.IntegergetClickThreshold()static PlotDefaultMousePreferencegetInstance()InteractionMode[]getModes()MouseButtonCombinationEnablitygetMouseButtonCombinationEnablity(InteractionMode mode, MouseBehavior behavior)Returns the MouseButtonCombinationEnablity for the given behavior in the mode.
-
-
-
Method Detail
-
getInstance
public static PlotDefaultMousePreference getInstance()
-
getClickThreshold
public java.lang.Integer getClickThreshold()
- Specified by:
getClickThresholdin interfaceMousePreference
-
getModes
public InteractionMode[] getModes()
- Specified by:
getModesin interfaceMousePreference
-
getBehaviorsInMode
public MouseBehavior[] getBehaviorsInMode(InteractionMode mode)
- Specified by:
getBehaviorsInModein interfaceMousePreference
-
getMouseButtonCombinationEnablity
public MouseButtonCombinationEnablity getMouseButtonCombinationEnablity(InteractionMode mode, MouseBehavior behavior)
Description copied from interface:MousePreferenceReturns the MouseButtonCombinationEnablity for the given behavior in the mode.- Specified by:
getMouseButtonCombinationEnablityin interfaceMousePreference- Returns:
-
-
DMelt 3.0 © DataMelt by jWork.ORG