Class Widget


  • public class Widget
    extends java.lang.Object
    A class representing a widget.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      class  Widget.State  
    • Constructor Summary

      Constructors 
      Constructor Description
      Widget​(int id)  
    • Constructor Detail

      • Widget

        public Widget​(int id)
    • Method Detail

      • isOpen

        public static boolean isOpen​(int parentID)
        Checks if a parent ID is present in the list of loaded widget parents.
        Parameters:
        parentID - the ID of the parent widget
        Returns:
        true if the parent ID is present, false otherwise
      • isVisible

        public static boolean isVisible​(int parentID)
        Checks if the widget with the specified parent ID is visible.
        Parameters:
        parentID - the ID of the parent widget
        Returns:
        true if the widget is visible, false otherwise
      • isRendered

        public static boolean isRendered​(int parentID)
        Checks if a given parent ID is in the list of visible widget parents.
        Parameters:
        parentID - the ID of the parent widget to check
        Returns:
        true if the parent ID is in the list of visible widget parents, false otherwise
      • getID

        public int getID()
      • getChildren

        public java.util.List<WidgetChild> getChildren()
      • getVisibleChildren

        public java.util.List<WidgetChild> getVisibleChildren()
      • isVisible

        public boolean isVisible()
      • isOpen

        public boolean isOpen()
      • isRendered

        public boolean isRendered()