Package org.zkoss.zats.mimic
Interface DesktopAgent
-
- All Superinterfaces:
Agent,QueryAgent
- All Known Implementing Classes:
DefaultDesktopAgent
public interface DesktopAgent extends QueryAgent
The desktop agent, represents a server-side ZK desktop- Author:
- pao, Dennis, henrichen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddestroy()destroy this desktop.ObjectgetAttribute(String name)get attribute by specify name.org.zkoss.zk.ui.DesktopgetDesktop()Get the attachedDesktopinstance.ResourcegetDownloadable()Get the current downloadable resource.StringgetId()get ID.List<PageAgent>getPages()get pages in this desktopList<String>getZkLog()Gets theClients.logresults.-
Methods inherited from interface org.zkoss.zats.mimic.Agent
getClient, getDelegatee
-
Methods inherited from interface org.zkoss.zats.mimic.QueryAgent
as, is, query, queryAll
-
-
-
-
Method Detail
-
getId
String getId()
get ID. of this the desktop.- Returns:
- ID or null if it hasn't.
-
getAttribute
Object getAttribute(String name)
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
List<String> 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
-
-