Interface HasEnabled

    • Method Detail

      • setEnabled

        default void setEnabled​(boolean enabled)
        Sets the UI object explicitly disabled or enabled.
        enabled - if false then explicitly disables the object, if true then enables the object so that its state depends on parent
      • isEnabled

        default boolean isEnabled()
        Returns whether the object is enabled or disabled.

        Object may be enabled by itself by but if its ascendant is disabled then it's considered as (implicitly) disabled.

        enabled state of the object