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

Field Detail

SIDEBAR_POS_FIRST

static final String SIDEBAR_POS_FIRST
See Also:
Constant Field Values

SIDEBAR_HEADER_VUZE

static final String SIDEBAR_HEADER_VUZE
See Also:
Constant Field Values

SIDEBAR_HEADER_TRANSFERS

static final String SIDEBAR_HEADER_TRANSFERS
See Also:
Constant Field Values

SIDEBAR_HEADER_DISCOVERY

static final String SIDEBAR_HEADER_DISCOVERY
See Also:
Constant Field Values

SIDEBAR_HEADER_DEVICES

static final String SIDEBAR_HEADER_DEVICES
See Also:
Constant Field Values

SIDEBAR_HEADER_DVD

static final String SIDEBAR_HEADER_DVD
See Also:
Constant Field Values

SIDEBAR_HEADER_PLUGINS

static final String SIDEBAR_HEADER_PLUGINS
See Also:
Constant Field Values

SIDEBAR_SECTION_PLUGINS

static final String SIDEBAR_SECTION_PLUGINS
See Also:
Constant Field Values

SIDEBAR_SECTION_ABOUTPLUGINS

static final String SIDEBAR_SECTION_ABOUTPLUGINS
See Also:
Constant Field Values

SIDEBAR_SECTION_LIBRARY

static final String SIDEBAR_SECTION_LIBRARY
See Also:
Constant Field Values

SIDEBAR_SECTION_GAMES

static final String SIDEBAR_SECTION_GAMES
See Also:
Constant Field Values

SIDEBAR_SECTION_BETAPROGRAM

static final String SIDEBAR_SECTION_BETAPROGRAM
See Also:
Constant Field Values

SIDEBAR_SECTION_LIBRARY_DL

static final String SIDEBAR_SECTION_LIBRARY_DL
See Also:
Constant Field Values

SIDEBAR_SECTION_LIBRARY_CD

static final String SIDEBAR_SECTION_LIBRARY_CD
See Also:
Constant Field Values

SIDEBAR_SECTION_TAGS

static final String SIDEBAR_SECTION_TAGS
See Also:
Constant Field Values

SIDEBAR_SECTION_TAG_DISCOVERY

static final String SIDEBAR_SECTION_TAG_DISCOVERY
See Also:
Constant Field Values

SIDEBAR_SECTION_CHAT

static final String SIDEBAR_SECTION_CHAT
See Also:
Constant Field Values

SIDEBAR_SECTION_LIBRARY_UNOPENED

static final String SIDEBAR_SECTION_LIBRARY_UNOPENED
See Also:
Constant Field Values

SIDEBAR_SECTION_TORRENT_DETAILS

static final String SIDEBAR_SECTION_TORRENT_DETAILS
See Also:
Constant Field Values

SIDEBAR_SECTION_WELCOME

static final String SIDEBAR_SECTION_WELCOME
See Also:
Constant Field Values

SIDEBAR_SECTION_PLUS

static final String SIDEBAR_SECTION_PLUS
See Also:
Constant Field Values

SIDEBAR_SECTION_SUBSCRIPTIONS

static final String SIDEBAR_SECTION_SUBSCRIPTIONS
See Also:
Constant Field Values

SIDEBAR_SECTION_DEVICES

static final String SIDEBAR_SECTION_DEVICES
See Also:
Constant Field Values

SIDEBAR_SECTION_BURN_INFO

static final String SIDEBAR_SECTION_BURN_INFO
See Also:
Constant Field Values

SIDEBAR_SECTION_ACTIVITIES

static final String SIDEBAR_SECTION_ACTIVITIES
See Also:
Constant Field Values

SIDEBAR_SECTION_SEARCH

static final String SIDEBAR_SECTION_SEARCH
See Also:
Constant Field Values

SIDEBAR_SECTION_ALLPEERS

static final String SIDEBAR_SECTION_ALLPEERS
See Also:
Constant Field Values

SIDEBAR_SECTION_TORRENT_OPTIONS

static final String SIDEBAR_SECTION_TORRENT_OPTIONS
See Also:
Constant Field Values

SIDEBAR_SECTION_MY_SHARES

static final String SIDEBAR_SECTION_MY_SHARES
See Also:
Constant Field Values

SIDEBAR_SECTION_MY_TRACKER

static final String SIDEBAR_SECTION_MY_TRACKER
See Also:
Constant Field Values

SIDEBAR_SECTION_CLIENT_STATS

static final String SIDEBAR_SECTION_CLIENT_STATS
See Also:
Constant Field Values

SIDEBAR_SECTION_LOGGER

static final String SIDEBAR_SECTION_LOGGER
See Also:
Constant Field Values

SIDEBAR_SECTION_CONFIG

static final String SIDEBAR_SECTION_CONFIG
See Also:
Constant Field Values

SIDEBAR_SECTION_ARCHIVED_DOWNLOADS

static final String SIDEBAR_SECTION_ARCHIVED_DOWNLOADS
See Also:
Constant Field Values

SIDEBAR_SECTION_DOWNLOAD_HISTORY

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

showEntryByID

boolean showEntryByID(String id)

showEntryByID

boolean showEntryByID(String id,
                      Object datasource)

createEntryFromSkinRef

MdiEntry createEntryFromSkinRef(String parentID,
                                String id,
                                String configID,
                                String title,
                                ViewTitleInfo titleInfo,
                                Object params,
                                boolean closeable,
                                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(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(String id)

getEntries

MdiEntry[] getEntries()

registerEntry

void registerEntry(String id,
                   MdiEntryCreationListener l)

registerEntry

void registerEntry(String id,
                   MdiEntryCreationListener2 mdiEntryCreationListener2)

deregisterEntry

void deregisterEntry(String id,
                     MdiEntryCreationListener l)

deregisterEntry

void deregisterEntry(String id,
                     MdiEntryCreationListener2 mdiEntryCreationListener2)

entryExists

boolean entryExists(String id)

removeItem

void removeItem(MdiEntry entry)

setEntryAutoOpen

void setEntryAutoOpen(String id,
                      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(String id)

showEntry

void showEntry(MdiEntry newEntry)

informAutoOpenSet

void informAutoOpenSet(MdiEntry entry,
                       Map<String,Object> autoOpenInfo)

loadEntryByID

boolean loadEntryByID(String id,
                      boolean activate)

setPreferredOrder

void setPreferredOrder(String[] preferredOrder)

getPreferredOrder

String[] getPreferredOrder()

createHeader

MdiEntry createHeader(String id,
                      String title,
                      String preferredAfterID)

getChildrenOf

List<MdiEntry> getChildrenOf(String id)

loadEntryByID

boolean loadEntryByID(String id,
                      boolean activate,
                      boolean onlyLoadOnce,
                      Object datasource)

getEntriesCount

int getEntriesCount()
Returns:
Since:
5.6.0.1

isDisposed

boolean isDisposed()