io.bidmachine.protobuf.rendering.Rendering.Phase.ViewComponent.Layout
Constraint
Companion object Constraint
final case class Constraint(sourceAnchor: Anchor = io.bidmachine.protobuf.rendering.Rendering.Phase.ViewComponent.Layout.Constraint.Anchor.ANCHOR_INVALID, targetAnchor: Anchor = io.bidmachine.protobuf.rendering.Rendering.Phase.ViewComponent.Layout.Constraint.Anchor.ANCHOR_INVALID, target: String = "", value: Double = 0.0, multiplier: Double = 0.0) extends GeneratedMessage with Updatable[Constraint] with Product with Serializable
- target
Any string value. Must match the name of the component from
adsorcontrolsNote: If it is necessary to bind to the screen, thentarget=system- value
The importance of constraint. Note: Negative values for X constants shift left, for Y constants shift up. For height and width, the value 0 - is the value of the full width and height of the screen
- multiplier
The value of the multiplier for a relative value. Relative value applies only to dimensions and constraints.
widthandheightusemultiplier, there are no other bindings
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- Constraint
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Constraint(sourceAnchor: Anchor = io.bidmachine.protobuf.rendering.Rendering.Phase.ViewComponent.Layout.Constraint.Anchor.ANCHOR_INVALID, targetAnchor: Anchor = io.bidmachine.protobuf.rendering.Rendering.Phase.ViewComponent.Layout.Constraint.Anchor.ANCHOR_INVALID, target: String = "", value: Double = 0.0, multiplier: Double = 0.0)
- target
Any string value. Must match the name of the component from
adsorcontrolsNote: If it is necessary to bind to the screen, thentarget=system- value
The importance of constraint. Note: Negative values for X constants shift left, for Y constants shift up. For height and width, the value 0 - is the value of the full width and height of the screen
- multiplier
The value of the multiplier for a relative value. Relative value applies only to dimensions and constraints.
widthandheightusemultiplier, there are no other bindings
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def companion: Constraint.type
- Definition Classes
- Constraint → GeneratedMessage
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- Constraint → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- Constraint → GeneratedMessage
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val multiplier: Double
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def serializedSize: Int
- Definition Classes
- Constraint → GeneratedMessage
- val sourceAnchor: Anchor
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val target: String
- val targetAnchor: Anchor
- final def toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
- final def toByteString: ByteString
- Definition Classes
- GeneratedMessage
- final def toPMessage: PMessage
- Definition Classes
- GeneratedMessage
- def toProtoString: String
- Definition Classes
- Constraint → GeneratedMessage
- def update(ms: (Lens[Constraint, Constraint]) => Mutation[Constraint]*): Constraint
- Definition Classes
- Updatable
- val value: Double
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withMultiplier(__v: Double): Constraint
- def withSourceAnchor(__v: Anchor): Constraint
- def withTarget(__v: String): Constraint
- def withTargetAnchor(__v: Anchor): Constraint
- def withValue(__v: Double): Constraint
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- Constraint → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)