Class Barrier

  • All Implemented Interfaces:
    Helper

    public class Barrier
    extends HelperWidget
    A Barrier takes multiple widgets
    • Constructor Detail

      • Barrier

        public Barrier()
      • Barrier

        public Barrier​(java.lang.String debugName)
    • Method Detail

      • getBarrierType

        public int getBarrierType()
      • setBarrierType

        public void setBarrierType​(int barrierType)
      • setAllowsGoneWidget

        public void setAllowsGoneWidget​(boolean allowsGoneWidget)
      • allowsGoneWidget

        @Deprecated
        public boolean allowsGoneWidget()
        Deprecated.
        This method should be called getAllowsGoneWidget such that allowsGoneWidget can be accessed as a property from Kotlin; {@see https://android.github .io/kotlin-guides/interop.html#property-prefixes}. Use getAllowsGoneWidget() instead.
        Find if this barrier supports gone widgets.
        Returns:
        true if this barrier supports gone widgets, otherwise false
      • getAllowsGoneWidget

        public boolean getAllowsGoneWidget()
        Find if this barrier supports gone widgets.
        Returns:
        true if this barrier supports gone widgets, otherwise false
      • toString

        public java.lang.String toString()
        Description copied from class: ConstraintWidget
        Returns a string representation of the ConstraintWidget
        Overrides:
        toString in class ConstraintWidget
        Returns:
        string representation of the widget
      • markWidgets

        protected void markWidgets()
      • setMargin

        public void setMargin​(int margin)
      • getMargin

        public int getMargin()
      • getOrientation

        public int getOrientation()
      • allSolved

        public boolean allSolved()