Class AntiDragPlugin
- java.lang.Object
-
- net.runelite.client.plugins.Plugin
-
- net.runelite.client.plugins.antidrag.AntiDragPlugin
-
- All Implemented Interfaces:
com.google.inject.Module
,KeyListener
,EventListener
,KeyListener
@PluginDescriptor(name="Anti Drag", description="Prevent dragging an item for a specified delay", tags={"antidrag","delay","inventory","items"}, enabledByDefault=false) public class AntiDragPlugin extends Plugin implements KeyListener
-
-
Constructor Summary
Constructors Constructor Description AntiDragPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
keyPressed(KeyEvent e)
void
keyReleased(KeyEvent e)
void
keyTyped(KeyEvent e)
void
onConfigChanged(ConfigChanged event)
void
onFocusChanged(FocusChanged focusChanged)
void
onWidgetLoaded(WidgetLoaded widgetLoaded)
protected void
shutDown()
protected void
startUp()
-
Methods inherited from class net.runelite.client.plugins.Plugin
configure, equals, getInjector, getName, hashCode, resetConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.runelite.client.input.KeyListener
focusLost, isEnabledOnLoginScreen
-
-
-
-
Method Detail
-
startUp
protected void startUp() throws Exception
-
shutDown
protected void shutDown() throws Exception
-
keyTyped
public void keyTyped(KeyEvent e)
- Specified by:
keyTyped
in interfaceKeyListener
-
keyPressed
public void keyPressed(KeyEvent e)
- Specified by:
keyPressed
in interfaceKeyListener
-
keyReleased
public void keyReleased(KeyEvent e)
- Specified by:
keyReleased
in interfaceKeyListener
-
onConfigChanged
@Subscribe public void onConfigChanged(ConfigChanged event)
-
onFocusChanged
@Subscribe public void onFocusChanged(FocusChanged focusChanged)
-
onWidgetLoaded
@Subscribe public void onWidgetLoaded(WidgetLoaded widgetLoaded)
-
-