Interface BankTagsService
-
- All Known Implementing Classes:
BankTagsPlugin
public interface BankTagsServiceAPI for the bank tags plugin- See Also:
TagManager,TabManager,LayoutManager
-
-
Field Summary
Fields Modifier and Type Field Description static intOPTION_ALLOW_MODIFICATIONSBank tag is allowed to be modifiedstatic intOPTION_HIDE_TAG_NAMEOption to hide the tag name.static intOPTION_NO_LAYOUTOption to preventopenBankTag(String, int)from performing a layout
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcloseBankTag()Close the currently openBankTag.BankTaggetActiveBankTag()Get the currently openBankTagLayoutgetActiveLayout()Get the currently activeLayoutStringgetActiveTag()Get the currently active bank tagvoidopenBankTag(String tag, int options)Open the given bank tag.
-
-
-
Field Detail
-
OPTION_ALLOW_MODIFICATIONS
static final int OPTION_ALLOW_MODIFICATIONS
Bank tag is allowed to be modified- See Also:
- Constant Field Values
-
OPTION_HIDE_TAG_NAME
static final int OPTION_HIDE_TAG_NAME
Option to hide the tag name.- See Also:
- Constant Field Values
-
OPTION_NO_LAYOUT
static final int OPTION_NO_LAYOUT
Option to preventopenBankTag(String, int)from performing a layout- See Also:
- Constant Field Values
-
-
Method Detail
-
openBankTag
void openBankTag(String tag, int options)
Open 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.- Parameters:
tag- the tag nameoptions-- See Also:
OPTION_ALLOW_MODIFICATIONS,OPTION_HIDE_TAG_NAME
-
closeBankTag
void closeBankTag()
Close the currently openBankTag.
-
getActiveTag
@Nullable String getActiveTag()
Get the currently active bank tag- Returns:
-
-