Interface ApplicationTab<T>
public interface ApplicationTab<T>
- Since:
- 4.2.416
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddTabListener(@NotNull TabListener listener) Adds the givenlistener.voidclose()Closes this tab.Returns the application inside this tab.booleanisClosed()Indicates whether this tab has been closed.booleanIndicates whether this application tab is active / selected.voidremoveTabListener(@NotNull TabListener listener) Removes the givenlistener.voidsetAppearance(ApplicationTabAppearance appearance) Change application tab appearance, like title and icon.voidSelects / Activates this application tab.
-
Method Details
-
addTabListener
Adds the givenlistener.- Parameters:
listener- to add.- Since:
- 4.2.416
-
removeTabListener
Removes the givenlistener.- Parameters:
listener- to remove.- Since:
- 4.2.416
-
close
void close()Closes this tab.- Since:
- 4.2.416
- See Also:
-
isClosed
boolean isClosed()Indicates whether this tab has been closed.- Returns:
trueif this tab has been closed,falseotherwise.- Since:
- 4.2.416
- See Also:
-
setAppearance
Change application tab appearance, like title and icon.- Parameters:
appearance- the appearance this application tab should have.- Since:
- 4.2.416
-
getApplication
Returns the application inside this tab.- Returns:
- tab application.
- Since:
- 4.2.416
-
isSelected
boolean isSelected()Indicates whether this application tab is active / selected.- Returns:
trueif this application tab is active / selected,falseotherwise- Since:
- 4.2.416
- See Also:
-
setSelected
void setSelected()Selects / Activates this application tab.- Since:
- 4.2.416
- See Also:
-