|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface ApplicationTab<T>
Controls the application tab: close
it or add TabListener to be notified on tab focus changes.
Attention: This part of the API isn't released yet and may change during the ramp up time. It will be released with 4.2 Release 4.
TabListener,
ApplicationTab.getApplication(),
ApplicationService.openApplication(ApplicationType, ApplicationTabConfiguration)| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
void addTabListener(@NotNull
TabListener listener)
listener.
listener - to add.
void removeTabListener(@NotNull
TabListener listener)
listener.
listener - to remove.void close()
TabListener,
ApplicationTab.isClosed()boolean isClosed()
true if this tab has been closed, false otherwise.ApplicationTab.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 otherwiseApplicationTab.setSelected(),
ApplicationService.isVisible()void setSelected()
ApplicationTab.isSelected(),
ApplicationService.setVisible(boolean)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||