public interface MDIApplicationListener
Modifier and Type | Method and Description |
---|---|
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 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:
prop1
prop2
fireTabRemoved
with prop2
fireUpdateSelectedTab
with prop1
, because prop1
becomes the
currently selected tabprop1
fireTabRemoved
with prop1
fireUpdateSelectedTab
with null
, because there is no more selected
tabprop
- the FileProperties which is under the selected tabfireTabChanged(org.mdi.bootstrap.FileProperties)