Class HelperReference
- java.lang.Object
-
- androidx.constraintlayout.core.state.ConstraintReference
-
- androidx.constraintlayout.core.state.HelperReference
-
- Direct Known Subclasses:
AlignHorizontallyReference,AlignVerticallyReference,BarrierReference,ChainReference
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 java.util.ArrayList<java.lang.Object>mReferencesprotected StatemState-
Fields inherited from class androidx.constraintlayout.core.state.ConstraintReference
mBottomToBottom, mBottomToTop, mEndToEnd, mEndToStart, mLeftToLeft, mLeftToRight, mMarginBottom, mMarginBottomGone, mMarginEnd, mMarginEndGone, mMarginLeft, mMarginLeftGone, mMarginRight, mMarginRightGone, mMarginStart, mMarginStartGone, mMarginTop, mMarginTopGone, mRightToLeft, mRightToRight, mStartToEnd, mStartToStart, mTopToBottom, mTopToTop
-
-
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()ConstraintWidgetgetConstraintWidget()HelperWidgetgetHelperWidget()State.HelpergetType()voidsetHelperWidget(HelperWidget helperWidget)-
Methods inherited from class androidx.constraintlayout.core.state.ConstraintReference
addCustomColor, addCustomFloat, alpha, baseline, baselineToBaseline, baselineToBottom, baselineToTop, bias, bottom, bottomToBottom, bottomToTop, centerHorizontally, centerVertically, circularConstraint, clear, 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
-
mState
protected final State mState
-
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
-
-