public abstract class Chain extends Helper

Known direct subclasses

Summary

Nested types

public inner class Chain.Anchor
public enum Chain.Style

Constants

static final Map<Chain.StyleString>

Protected fields

ArrayList<Ref>

Public constructors

Chain(String name)

Public methods

Chain

Add a new reference

Chain

Add a new reference

Chain.Style
String

convert references to a String representation

void

Inherited Constants

From androidx.constraintlayout.core.dsl.Helper
static final Map<Constraint.SideString>
static final Map<Helper.TypeString>

Constants

styleMap

Added in 1.1.0
protected static final Map<Chain.StyleStringstyleMap

Protected fields

references

Added in 1.1.0
protected ArrayList<Refreferences

Public constructors

Chain

Added in 1.1.0
public Chain(String name)

Public methods

addReference

Added in 1.1.0
public Chain addReference(Ref ref)

Add a new reference

Parameters
Ref ref

reference

Returns
Chain

Chain

addReference

Added in 1.1.0
public Chain addReference(String ref)

Add a new reference

Parameters
String ref

reference in a String representation

Returns
Chain

Chain

getStyle

Added in 1.1.0
public Chain.Style getStyle()

referencesToString

Added in 1.1.0
public String referencesToString()

convert references to a String representation

Returns
String

a String representation of references

setStyle

Added in 1.1.0
public void setStyle(Chain.Style style)