Package org.zkoss.zats.mimic
Interface DesktopAgent
- All Superinterfaces:
Agent,QueryAgent
- All Known Implementing Classes:
DefaultDesktopAgent
The desktop agent, represents a server-side ZK desktop
- Author:
- pao, Dennis, henrichen
-
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()destroy this desktop.getAttribute(String name) get attribute by specify name.org.zkoss.zk.ui.DesktopGet the attachedDesktopinstance.Get the current downloadable resource.getId()get ID.getPages()get pages in this desktopgetZkLog()Gets theClients.logresults.Methods inherited from interface org.zkoss.zats.mimic.Agent
getClient, getDelegateeMethods inherited from interface org.zkoss.zats.mimic.QueryAgent
as, is, query, queryAll
-
Method Details
-
getId
String getId()get ID. of this the desktop.- Returns:
- ID or null if it hasn't.
-
getPages
get pages in this desktop -
getAttribute
get attribute by specify name.- Parameters:
name- attribute name.- Returns:
- attribute value or null if not found or otherwise.
-
destroy
void destroy()destroy this desktop. -
getDownloadable
Resource getDownloadable()Get the current downloadable resource.- Returns:
- downloadable resource or null if there is no such resource.
- Since:
- 1.1.0
-
getZkLog
Gets theClients.logresults.- Returns:
- Messages. An empty list if no message.
- Since:
- 2.1.0
-
getDesktop
org.zkoss.zk.ui.Desktop getDesktop()Get the attachedDesktopinstance.- Returns:
- the attached
Desktopinstance. - Since:
- 2.1.0
-