Package com.biglybt.ui.swt.mdi
Interface TabbedMdiInterface
-
- All Superinterfaces:
MultipleDocumentInterface
,MultipleDocumentInterfaceSWT
- All Known Implementing Classes:
TabbedMDI
public interface TabbedMdiInterface extends MultipleDocumentInterfaceSWT
az2 access to someTabbedMdi
methods
-
-
Field Summary
-
Fields inherited from interface com.biglybt.ui.mdi.MultipleDocumentInterface
SIDEBAR_HEADER_DASHBOARD, SIDEBAR_HEADER_DEVICES, SIDEBAR_HEADER_DISCOVERY, SIDEBAR_HEADER_ORDER_DEFAULT, SIDEBAR_HEADER_PLUGINS, SIDEBAR_HEADER_TRANSFERS, SIDEBAR_HEADER_VUZE, SIDEBAR_POS_FIRST, SIDEBAR_SECTION_ACTIVITIES, SIDEBAR_SECTION_ALL_TRACKERS, SIDEBAR_SECTION_ALLPEERS, SIDEBAR_SECTION_ALLPIECES, SIDEBAR_SECTION_ARCHIVED_DOWNLOADS, SIDEBAR_SECTION_BETAPROGRAM, SIDEBAR_SECTION_CHAT, SIDEBAR_SECTION_CLIENT_STATS, SIDEBAR_SECTION_CONFIG, SIDEBAR_SECTION_DEVICES, SIDEBAR_SECTION_DISK_OPS, SIDEBAR_SECTION_DOWNLOAD_HISTORY, SIDEBAR_SECTION_LIBRARY, SIDEBAR_SECTION_LIBRARY_CAT_INSTANCES, SIDEBAR_SECTION_LIBRARY_CD, SIDEBAR_SECTION_LIBRARY_DL, SIDEBAR_SECTION_LIBRARY_TAG_INSTANCES, SIDEBAR_SECTION_LIBRARY_UNOPENED, SIDEBAR_SECTION_LOGGER, SIDEBAR_SECTION_MY_SHARES, SIDEBAR_SECTION_MY_TRACKER, SIDEBAR_SECTION_PLUGINS, SIDEBAR_SECTION_SEARCH, SIDEBAR_SECTION_SUBSCRIPTIONS, SIDEBAR_SECTION_TAG_DISCOVERY, SIDEBAR_SECTION_TAGS, SIDEBAR_SECTION_TORRENT_DETAILS, SIDEBAR_SECTION_TORRENT_OPTIONS, SIDEBAR_SECTION_WELCOME, SIDEBAR_TRANSFERS_SECTION_ORDER
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addListener(MdiSWTMenuHackListener l)
boolean
getAllowSubViews()
Whether this MDI wants subviews.int
getFolderHeight()
boolean
getMinimized()
org.eclipse.swt.custom.CTabFolder
getTabFolder()
void
setAllowSubViews(boolean allowSubViews)
Sets whether this MDI wants subviews.void
setDestroyEntriesOnDeactivate(boolean destroyEntriesOnDeactivate)
void
setEntriesDataSource(java.lang.Object newDataSource)
void
setMaximizeVisible(boolean visible)
void
setMinimized(boolean minimized)
void
setMinimizeVisible(boolean visible)
void
setTabbedMdiMaximizeListener(TabbedMdiMaximizeListener l)
void
updateUI()
-
Methods inherited from interface com.biglybt.ui.mdi.MultipleDocumentInterface
addListener, addListener, closeEntry, closeEntry, closeEntryByID, createEntryFromSkinRef, createHeader, deregisterEntry, deregisterEntry, entryExists, getChildrenOf, getDataSourceType, getEntriesCount, getPreferredOrder, getViewID, isDisposed, isInitialized, isVisible, loadEntryByID, loadEntryByID, registerEntry, registerEntry, removeEntryAutoOpen, removeItem, removeListener, removeListener, setDefaultEntryID, setEntryAutoOpen, setPreferredOrder, showEntry, showEntryByID, showEntryByID, willEntryAutoOpen
-
Methods inherited from interface com.biglybt.ui.swt.mdi.MultipleDocumentInterfaceSWT
buildMDI, buildMDI, createEntry, createEntryFromEventListener, getCurrentEntry, getEntries, getEntry, getEntryBySkinView, setCloseableConfigFile
-
-
-
-
Method Detail
-
getTabFolder
org.eclipse.swt.custom.CTabFolder getTabFolder()
-
setMaximizeVisible
void setMaximizeVisible(boolean visible)
-
setMinimizeVisible
void setMinimizeVisible(boolean visible)
-
getMinimized
boolean getMinimized()
-
setMinimized
void setMinimized(boolean minimized)
-
getFolderHeight
int getFolderHeight()
-
addListener
void addListener(MdiSWTMenuHackListener l)
-
setTabbedMdiMaximizeListener
void setTabbedMdiMaximizeListener(TabbedMdiMaximizeListener l)
-
updateUI
void updateUI()
-
setDestroyEntriesOnDeactivate
void setDestroyEntriesOnDeactivate(boolean destroyEntriesOnDeactivate)
-
setEntriesDataSource
void setEntriesDataSource(java.lang.Object newDataSource)
-
setAllowSubViews
void setAllowSubViews(boolean allowSubViews)
Sets whether this MDI wants subviews. This is only a recommendation. It's up to the MdiEntry to obey what they show or don't show. MdiEntries can check for this flag inUISWTViewEvent.TYPE_CREATE
with:
UISWTView view = event.getView(); if (view instanceof TabbedEntry) { enable_tabs = ((TabbedEntry) view).getMDI().getAllowSubViews(); } else { // Not in an MDI, set enable_tabs here }
-
getAllowSubViews
boolean getAllowSubViews()
Whether this MDI wants subviews. This is only a recommendation. It's up to the MdiEntry to obey what they show or don't show.
-
-