Interface ApplicationTab<T>
public interface ApplicationTab<T>
- Since:
- 4.2.416
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addTabListener
(@NotNull TabListener listener) Adds the givenlistener
.void
close()
Closes this tab.Returns the application inside this tab.boolean
isClosed()
Indicates whether this tab has been closed.boolean
Indicates whether this application tab is active / selected.void
removeTabListener
(@NotNull TabListener listener) Removes the givenlistener
.void
setAppearance
(ApplicationTabAppearance appearance) Change application tab appearance, like title and icon.void
Selects / 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:
true
if this tab has been closed,false
otherwise.- 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:
true
if this application tab is active / selected,false
otherwise- Since:
- 4.2.416
- See Also:
-
setSelected
void setSelected()Selects / Activates this application tab.- Since:
- 4.2.416
- See Also:
-