Interface BankTagsService
-
- All Known Implementing Classes:
BankTagsPlugin
public interface BankTagsService
API for the bank tags plugin- See Also:
TagManager
,TabManager
,LayoutManager
-
-
Field Summary
Fields Modifier and Type Field Description static int
OPTION_ALLOW_MODIFICATIONS
Bank tag is allowed to be modifiedstatic int
OPTION_HIDE_TAG_NAME
Option to hide the tag name.static int
OPTION_NO_LAYOUT
Option to preventopenBankTag(String, int)
from performing a layout
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
closeBankTag()
Close the currently openBankTag
.BankTag
getActiveBankTag()
Get the currently openBankTag
Layout
getActiveLayout()
Get the currently activeLayout
String
getActiveTag()
Get the currently active bank tagvoid
openBankTag(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:
-
-