org.ocd.desktop
Interface IDesktop

All Superinterfaces:
IXMLPersistable
All Known Implementing Classes:
Desktop

public interface IDesktop
extends IXMLPersistable

Since:
$Date: 2002/03/29 08:01:15 $
Version:
$Revision: 1.4 $
Author:
$Author: ocd_dino $, ocd_dino - ocd_dino@users.sourceforge.net (initial author)

Field Summary
static java.lang.String XML_DOC_DIR
           
static java.lang.String XML_NODE_NAME
           
 
Fields inherited from interface org.ocd.blx.IXMLPersistable
BLX_CLASS_NAME_ATTR, BLX_COMP_HEIGHT_ATTR, BLX_COMP_ID, BLX_COMP_NODE_NAME, BLX_COMP_WIDTH_ATTR, BLX_COMP_X_ATTR, BLX_COMP_Y_ATTR, BLX_DOCUMENT_NAME, BLX_EXT_HREF_ATTR, BLX_EXT_VERSION_ATTR, BLX_EXTENSION_ATTR, BLX_FACTORY_NODE_NAME, BLX_FACTORY_TYPE_ATTR, BLX_HREF_ATTR, BLX_NS, BLX_OBJ_NODE_NAME, COMP_TYPE, COMPONENT_FACTORY_TYPE, COMPONENT_FACTORY_TYPE_STR, FACTORY_TYPE, FILE_EXT, OBJECT_FACTORY_TYPE, OBJECT_FACTORY_TYPE_STR, OBJECT_TYPE
 
Method Summary
 void addDesktopComponent(DCComponent pComp)
          Add a Component to the Desktop
 void addDesktopDropListener(IDesktopDropListener pListener)
          Add a Desktop Drop Listener
 void desktopInstalled()
          This Method is called by the Desktop Service When this Desktop has been made the current Desktop
 void desktopUninstalled()
          This Method is called by the Desktop Service when This Desktop has been removed as the current Desktop
 boolean isInstalled()
          Returns True if this Desktop is Currently Installed as the Current Desktop
 void loadDefault()
          Loads this Desktops Default Configuration
 void removeDesktopComponent(DCComponent pComp)
          Remove a Component from the Desktop
 void removeDesktopDropListener(IDesktopDropListener pListener)
          Remove a Desktop Drop Listener
 
Methods inherited from interface org.ocd.blx.IXMLPersistable
getBLXElement, getXMLElement, setBLXElement, xmlHasChanged
 

Field Detail

XML_NODE_NAME

public static final java.lang.String XML_NODE_NAME

XML_DOC_DIR

public static final java.lang.String XML_DOC_DIR
Method Detail

addDesktopDropListener

public void addDesktopDropListener(IDesktopDropListener pListener)
Add a Desktop Drop Listener
Parameters:
Listener -  

removeDesktopDropListener

public void removeDesktopDropListener(IDesktopDropListener pListener)
Remove a Desktop Drop Listener
Parameters:
Listener -  

desktopInstalled

public void desktopInstalled()
This Method is called by the Desktop Service When this Desktop has been made the current Desktop

desktopUninstalled

public void desktopUninstalled()
This Method is called by the Desktop Service when This Desktop has been removed as the current Desktop

isInstalled

public boolean isInstalled()
Returns True if this Desktop is Currently Installed as the Current Desktop
Returns:
installed status

loadDefault

public void loadDefault()
Loads this Desktops Default Configuration

addDesktopComponent

public void addDesktopComponent(DCComponent pComp)
Add a Component to the Desktop
Parameters:
pComp - to add

removeDesktopComponent

public void removeDesktopComponent(DCComponent pComp)
Remove a Component from the Desktop
Parameters:
pComp - to remove