object ViewComponent extends GeneratedMessageCompanion[ViewComponent]
- Alphabetic
- By Inheritance
- ViewComponent
- GeneratedMessageCompanion
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final case class Appearance(fontStyle: String = "", visible: Boolean = false, opacity: Double = 0.0, outlined: Boolean = false, strokeWidth: Double = 0.0, strokeColor: String = "", shadowColor: String = "", backgroundColor: String = "", clickable: Boolean = false, padding: String = "", fontSize: Double = 0.0, textAlignment: String = "", textLineSpacing: Double = 0.0, textNumberOfLines: Int = 0, cornerRadius: Double = 0.0, animations: Seq[AdaptiveAnimation] = _root_.scala.Seq.empty, background: Option[Background] = _root_.scala.None, fillColor: String = "") extends GeneratedMessage with Updatable[Appearance] with Product with Serializable
- fontStyle
normal/bold/italic/bold_italic
- visible
Item visibility
- opacity
Element transparency, 0..1
- outlined
Determine if a view should draw a border around self
- strokeWidth
The width of the outline width @default 1.5
- strokeColor
View primary color @default #000000
- shadowColor
View shadow color @default #000000
- backgroundColor
View backgroung color @default #000000 repaced by background = 17
- clickable
Enable/Disable view touch
- padding
(LTRB - Left, Top, Right, Bottom) component padding @default 0,0,0,0
- fontSize
font size @default 14
- textAlignment
center, left, right @default center
- textLineSpacing
text spacing 0 - system value @default 0
- textNumberOfLines
number of lines 0 - system value @default 0
- cornerRadius
corner radius @default 0
- animations
component animation configuration
- background
background for component
- fillColor
background hex color for drawable elements
- Annotations
- @SerialVersionUID()
- final case class CustomParamsEntry(key: String = "", value: String = "") extends GeneratedMessage with Updatable[CustomParamsEntry] with Product with Serializable
- Annotations
- @SerialVersionUID()
- final case class Layout(constraints: Seq[Constraint] = _root_.scala.Seq.empty) extends GeneratedMessage with Updatable[Layout] with Product with Serializable
- Annotations
- @SerialVersionUID()
- final case class Measurer(name: String = "", parameters: Map[String, String] = _root_.scala.collection.immutable.Map.empty) extends GeneratedMessage with Updatable[Measurer] with Product with Serializable
- name
The name of the Measurer, which will determine which Measurer should work
- parameters
Additional parameters for an object
- Annotations
- @SerialVersionUID()
- final case class ScriptConfig(scriptId: String = "", source: String = "", injectTiming: InjectTiming = io.bidmachine.protobuf.rendering.Rendering.Phase.ViewComponent.ScriptConfig.InjectTiming.INJECT_TIMING_AT_DOCUMENT_START, forMainFrameOnly: Boolean = false, messageHandler: Option[String] = _root_.scala.None, priority: Int = 0) extends GeneratedMessage with Updatable[ScriptConfig] with Product with Serializable
- Annotations
- @SerialVersionUID()
- type ValueType = ViewComponent
- Definition Classes
- GeneratedMessageCompanion
- implicit class ViewComponentLens[UpperPB] extends ObjectLens[UpperPB, ViewComponent]
- sealed abstract class ViewComponentType extends GeneratedEnum
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 val APPEARANCE_FIELD_NUMBER: Int(7)
- final val CUSTOM_PARAMS_FIELD_NUMBER: Int(5)
- final val FEATURES_FIELD_NUMBER: Int(9)
- final val LAYOUT_FIELD_NUMBER: Int(6)
- final val MEASURERS_FIELD_NUMBER: Int(8)
- final val NAME_FIELD_NUMBER: Int(1)
- final val PLACEHOLDER_FIELD_NUMBER: Int(4)
- final val RESOURCE_FIELD_NUMBER: Int(10)
- final val SCRIPTS_FIELD_NUMBER: Int(12)
- final val SOURCE_FIELD_NUMBER: Int(3)
- final val TEXT_FIELD_NUMBER: Int(11)
- final val TYPE_FIELD_NUMBER: Int(2)
- 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()
- lazy val defaultInstance: ViewComponent
- Definition Classes
- ViewComponent → GeneratedMessageCompanion
- def enumCompanionForField(field: FieldDescriptor): GeneratedEnumCompanion[_]
- Definition Classes
- GeneratedMessageCompanion
- def enumCompanionForFieldNumber(__fieldNumber: Int): GeneratedEnumCompanion[_]
- Definition Classes
- ViewComponent → GeneratedMessageCompanion
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fromAscii(s: String): ViewComponent
- Definition Classes
- GeneratedMessageCompanion
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def javaDescriptor: Descriptor
- Definition Classes
- ViewComponent → GeneratedMessageCompanion
- def merge(a: ViewComponent, input: CodedInputStream): ViewComponent
- Definition Classes
- GeneratedMessageCompanion
- implicit def messageCompanion: GeneratedMessageCompanion[ViewComponent]
- def messageCompanionForField(field: FieldDescriptor): GeneratedMessageCompanion[_]
- Definition Classes
- GeneratedMessageCompanion
- def messageCompanionForFieldNumber(__number: Int): GeneratedMessageCompanion[_]
- Definition Classes
- ViewComponent → GeneratedMessageCompanion
- implicit def messageReads: Reads[ViewComponent]
- Definition Classes
- ViewComponent → GeneratedMessageCompanion
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- lazy val nestedMessagesCompanions: Seq[GeneratedMessageCompanion[_ <: GeneratedMessage]]
- Definition Classes
- ViewComponent → GeneratedMessageCompanion
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def of(name: String, type: ViewComponentType, source: String, placeholder: String, customParams: Map[String, String], layout: Option[Layout], appearance: Option[Appearance], measurers: Seq[Measurer], features: Seq[RenderingFeature], resource: Option[Resource], text: String, scripts: Seq[ScriptConfig]): ViewComponent
- def parseDelimitedFrom(input: InputStream): Option[ViewComponent]
- Definition Classes
- GeneratedMessageCompanion
- def parseDelimitedFrom(input: CodedInputStream): Option[ViewComponent]
- Definition Classes
- GeneratedMessageCompanion
- def parseFrom(_input__: CodedInputStream): ViewComponent
- Definition Classes
- ViewComponent → GeneratedMessageCompanion
- def parseFrom(s: Array[Byte]): ViewComponent
- Definition Classes
- GeneratedMessageCompanion
- def parseFrom(input: InputStream): ViewComponent
- Definition Classes
- GeneratedMessageCompanion
- def scalaDescriptor: Descriptor
- Definition Classes
- ViewComponent → GeneratedMessageCompanion
- def streamFromDelimitedInput(input: InputStream): Stream[ViewComponent]
- Definition Classes
- GeneratedMessageCompanion
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toByteArray(a: ViewComponent): Array[Byte]
- Definition Classes
- GeneratedMessageCompanion
- def toString(): String
- Definition Classes
- AnyRef → Any
- def validate(s: Array[Byte]): Try[ViewComponent]
- Definition Classes
- GeneratedMessageCompanion
- def validateAscii(s: String): Either[TextFormatError, ViewComponent]
- Definition Classes
- GeneratedMessageCompanion
- 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])
- object Appearance extends GeneratedMessageCompanion[Appearance]
- object CustomParamsEntry extends GeneratedMessageCompanion[CustomParamsEntry]
- object Layout extends GeneratedMessageCompanion[Layout]
- object Measurer extends GeneratedMessageCompanion[Measurer]
- object ScriptConfig extends GeneratedMessageCompanion[ScriptConfig]
- object ViewComponentType extends GeneratedEnumCompanion[ViewComponentType]
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)