com.aelitis.azureus.ui.mdi
Interface MultipleDocumentInterface

All Known Subinterfaces:
MultipleDocumentInterfaceSWT, TabbedMdiInterface
All Known Implementing Classes:
BaseMDI, SideBar, TabbedMDI

public interface MultipleDocumentInterface


Field Summary
static java.lang.String SIDEBAR_HEADER_DEVICES
           
static java.lang.String SIDEBAR_HEADER_DISCOVERY
           
static java.lang.String SIDEBAR_HEADER_DVD
           
static java.lang.String SIDEBAR_HEADER_PLUGINS
           
static java.lang.String SIDEBAR_HEADER_TRANSFERS
           
static java.lang.String SIDEBAR_HEADER_VUZE
           
static java.lang.String SIDEBAR_POS_FIRST
           
static java.lang.String SIDEBAR_SECTION_ABOUTPLUGINS
           
static java.lang.String SIDEBAR_SECTION_ACTIVITIES
           
static java.lang.String SIDEBAR_SECTION_ALLPEERS
           
static java.lang.String SIDEBAR_SECTION_ARCHIVED_DOWNLOADS
           
static java.lang.String SIDEBAR_SECTION_BETAPROGRAM
           
static java.lang.String SIDEBAR_SECTION_BURN_INFO
           
static java.lang.String SIDEBAR_SECTION_CHAT
           
static java.lang.String SIDEBAR_SECTION_CLIENT_STATS
           
static java.lang.String SIDEBAR_SECTION_CONFIG
           
static java.lang.String SIDEBAR_SECTION_DEVICES
           
static java.lang.String SIDEBAR_SECTION_DOWNLOAD_HISTORY
           
static java.lang.String SIDEBAR_SECTION_GAMES
           
static java.lang.String SIDEBAR_SECTION_LIBRARY
           
static java.lang.String SIDEBAR_SECTION_LIBRARY_CD
           
static java.lang.String SIDEBAR_SECTION_LIBRARY_DL
           
static java.lang.String SIDEBAR_SECTION_LIBRARY_UNOPENED
           
static java.lang.String SIDEBAR_SECTION_LOGGER
           
static java.lang.String SIDEBAR_SECTION_MY_SHARES
           
static java.lang.String SIDEBAR_SECTION_MY_TRACKER
           
static java.lang.String SIDEBAR_SECTION_PLUGINS
           
static java.lang.String SIDEBAR_SECTION_PLUS
           
static java.lang.String SIDEBAR_SECTION_SEARCH
           
static java.lang.String SIDEBAR_SECTION_SUBSCRIPTIONS
           
static java.lang.String SIDEBAR_SECTION_TAG_DISCOVERY
           
static java.lang.String SIDEBAR_SECTION_TAGS
           
static java.lang.String SIDEBAR_SECTION_TORRENT_DETAILS
           
static java.lang.String SIDEBAR_SECTION_TORRENT_OPTIONS
           
