Class BankTagsPlugin
- java.lang.Object
-
- net.runelite.client.plugins.Plugin
-
- net.runelite.client.plugins.banktags.BankTagsPlugin
-
- All Implemented Interfaces:
com.google.inject.Module,BankTagsService
@PluginDescriptor(name="Bank Tags", description="Enable tagging of bank items and searching of bank tags", tags={"searching","tagging"}) public class BankTagsPlugin extends Plugin implements BankTagsService
-
-
Field Summary
Fields Modifier and Type Field Description static intBANK_ITEM_HEIGHTstatic intBANK_ITEM_START_Xstatic intBANK_ITEM_START_Ystatic intBANK_ITEM_WIDTHstatic intBANK_ITEM_X_PADDINGstatic intBANK_ITEM_Y_PADDINGstatic intBANK_ITEMS_PER_ROWstatic StringCONFIG_GROUPstatic StringTAG_ICON_PREFIXstatic StringTAG_LAYOUT_PREFIXstatic StringTAG_SEARCHstatic StringTAG_TABS_CONFIGstatic StringVAR_TAG_SUFFIX-
Fields inherited from interface net.runelite.client.plugins.banktags.BankTagsService
OPTION_ALLOW_MODIFICATIONS, OPTION_HIDE_TAG_NAME, OPTION_NO_LAYOUT
-
-
Constructor Summary
Constructors Constructor Description BankTagsPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcloseBankTag()Close the currently openBankTag.voidconfigure(com.google.inject.Binder binder)BankTaggetActiveBankTag()Get the currently openBankTagLayoutgetActiveLayout()Get the currently activeLayoutStringgetActiveTag()Get the currently active bank tagintgetOptions()voidonConfigChanged(ConfigChanged configChanged)voidonGrandExchangeSearched(net.runelite.api.events.GrandExchangeSearched event)voidonMenuEntryAdded(net.runelite.api.events.MenuEntryAdded event)voidonScriptCallbackEvent(net.runelite.api.events.ScriptCallbackEvent event)voidopenBankTag(String name)voidopenBankTag(String name, int options)Open the given bank tag.voidopenTag(String tag, Layout layout)voidopenTag(String tag, Layout layout, int options)voidresetConfiguration()voidshutDown()voidstartUp()-
Methods inherited from class net.runelite.client.plugins.Plugin
equals, getInjector, getName, hashCode
-
-
-
-
Field Detail
-
CONFIG_GROUP
public static final String CONFIG_GROUP
- See Also:
- Constant Field Values
-
TAG_ICON_PREFIX
public static final String TAG_ICON_PREFIX
- See Also:
- Constant Field Values
-
TAG_TABS_CONFIG
public static final String TAG_TABS_CONFIG
- See Also:
- Constant Field Values
-
TAG_LAYOUT_PREFIX
public static final String TAG_LAYOUT_PREFIX
- See Also:
- Constant Field Values
-
TAG_SEARCH
public static final String TAG_SEARCH
- See Also:
- Constant Field Values
-
VAR_TAG_SUFFIX
public static final String VAR_TAG_SUFFIX
- See Also:
- Constant Field Values
-
BANK_ITEM_WIDTH
public static final int BANK_ITEM_WIDTH
- See Also:
- Constant Field Values
-
BANK_ITEM_HEIGHT
public static final int BANK_ITEM_HEIGHT
- See Also:
- Constant Field Values
-
BANK_ITEM_X_PADDING
public static final int BANK_ITEM_X_PADDING
- See Also:
- Constant Field Values
-
BANK_ITEM_Y_PADDING
public static final int BANK_ITEM_Y_PADDING
- See Also:
- Constant Field Values
-
BANK_ITEMS_PER_ROW
public static final int BANK_ITEMS_PER_ROW
- See Also:
- Constant Field Values
-
BANK_ITEM_START_X
public static final int BANK_ITEM_START_X
- See Also:
- Constant Field Values
-
BANK_ITEM_START_Y
public static final int BANK_ITEM_START_Y
- See Also:
- Constant Field Values
-
-
Method Detail
-
configure
public void configure(com.google.inject.Binder binder)
-
resetConfiguration
public void resetConfiguration()
- Overrides:
resetConfigurationin classPlugin
-
onGrandExchangeSearched
@Subscribe public void onGrandExchangeSearched(net.runelite.api.events.GrandExchangeSearched event)
-
onScriptCallbackEvent
@Subscribe public void onScriptCallbackEvent(net.runelite.api.events.ScriptCallbackEvent event)
-
onMenuEntryAdded
@Subscribe public void onMenuEntryAdded(net.runelite.api.events.MenuEntryAdded event)
-
onConfigChanged
@Subscribe public void onConfigChanged(ConfigChanged configChanged)
-
openBankTag
public void openBankTag(String name)
-
openBankTag
public void openBankTag(String name, int options)
Description copied from interface:BankTagsServiceOpen the given bank tag. The tag may have an associatedTagTab, but this isn't required. If the tag has an associatedLayout, the layout will be applied.- Specified by:
openBankTagin interfaceBankTagsService- Parameters:
name- the tag name- See Also:
BankTagsService.OPTION_ALLOW_MODIFICATIONS,BankTagsService.OPTION_HIDE_TAG_NAME
-
closeBankTag
public void closeBankTag()
Description copied from interface:BankTagsServiceClose the currently openBankTag.- Specified by:
closeBankTagin interfaceBankTagsService
-
getActiveTag
public String getActiveTag()
Description copied from interface:BankTagsServiceGet the currently active bank tag- Specified by:
getActiveTagin interfaceBankTagsService- Returns:
-
getActiveBankTag
public BankTag getActiveBankTag()
Description copied from interface:BankTagsServiceGet the currently openBankTag- Specified by:
getActiveBankTagin interfaceBankTagsService- Returns:
-
getActiveLayout
public Layout getActiveLayout()
Description copied from interface:BankTagsServiceGet the currently activeLayout- Specified by:
getActiveLayoutin interfaceBankTagsService- Returns:
-
getOptions
public int getOptions()
-
-