public interface MDIApplicationListener
| Modifier and Type | Method and Description | 
|---|---|
| default boolean | fireTabBeforeClosing(FileProperties prop)Fired before a tab is removed.Do nothing by default. | 
| default void | fireTabChanged(FileProperties prop)Fired when the currently selected Tab change. | 
| default void | fireTabRemoved(FileProperties prop)Fired when a tab is removed. | 
| default void | fireUpdateSelectedTab(FileProperties prop)Fired when the selected tab has changed. | 
default void fireTabChanged(FileProperties prop)
prop - the selected tab FilePropertiesfireUpdateSelectedTab(org.mdi.bootstrap.FileProperties)default boolean fireTabBeforeClosing(FileProperties prop)
prop - the FileProperties which is under the tab before it is removeddefault void fireTabRemoved(FileProperties prop)
prop - the FileProperties which is under the tab that was removeddefault void fireUpdateSelectedTab(FileProperties prop)
fireTabChanged(org.mdi.bootstrap.FileProperties) method because another
 selected tab will be set after removing a tab.
 For example, if you have two tabs:
 prop1prop2fireTabRemoved with prop2fireUpdateSelectedTab with prop1, because prop1 becomes the
 currently selected tabprop1fireTabRemoved with prop1fireUpdateSelectedTab with null, because there is no more selected
 tabprop - the FileProperties which is under the selected tabfireTabChanged(org.mdi.bootstrap.FileProperties)