Package org.zkoss.zats.mimic
Interface PageAgent
-
- All Superinterfaces:
Agent,QueryAgent
- All Known Implementing Classes:
DefaultPageAgent
public interface PageAgent extends QueryAgent
The page agent, represents a server-side zk page- Author:
- pao, Dennis, henrichen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectgetAttribute(String name)get attribute by specify name.DesktopAgentgetDesktop()get desktop of this pageStringgetId()get ID.List<ComponentAgent>getRoots()get root component agents at the page.StringgetUuid()get UUID.-
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 the page.- Returns:
- ID or null if it hasn't.
-
getUuid
String getUuid()
get UUID. of this the page.- Returns:
- UUID.
-
getRoots
List<ComponentAgent> getRoots()
get root component agents at the page.- Returns:
- a list contained root component agents.
-
getAttribute
Object getAttribute(String name)
get attribute by specify name.- Parameters:
name- attribute name.- Returns:
- attribute value or null if not found or otherwise.
-
getDesktop
DesktopAgent getDesktop()
get desktop of this page
-
-