Class HelperReference
- java.lang.Object
-
- androidx.constraintlayout.core.state.ConstraintReference
-
- androidx.constraintlayout.core.state.HelperReference
-
- Direct Known Subclasses:
AlignHorizontallyReference,AlignVerticallyReference,BarrierReference,ChainReference,FlowReference
public class HelperReference extends ConstraintReference implements Facade
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class androidx.constraintlayout.core.state.ConstraintReference
ConstraintReference.ConstraintReferenceFactory
-
-
Field Summary
Fields Modifier and Type Field Description protected StatemHelperStateprotected java.util.ArrayList<java.lang.Object>mReferences-
Fields inherited from class androidx.constraintlayout.core.state.ConstraintReference
mBottomToBottom, mBottomToTop, mEndToEnd, mEndToStart, mHorizontalBias, mLeftToLeft, mLeftToRight, mMarginBottom, mMarginBottomGone, mMarginEnd, mMarginEndGone, mMarginLeft, mMarginLeftGone, mMarginRight, mMarginRightGone, mMarginStart, mMarginStartGone, mMarginTop, mMarginTopGone, mRightToLeft, mRightToRight, mStartToEnd, mStartToStart, mTopToBottom, mTopToTop, mVerticalBias
-
-
Constructor Summary
Constructors Constructor Description HelperReference(State state, State.Helper type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HelperReferenceadd(java.lang.Object... objects)voidapply()voidapplyBase()Allows the derived classes to invoke the apply method in the ConstraintReferenceConstraintWidgetgetConstraintWidget()HelperWidgetgetHelperWidget()State.HelpergetType()voidsetHelperWidget(HelperWidget helperWidget)-
Methods inherited from class androidx.constraintlayout.core.state.ConstraintReference
addCustomColor, addCustomFloat, alpha, applyWidgetConstraints, baseline, baselineToBaseline, baselineToBottom, baselineToTop, bias, bottom, bottomToBottom, bottomToTop, centerHorizontally, centerVertically, circularConstraint, clear, clearAll, clearHorizontal, clearVertical, createConstraintWidget, end, endToEnd, endToStart, getAlpha, getFacade, getHeight, getHorizontalChainStyle, getHorizontalChainWeight, getKey, getPivotX, getPivotY, getRotationX, getRotationY, getRotationZ, getScaleX, getScaleY, getTag, getTranslationX, getTranslationY, getTranslationZ, getVerticalChainStyle, getVerticalChainWeight, getView, getWidth, height, horizontalBias, left, leftToLeft, leftToRight, margin, margin, marginGone, marginGone, pivotX, pivotY, right, rightToLeft, rightToRight, rotationX, rotationY, rotationZ, scaleX, scaleY, setConstraintWidget, setFacade, setHeight, setHorizontalChainStyle, setHorizontalChainWeight, setKey, setTag, setVerticalChainStyle, setVerticalChainWeight, setView, setWidth, start, startToEnd, startToStart, top, topToBottom, topToTop, translationX, translationY, translationZ, validate, verticalBias, visibility, width
-
-
-
-
Field Detail
-
mHelperState
protected final State mHelperState
-
mReferences
protected java.util.ArrayList<java.lang.Object> mReferences
-
-
Constructor Detail
-
HelperReference
public HelperReference(State state, State.Helper type)
-
-
Method Detail
-
getType
public State.Helper getType()
-
add
public HelperReference add(java.lang.Object... objects)
-
setHelperWidget
public void setHelperWidget(HelperWidget helperWidget)
-
getHelperWidget
public HelperWidget getHelperWidget()
-
getConstraintWidget
public ConstraintWidget getConstraintWidget()
- Specified by:
getConstraintWidgetin interfaceFacade- Specified by:
getConstraintWidgetin interfaceReference- Overrides:
getConstraintWidgetin classConstraintReference
-
apply
public void apply()
-
applyBase
public void applyBase()
Allows the derived classes to invoke the apply method in the ConstraintReference
-
-