public class MouseDispatcher extends Object implements ActionListener, ConfigurationChangeListener
MouseDispatcherListener
.T-Plan Robot Enterprise, (C) 2009-2022 T-Plan Limited. All rights reserved.
Constructor and Description |
---|
MouseDispatcher(MouseDispatcherListener owner) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent ae) |
void |
addMouseEvent(MouseEvent mwe) |
void |
configurationChanged(ConfigurationChangeEvent evt)
This method gets called when a configuration parameter is changed.
|
int |
getLongClickThreshold() |
int |
getMultiClickThreshold() |
void |
setLongClickThreshold(int longClickThreshold) |
void |
setMultiClickThreshold(int eventTimeoutMillis) |
void |
setPreferenceNames(String multiClickPreferenceName,
String longClickThresholdPreferenceName) |
public MouseDispatcher(MouseDispatcherListener owner)
public void addMouseEvent(MouseEvent mwe)
public void actionPerformed(ActionEvent ae)
actionPerformed
in interface ActionListener
public int getMultiClickThreshold()
public void setMultiClickThreshold(int eventTimeoutMillis)
public void setPreferenceNames(String multiClickPreferenceName, String longClickThresholdPreferenceName)
public int getLongClickThreshold()
public void setLongClickThreshold(int longClickThreshold)
public void configurationChanged(ConfigurationChangeEvent evt)
ConfigurationChangeListener
configurationChanged
in interface ConfigurationChangeListener
evt
- A ConfigurationChangeEvent object describing the event source
and the parameter that has changed.