|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.ocd.desktop.Desktop
Fields inherited from interface org.ocd.desktop.IDesktop |
XML_DOC_DIR, XML_NODE_NAME |
Constructor Summary | |
Desktop()
Creates new Desktop |
Method Summary | |
void |
addDesktopComponent(DCComponent pComp)
Add an Object to this Container |
void |
addDesktopDropListener(IDesktopDropListener pListener)
Add a Drop Listener to the Desktop A Drop Listener is notified when anything is dropped on the Desktop |
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 |
org.w3c.dom.Element |
getBLXElement()
This will return a Node that represents this Components BLX Settings This can be altered by the Container or Parent |
org.w3c.dom.Element |
getXMLElement()
This is the Data of the 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 an Object from this Container |
void |
removeDesktopDropListener(IDesktopDropListener pListener)
Remove a Drop Listener |
void |
setBLXElement(org.w3c.dom.Element pElement,
java.net.URL pRelativeURL)
Set the Node on this Component |
void |
setExtensionInfo(java.lang.String pName,
java.lang.String pURLStr,
java.lang.String pVersion)
Set the Extension Information of the Extension this Component was created From |
boolean |
xmlHasChanged()
Return true if this components state has changed in a way that Requires a new XML Node to be fetched |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Desktop()
Method Detail |
public void setBLXElement(org.w3c.dom.Element pElement, java.net.URL pRelativeURL)
setBLXElement
in interface IXMLPersistable
pElement
- Node that contains this components settingspRelativeURL
- the URL that all HREFs would be relative topublic org.w3c.dom.Element getBLXElement()
getBLXElement
in interface IXMLPersistable
public org.w3c.dom.Element getXMLElement()
getXMLElement
in interface IXMLPersistable
org.ocd.blx.IXMLPersistable
public void desktopInstalled()
desktopInstalled
in interface IDesktop
public void desktopUninstalled()
desktopUninstalled
in interface IDesktop
public boolean isInstalled()
isInstalled
in interface IDesktop
public void addDesktopDropListener(IDesktopDropListener pListener)
addDesktopDropListener
in interface IDesktop
Listener
- to receive eventspublic void removeDesktopDropListener(IDesktopDropListener pListener)
removeDesktopDropListener
in interface IDesktop
Listener
- to Removepublic void loadDefault()
loadDefault
in interface IDesktop
public boolean xmlHasChanged()
xmlHasChanged
in interface IXMLPersistable
public void setExtensionInfo(java.lang.String pName, java.lang.String pURLStr, java.lang.String pVersion)
Extension
- NameExtension
- HREFExtension
- Versionpublic void addDesktopComponent(DCComponent pComp)
addDesktopComponent
in interface IDesktop
id
- of the ObjectpObject
- to addpublic void removeDesktopComponent(DCComponent pComp)
removeDesktopComponent
in interface IDesktop
pObject
- to remove
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |