Class ItemExpansionOptions


  • public class ItemExpansionOptions
    extends java.lang.Object
    Options for expansions in filtered tree.
    Since:
    19.27.0
    • Constructor Summary

      Constructors 
      Constructor Description
      ItemExpansionOptions​(java.util.List<java.lang.Class<? extends org.openide.nodes.Node.Cookie>> expCookies)  
      ItemExpansionOptions​(java.util.List<java.lang.Class<? extends org.openide.nodes.Node.Cookie>> expCookies, int maxExpandedNodes)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isAutoExpandable​(org.openide.nodes.Node node)  
      boolean shouldAutoExpand​(java.util.List<org.openide.nodes.Node> nodes)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ItemExpansionOptions

        public ItemExpansionOptions​(java.util.List<java.lang.Class<? extends org.openide.nodes.Node.Cookie>> expCookies)
      • ItemExpansionOptions

        public ItemExpansionOptions​(java.util.List<java.lang.Class<? extends org.openide.nodes.Node.Cookie>> expCookies,
                                    int maxExpandedNodes)
        Parameters:
        expCookies -
        maxExpandedNodes - - maximum nodes to autoexpand. Use "-1" for unlimited
    • Method Detail

      • isAutoExpandable

        public boolean isAutoExpandable​(org.openide.nodes.Node node)
      • shouldAutoExpand

        public boolean shouldAutoExpand​(java.util.List<org.openide.nodes.Node> nodes)