Package com.biglybt.ui.swt.mdi
Interface TabbedMdiInterface
- All Superinterfaces:
MultipleDocumentInterface
,MultipleDocumentInterfaceSWT
- All Known Implementing Classes:
TabbedMDI
az2 access to some
TabbedMdi
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_ALLBLOCKS, 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
Modifier and TypeMethodDescriptionvoid
boolean
Whether this MDI wants subviews.int
boolean
org.eclipse.swt.custom.CTabFolder
void
setAllowSubViews
(boolean allowSubViews) Sets whether this MDI wants subviews.void
setDestroyEntriesOnDeactivate
(boolean destroyEntriesOnDeactivate) void
setEntriesDataSource
(Object newDataSource) void
setMaximizeVisible
(boolean visible) void
setMinimized
(boolean minimized) void
setMinimizeVisible
(boolean visible) void
void
updateUI()
Methods inherited from interface com.biglybt.ui.mdi.MultipleDocumentInterface
addListener, addListener, closeEntry, closeEntry, closeEntryByID, createEntryFromSkinRef, createHeader, deregisterEntry, deregisterEntry, entryExists, getChildrenOf, getDataSourceType, getEntriesCount, getEntry, getPreferredOrder, getViewID, isDisposed, isInitialized, isVisible, loadEntryByID, loadEntryByID, popoutEntryByID, registerEntry, registerEntry, removeEntryAutoOpen, removeItem, removeListener, removeListener, runWhenIdle, 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 Details
-
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
-
setTabbedMdiMaximizeListener
-
updateUI
void updateUI() -
setDestroyEntriesOnDeactivate
void setDestroyEntriesOnDeactivate(boolean destroyEntriesOnDeactivate) -
setEntriesDataSource
-
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.
-