-
public final class Constraint extends ConstraintSet
-
-
Field Summary
Fields Modifier and Type Field Description private final ConstraintLayoutlayoutprivate final StringmIdStringprivate final StringderivedStateprivate final IntegermRotate
-
Constructor Summary
Constructors Constructor Description Constraint(ConstraintLayout layout)
-
Method Summary
Modifier and Type Method Description final ConstraintLayoutgetLayout()final <V extends View> Unitstart_toStartOf(V $self, Integer targetId, Integer margin)final <V extends View> Unitstart_toEndOf(V $self, Integer targetId, Integer margin)final <V extends View> Unitend_toEndOf(V $self, Integer targetId, Integer margin)final <V extends View> Unitend_toStartOf(V $self, Integer targetId, Integer margin)final <V extends View> Unittop_toTopOf(V $self, Integer targetId, Integer margin)final <V extends View> Unittop_toBottomOf(V $self, Integer targetId, Integer margin)final <V extends View> Unitbottom_toTopOf(V $self, Integer targetId, Integer margin)final <V extends View> Unitbottom_toBottomOf(V $self, Integer targetId, Integer margin)final <V extends View> Unitstart_toStartOfParent(V $self, Integer margin)final <V extends View> Unitstart_toEndOfParent(V $self, Integer margin)final <V extends View> Unitend_toEndOfParent(V $self, Integer margin)final <V extends View> Unitend_toStartOfParent(V $self, Integer margin)final <V extends View> Unittop_toTopOfParent(V $self, Integer margin)final <V extends View> Unittop_toBottomOfParent(V $self, Integer margin)final <V extends View> Unitbottom_toTopOfParent(V $self, Integer margin)final <V extends View> Unitbottom_toBottomOfParent(V $self, Integer margin)final <V extends View> UnitclearStart(V $self)final <V extends View> UnitclearEnd(V $self)final <V extends View> UnitclearTop(V $self)final <V extends View> UnitclearBottom(V $self)final <V extends View> Unitbaseline_toBaselineOf(V $self, Integer targetId)final <V extends View> UnitwidthPercent(V $self, Float percent)-
Methods inherited from class live.hms.roomkit.util.Constraint
addColorAttributes, addFloatAttributes, addIntAttributes, addStringAttributes, addToHorizontalChain, addToHorizontalChainRTL, addToVerticalChain, applyCustomAttributes, applyDeltaFrom, applyTo, applyToHelper, applyToInternal, applyToLayoutParams, applyToWithoutCustom, center, centerHorizontally, centerHorizontally, centerHorizontallyRtl, centerHorizontallyRtl, centerVertically, centerVertically, clear, clear, clone, clone, clone, clone, connect, connect, constrainCircle, constrainDefaultHeight, constrainDefaultWidth, constrainHeight, constrainMaxHeight, constrainMaxWidth, constrainMinHeight, constrainMinWidth, constrainPercentHeight, constrainPercentWidth, constrainWidth, constrainedHeight, constrainedWidth, create, createBarrier, createHorizontalChain, createHorizontalChainRtl, createVerticalChain, dump, getApplyElevation, getConstraint, getCustomAttributeSet, getHeight, getKnownIds, getParameters, getReferencedIds, getVisibility, getVisibilityMode, getWidth, isForceId, load, load, parseColorAttributes, parseFloatAttributes, parseIntAttributes, parseStringAttributes, readFallback, readFallback, removeAttribute, removeFromHorizontalChain, removeFromVerticalChain, setAlpha, setApplyElevation, setBarrierType, setColorValue, setDimensionRatio, setEditorAbsoluteX, setEditorAbsoluteY, setElevation, setFloatValue, setForceId, setGoneMargin, setGuidelineBegin, setGuidelineEnd, setGuidelinePercent, setHorizontalBias, setHorizontalChainStyle, setHorizontalWeight, setIntValue, setLayoutWrapBehavior, setMargin, setReferencedIds, setRotation, setRotationX, setRotationY, setScaleX, setScaleY, setStringValue, setTransformPivot, setTransformPivotX, setTransformPivotY, setTranslation, setTranslationX, setTranslationY, setTranslationZ, setValidateOnParse, setVerticalBias, setVerticalChainStyle, setVerticalWeight, setVisibility, setVisibilityMode, writeState -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
Constraint
Constraint(ConstraintLayout layout)
-
-
Method Detail
-
getLayout
final ConstraintLayout getLayout()
-
start_toStartOf
final <V extends View> Unit start_toStartOf(V $self, Integer targetId, Integer margin)
-
top_toBottomOf
final <V extends View> Unit top_toBottomOf(V $self, Integer targetId, Integer margin)
-
bottom_toTopOf
final <V extends View> Unit bottom_toTopOf(V $self, Integer targetId, Integer margin)
-
bottom_toBottomOf
final <V extends View> Unit bottom_toBottomOf(V $self, Integer targetId, Integer margin)
-
start_toStartOfParent
final <V extends View> Unit start_toStartOfParent(V $self, Integer margin)
-
start_toEndOfParent
final <V extends View> Unit start_toEndOfParent(V $self, Integer margin)
-
end_toEndOfParent
final <V extends View> Unit end_toEndOfParent(V $self, Integer margin)
-
end_toStartOfParent
final <V extends View> Unit end_toStartOfParent(V $self, Integer margin)
-
top_toTopOfParent
final <V extends View> Unit top_toTopOfParent(V $self, Integer margin)
-
top_toBottomOfParent
final <V extends View> Unit top_toBottomOfParent(V $self, Integer margin)
-
bottom_toTopOfParent
final <V extends View> Unit bottom_toTopOfParent(V $self, Integer margin)
-
bottom_toBottomOfParent
final <V extends View> Unit bottom_toBottomOfParent(V $self, Integer margin)
-
clearStart
final <V extends View> Unit clearStart(V $self)
-
clearBottom
final <V extends View> Unit clearBottom(V $self)
-
baseline_toBaselineOf
final <V extends View> Unit baseline_toBaselineOf(V $self, Integer targetId)
-
widthPercent
final <V extends View> Unit widthPercent(V $self, Float percent)
-
-
-
-