Package org.glassfish.admingui.plugin

Examples of org.glassfish.admingui.plugin.TOCItem


      throw new IllegalArgumentException("Invalid node type for TOC: "
        + nodeObject.getClass().getName());
  }


  TOCItem item = (TOCItem) nodeObject;

  // Setup the properties...
  // NOTE: All supported options must be handled here,
  //    otherwise they'll be ignored.
  // NOTE: Options will be evaluated later, do not eval here.
  props.put("expanded", item.isExpand());
  props.put("text", item.getText());
  // Add leading "/resource/" to ensure it's treated as *context root* relative.
  props.put("url", "/resource/" + item.getTargetPath());
//  LayoutComponent desc = getLayoutComponent();
//  setProperty(props, "imageURL", desc.getOption("imageURL"));
//  setProperty(props, "target", desc.getOption("target"));
//  setProperty(props, "action", desc.getOption("action"));
// NOTE: Although actionListener is supported, LH currently
View Full Code Here

TOP

Related Classes of org.glassfish.admingui.plugin.TOCItem

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.