Class TestComposite<C extends UiWidget>

    • Constructor Detail

      • TestComposite

        public TestComposite()
        The constructor.
    • Method Detail

      • getChildCount

        public int getChildCount()
        Specified by:
        getChildCount in interface UiComposite<C extends UiWidget>
        Returns:
        the number of direct children contained in this widget.
      • getChildIndex

        public int getChildIndex​(C child)
        Specified by:
        getChildIndex in interface UiComposite<C extends UiWidget>
        Parameters:
        child - the child to look for.
        Returns:
        the index of the given child or -1 if no such child exists.