|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.zk.ui.impl.Utils
public class Utils
Utilities to implement ZK.
Constructor Summary | |
---|---|
Utils()
|
Method Summary | |
---|---|
static XMLResourcesLocator |
getXMLResourcesLocator()
Returns the XML resources locator to locate metainfo/zk/config.xml, metainfo/zk/lang.xml, and metainfo/zk/lang-addon.xml |
static boolean |
markClientInfoPerDesktop(Desktop desktop,
java.lang.String key)
Marks the per-desktop information of the given key will be generated, and returns true if the information is not generated yet (i.e., this method is NOT called with the given key). |
static Composer |
newComposer(Page page,
java.lang.Object o)
Instantiates a composer of the given object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Utils()
Method Detail |
---|
public static boolean markClientInfoPerDesktop(Desktop desktop, java.lang.String key)
public static XMLResourcesLocator getXMLResourcesLocator()
public static Composer newComposer(Page page, java.lang.Object o) throws java.lang.Exception
UiFactory.newComposer(org.zkoss.zk.ui.Page, java.lang.Class)
to instantiate the composer if page is not null.
page
- the page that the composer will be created for.
Ignored if null.o
- the composer instance, the class of the composer to instantiate,
or the name of the class of the composer.
If o
is an instance of Composer
, it is returned
directly.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |