public interface ApplicationTab<T>
TabListener,
getApplication(),
ApplicationService.openApplication(ApplicationType, ApplicationTabConfiguration)| Modifier and Type | Method and Description |
|---|---|
void |
addTabListener(TabListener listener)
Adds the given
listener. |
void |
close()
Closes this tab.
|
T |
getApplication()
Returns the application inside this tab.
|
boolean |
isClosed()
Indicates whether this tab has been closed.
|
boolean |
isSelected()
Indicates whether this application tab is active / selected.
|
void |
removeTabListener(TabListener listener)
Removes the given
listener. |
void |
setAppearance(ApplicationTabAppearance appearance)
Change application tab appearance, like title and icon.
|
void |
setSelected()
Selects / Activates this application tab.
|
void addTabListener(@NotNull TabListener listener)
listener.listener - to add.void removeTabListener(@NotNull TabListener listener)
listener.listener - to remove.void close()
TabListener,
isClosed()boolean isClosed()
true if this tab has been closed, false otherwise.close()void setAppearance(ApplicationTabAppearance appearance)
appearance - the appearance this application tab should have.@NotNull T getApplication()
boolean isSelected()
true if this application tab is active / selected, false otherwisesetSelected(),
ApplicationService.isVisible()void setSelected()
isSelected(),
ApplicationService.setVisible(boolean)Copyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408