Secure Global Desktop Administration Guide > Applets > isHierarchyEnabled (webtop script and webtop tray applets)
String isHierarchyEnabled()
Returns "TRUE" if the webtop is in hierarchy mode, otherwise it returns "FALSE".
You can enable hierarchy mode by setting the UseHierarchy
parameter to true
.
This method can be used with either the webtop script applet or the webtop tray applet.
verdict = applet.isHierarchyEnabled(); if (verdict == "TRUE") alert("The webtop is in hierarchy mode!"); else alert("The webtop is not in hierarchy mode!");
Displays a dialog indicating whether the webtop is in hierarchy mode or not.
Copyright © 1997-2005 Sun Microsystems, Inc. All rights reserved.