static java.lang.String SIDEBAR_SECTION_WELCOME
           
 
Method Summary
 void addListener(MdiEntryLoadedListener l)
           
 void addListener(MdiListener l)
           
 void closeEntry(java.lang.String id)
           
 MdiEntry createEntryFromSkinRef(java.lang.String parentID, java.lang.String id, java.lang.String configID, java.lang.String title, ViewTitleInfo titleInfo, java.lang.Object params, boolean closeable, java.lang.String preferedAfterID)
          If you prefix the 'preferedAfterID' string with '~' then the operation will actually switch to 'preferedBeforeID'
 MdiEntry createHeader(java.lang.String id, java.lang.String title, java.lang.String preferredAfterID)
           
 void deregisterEntry(java.lang.String id, MdiEntryCreationListener l)
           
 void deregisterEntry(java.lang.String id, MdiEntryCreationListener2 mdiEntryCreationListener2)
           
 boolean entryExists(java.lang.String id)
           
 java.util.List<MdiEntry> getChildrenOf(java.lang.String id)
           
 MdiEntry getCurrentEntry()
           
 MdiEntry[] getEntries()
           
 int getEntriesCount()
           
 MdiEntry getEntry(java.lang.String id)
           
 java.lang.String[] getPreferredOrder()
           
 void informAutoOpenSet(MdiEntry entry, java.util.Map<java.lang.String,java.lang.Object> autoOpenInfo)
           
 boolean isDisposed()
           
 boolean isVisible()
           
 boolean loadEntryByID(java.lang.String id, boolean activate)
           
 boolean loadEntryByID(java.lang.String id, boolean activate, boolean onlyLoadOnce, java.lang.Object datasource)
           
 void registerEntry(java.lang.String id, MdiEntryCreationListener l)
           
 void registerEntry(java.lang.String id, MdiEntryCreationListener2 mdiEntryCreationListener2)
           
 void removeEntryAutoOpen(java.lang.String id)
           
 void removeItem(MdiEntry entry)
           
 void removeListener(MdiEntryLoadedListener l)
           
 void removeListener(MdiListener l)
           
 void setEntryAutoOpen(java.lang.String id, java.lang.Object datasource)
          When an entry can not be opened (ie.
 void setPreferredOrder(java.lang.String[] preferredOrder)
           
 void showEntry(MdiEntry newEntry)
           
 boolean showEntryByID(java.lang.String id)
           
 boolean showEntryByID(java.lang.String id, java.lang.Object datasource)
           
 

Field Detail

SIDEBAR_POS_FIRST

static final java.lang.String SIDEBAR_POS_FIRST
See Also:
Constant Field Values

SIDEBAR_HEADER_VUZE

static final java.lang.String SIDEBAR_HEADER_VUZE
See Also:
Constant Field Values

SIDEBAR_HEADER_TRANSFERS

static final java.lang.String SIDEBAR_HEADER_TRANSFERS
See Also:
Constant Field Values

SIDEBAR_HEADER_DISCOVERY

static final java.lang.String SIDEBAR_HEADER_DISCOVERY
See Also:
Constant Field Values

SIDEBAR_HEADER_DEVICES

static final java.lang.String SIDEBAR_HEADER_DEVICES
See Also:
Constant Field Values

SIDEBAR_HEADER_DVD

static final java.lang.String SIDEBAR_HEADER_DVD
See Also:
Constant Field Values

SIDEBAR_HEADER_PLUGINS

static final java.lang.String SIDEBAR_HEADER_PLUGINS
See Also:
Constant Field Values

SIDEBAR_SECTION_PLUGINS

static final java.lang.String SIDEBAR_SECTION_PLUGINS
See Also:
Constant Field Values

SIDEBAR_SECTION_ABOUTPLUGINS

static final java.lang.String SIDEBAR_SECTION_ABOUTPLUGINS
See Also:
Constant Field Values

SIDEBAR_SECTION_LIBRARY

static final java.lang.String SIDEBAR_SECTION_LIBRARY
See Also:
Constant Field Values

SIDEBAR_SECTION_GAMES

static final java.lang.String SIDEBAR_SECTION_GAMES
See Also:
Constant Field Values

SIDEBAR_SECTION_BETAPROGRAM

static final java.lang.String SIDEBAR_SECTION_BETAPROGRAM
See Also:
Constant Field Values

SIDEBAR_SECTION_LIBRARY_DL

static final java.lang.String SIDEBAR_SECTION_LIBRARY_DL
See Also:
Constant Field Values

SIDEBAR_SECTION_LIBRARY_CD

static final java.lang.String SIDEBAR_SECTION_LIBRARY_CD
See Also:
Constant Field Values

SIDEBAR_SECTION_TAGS

static final java.lang.String SIDEBAR_SECTION_TAGS
See Also:
Constant Field Values

SIDEBAR_SECTION_TAG_DISCOVERY

static final java.lang.String SIDEBAR_SECTION_TAG_DISCOVERY
See Also:
Constant Field Values

SIDEBAR_SECTION_CHAT

static final java.lang.String SIDEBAR_SECTION_CHAT
See Also:
Constant Field Values

SIDEBAR_SECTION_LIBRARY_UNOPENED

static final java.lang.String SIDEBAR_SECTION_LIBRARY_UNOPENED
See Also:
Constant Field Values

SIDEBAR_SECTION_TORRENT_DETAILS

static final java.lang.String SIDEBAR_SECTION_TORRENT_DETAILS
See Also:
Constant Field Values

SIDEBAR_SECTION_WELCOME

static final java.lang.String SIDEBAR_SECTION_WELCOME
See Also:
Constant Field Values

SIDEBAR_SECTION_PLUS

static final java.lang.String SIDEBAR_SECTION_PLUS
See Also:
Constant Field Values

SIDEBAR_SECTION_SUBSCRIPTIONS

static final java.lang.String SIDEBAR_SECTION_SUBSCRIPTIONS
See Also:
Constant Field Values

SIDEBAR_SECTION_DEVICES

static final java.lang.String SIDEBAR_SECTION_DEVICES
See Also:
Constant Field Values

SIDEBAR_SECTION_BURN_INFO

static final java.lang.String SIDEBAR_SECTION_BURN_INFO
See Also:
Constant Field Values

SIDEBAR_SECTION_ACTIVITIES

static final java.lang.String SIDEBAR_SECTION_ACTIVITIES
See Also:
Constant Field Values

SIDEBAR_SECTION_SEARCH

static final java.lang.String SIDEBAR_SECTION_SEARCH
See Also:
Constant Field Values

SIDEBAR_SECTION_ALLPEERS

static final java.lang.String SIDEBAR_SECTION_ALLPEERS
See Also:
Constant Field Values

SIDEBAR_SECTION_TORRENT_OPTIONS

static final java.lang.String SIDEBAR_SECTION_TORRENT_OPTIONS
See Also:
Constant Field Values

SIDEBAR_SECTION_MY_SHARES

static final java.lang.String SIDEBAR_SECTION_MY_SHARES
See Also:
Constant Field Values

SIDEBAR_SECTION_MY_TRACKER

static final java.lang.String SIDEBAR_SECTION_MY_TRACKER
See Also:
Constant Field Values

SIDEBAR_SECTION_CLIENT_STATS

static final java.lang.String SIDEBAR_SECTION_CLIENT_STATS
See Also:
Constant Field Values

SIDEBAR_SECTION_LOGGER

static final java.lang.String SIDEBAR_SECTION_LOGGER
See Also:
Constant Field Values

SIDEBAR_SECTION_CONFIG

static final java.lang.String SIDEBAR_SECTION_CONFIG
See Also:
Constant Field Values

SIDEBAR_SECTION_ARCHIVED_DOWNLOADS

static final java.lang.String SIDEBAR_SECTION_ARCHIVED_DOWNLOADS
See Also:
Constant Field Values

SIDEBAR_SECTION_DOWNLOAD_HISTORY

static final java.lang.String SIDEBAR_SECTION_DOWNLOAD_HISTORY
See Also:
Constant Field Values
Method Detail

showEntryByID

boolean showEntryByID(java.lang.String id)

showEntryByID

boolean showEntryByID(java.lang.String id,
                      java.lang.Object datasource)

createEntryFromSkinRef

MdiEntry createEntryFromSkinRef(java.lang.String parentID,
                                java.lang.String id,
                                java.lang.String configID,
                                java.lang.String title,
                                ViewTitleInfo titleInfo,
                                java.lang.Object params,
                                boolean closeable,
                                java.lang.String preferedAfterID)
If you prefix the 'preferedAfterID' string with '~' then the operation will actually switch to 'preferedBeforeID'

Parameters:
parentID -
id -
configID -
title -
titleInfo -
params -
closeable -
preferedAfterID -
Returns:

getCurrentEntry

MdiEntry getCurrentEntry()

getEntry

MdiEntry getEntry(java.lang.String id)

addListener

void addListener(MdiListener l)

removeListener

void removeListener(MdiListener l)

addListener

void addListener(MdiEntryLoadedListener l)

removeListener

void removeListener(MdiEntryLoadedListener l)

isVisible

boolean isVisible()

closeEntry

void closeEntry(java.lang.String id)

getEntries

MdiEntry[] getEntries()

registerEntry

void registerEntry(java.lang.String id,
                   MdiEntryCreationListener l)

registerEntry

void registerEntry(java.lang.String id,
                   MdiEntryCreationListener2 mdiEntryCreationListener2)

deregisterEntry

void deregisterEntry(java.lang.String id,
                     MdiEntryCreationListener l)

deregisterEntry

void deregisterEntry(java.lang.String id,
                     MdiEntryCreationListener2 mdiEntryCreationListener2)

entryExists

boolean entryExists(java.lang.String id)

removeItem

void removeItem(MdiEntry entry)

setEntryAutoOpen

void setEntryAutoOpen(java.lang.String id,
                      java.lang.Object datasource)
When an entry can not be opened (ie. creation listener isn't registered yet), call this to store your open request


removeEntryAutoOpen

void removeEntryAutoOpen(java.lang.String id)

showEntry

void showEntry(MdiEntry newEntry)

informAutoOpenSet

void informAutoOpenSet(MdiEntry entry,
                       java.util.Map<java.lang.String,java.lang.Object> autoOpenInfo)

loadEntryByID

boolean loadEntryByID(java.lang.String id,
                      boolean activate)

setPreferredOrder

void setPreferredOrder(java.lang.String[] preferredOrder)

getPreferredOrder

java.lang.String[] getPreferredOrder()

createHeader

MdiEntry createHeader(java.lang.String id,
                      java.lang.String title,
                      java.lang.String preferredAfterID)

getChildrenOf

java.util.List<MdiEntry> getChildrenOf(java.lang.String id)

loadEntryByID

boolean loadEntryByID(java.lang.String id,
                      boolean activate,
                      boolean onlyLoadOnce,
                      java.lang.Object datasource)

getEntriesCount

int getEntriesCount()
Returns:
Since:
5.6.0.1

isDisposed

boolean isDisposed()