Interface HasVisibility

    • Method Detail

      • isVisible

        boolean isVisible()
        Determines whether or not this object is visible. Note that this does not necessarily take into account whether or not the receiver's parent is visible, or even if it is attached to the Document. The default implementation of this trait in UIObject is based on the value of a dom element's style object's display attribute.
        Returns:
        true if the object is visible
      • setVisible

        void setVisible​(boolean visible)
        Sets whether this object is visible.
        Parameters:
        visible - true to show the object, false to hide it