public interface PageConfig
PageCtrl.init(org.zkoss.zk.ui.sys.PageConfig)
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAfterHeadTags()
Returns the content that shall be generated inside the head element
and after ZK's default tags (never null).
|
java.lang.String |
getBeforeHeadTags()
Returns the content that shall be generated inside the head element
and before ZK's default tags (never null).
|
java.lang.String |
getId()
Returns the page identifier, or null if auto-generation is required.
|
java.util.Collection<java.lang.Object[]> |
getResponseHeaders()
Returns a readonly collection of response headers (never null).
|
java.lang.String |
getStyle()
Returns the page's CSS style, or null if no special CSS style to
assign.
|
java.lang.String |
getTitle()
Returns the page title, or null if not available (no title at all).
|
java.lang.String |
getUuid()
Returns the page's UUID.
|
java.lang.String |
getViewport()
Return the page's viewport, or "auto" if not specified.
|
java.lang.String getId()
PageCtrl.init(org.zkoss.zk.ui.sys.PageConfig)
shall generate
one automatically.
Note: if Page.setId(java.lang.String)
was called with
a non-empty value before, this method is ignored.
java.lang.String getUuid()
ExecutionCtrl.isRecovering()
).
In other words, it is null if not in the recovering mode.java.lang.String getTitle()
Note: if Page.setTitle(java.lang.String)
was called with
a non-empty value before, this method is ignored.
java.lang.String getStyle()
Note: if Page.setStyle(java.lang.String)
was called with
a non-empty value before, this method is ignored.
java.lang.String getViewport()
Note: if Page.setViewport(java.lang.String)
was called with
a non-empty value before, this method is ignored.
java.lang.String getBeforeHeadTags()
Since it is generated before ZK's default tags (such as CSS and JS), it cannot override ZK's default behaviors.
getAfterHeadTags()
java.lang.String getAfterHeadTags()
Since it is generated after ZK's default tags (such as CSS and JS), it could override ZK's default behaviors.
getBeforeHeadTags()
java.util.Collection<java.lang.Object[]> getResponseHeaders()
Date
or String
(and never null).
The third element indicates whether to add (rather than set)
header. It is an instance of Boolean (and never null).Copyright © 2005-2011 Potix Corporation. All Rights Reserved.