org.zkoss.zk.ui.impl
Class DesktopRecycles

java.lang.Object
  extended by org.zkoss.zk.ui.impl.DesktopRecycles
Direct Known Subclasses:
DesktopRecycles

public class DesktopRecycles
extends java.lang.Object

Utilties to handle DesktopRecycle.

Since:
5.0.7
Author:
tomyeh

Constructor Summary
DesktopRecycles()
           
 
Method Summary
static boolean removeDesktop(Execution exec)
          Called to remove the desktop.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DesktopRecycles

public DesktopRecycles()
Method Detail

removeDesktop

public static boolean removeDesktop(Execution exec)
Called to remove the desktop. If DesktopRecycle is configured, DesktopRecycle.beforeRemove(org.zkoss.zk.ui.Execution, org.zkoss.zk.ui.Desktop, int) will be called first to see if it shall be recycled.

Returns:
whether the desktop is removed. Returns false if the desktop is recycled.


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo