Class GroupElementFactory


  • public class GroupElementFactory
    extends java.lang.Object
    This class is a factory class to instantiate a group element handle.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static GroupElementHandle newGroupElement​(ModuleHandle moduleHandle, java.util.List selectedElements)
      Instantiates a group element handle with the given module handle and selected design element list.
      • Methods inherited from class java.lang.Object

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

      • GroupElementFactory

        public GroupElementFactory()
    • Method Detail

      • newGroupElement

        public static GroupElementHandle newGroupElement​(ModuleHandle moduleHandle,
                                                         java.util.List selectedElements)
        Instantiates a group element handle with the given module handle and selected design element list. Both the module handle and the element list can be null or empty.
        Parameters:
        moduleHandle - the module handle of the selected element list, generally it is the root module of them
        selectedElements - the selected design element list
        Returns:
        the generated group element handle