Class ScreenMarkerPlugin
- java.lang.Object
-
- net.runelite.client.plugins.Plugin
-
- net.runelite.client.plugins.screenmarkers.ScreenMarkerPlugin
-
- All Implemented Interfaces:
com.google.inject.Module
@PluginDescriptor(name="Screen Markers", description="Enable drawing of screen markers on top of the client", tags={"boxes","overlay","panel"}) public class ScreenMarkerPlugin extends Plugin
-
-
Constructor Summary
Constructors Constructor Description ScreenMarkerPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
completeSelection()
void
deleteMarker(ScreenMarkerOverlay marker)
void
finishCreation(boolean aborted)
ColorPickerManager
getColorPickerManager()
List<ScreenMarkerOverlay>
getScreenMarkers()
Rectangle
getSelectedWidgetBounds()
boolean
isCreatingScreenMarker()
boolean
isDrawingScreenMarker()
void
onProfileChanged(ProfileChanged profileChanged)
void
setCreatingScreenMarker(boolean creatingScreenMarker)
void
setMouseListenerEnabled(boolean enabled)
void
setSelectedWidgetBounds(Rectangle selectedWidgetBounds)
protected void
shutDown()
void
startCreation(Point location)
void
startCreation(Point location, Dimension size)
protected void
startUp()
void
updateConfig()
-
Methods inherited from class net.runelite.client.plugins.Plugin
configure, equals, getInjector, getName, hashCode, resetConfiguration
-
-
-
-
Method Detail
-
startUp
protected void startUp() throws Exception
-
shutDown
protected void shutDown() throws Exception
-
onProfileChanged
@Subscribe public void onProfileChanged(ProfileChanged profileChanged)
-
setMouseListenerEnabled
public void setMouseListenerEnabled(boolean enabled)
-
startCreation
public void startCreation(Point location)
-
finishCreation
public void finishCreation(boolean aborted)
-
completeSelection
public void completeSelection()
-
deleteMarker
public void deleteMarker(ScreenMarkerOverlay marker)
-
updateConfig
public void updateConfig()
-
getScreenMarkers
public List<ScreenMarkerOverlay> getScreenMarkers()
-
getColorPickerManager
public ColorPickerManager getColorPickerManager()
-
isCreatingScreenMarker
public boolean isCreatingScreenMarker()
-
setCreatingScreenMarker
public void setCreatingScreenMarker(boolean creatingScreenMarker)
-
isDrawingScreenMarker
public boolean isDrawingScreenMarker()
-
getSelectedWidgetBounds
public Rectangle getSelectedWidgetBounds()
-
setSelectedWidgetBounds
public void setSelectedWidgetBounds(Rectangle selectedWidgetBounds)
-
-