sealed abstract
class
AttributeValuePair extends Modifier
Type Members
-
-
class
WithFilter extends FilterMonadic[A, Repr]
Abstract Value Members
-
abstract
val
attribute: Attribute[_]
-
abstract
val
value: Value
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
-
-
def
++[B >: AttributeValuePair, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[AttributeValuePair], B, That]): That
-
def
++:[B >: AttributeValuePair, That](that: Traversable[B])(implicit bf: CanBuildFrom[Iterable[AttributeValuePair], B, That]): That
-
def
++:[B >: AttributeValuePair, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[AttributeValuePair], B, That]): That
-
-
-
final
def
==(arg0: Any): Boolean
-
def
addString(b: StringBuilder): StringBuilder
-
def
addString(b: StringBuilder, sep: String): StringBuilder
-
def
addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
-
def
aggregate[B](z: ⇒ B)(seqop: (B, AttributeValuePair) ⇒ B, combop: (B, B) ⇒ B): B
-
final
def
asInstanceOf[T0]: T0
-
def
attributes: Set[Attribute[_]]
-
def
canEqual(that: Any): Boolean
-
def
clone(): AnyRef
-
def
collect[B, That](pf: PartialFunction[AttributeValuePair, B])(implicit bf: CanBuildFrom[Iterable[AttributeValuePair], B, That]): That
-
def
collectFirst[B](pf: PartialFunction[AttributeValuePair, B]): Option[B]
-
def
companion: GenericCompanion[Iterable]
-
def
consume(input: List[Either[Inlineable, String]]): (Node, List[Either[Inlineable, String]])
-
def
copyToArray[B >: AttributeValuePair](xs: Array[B], start: Int, len: Int): Unit
-
def
copyToArray[B >: AttributeValuePair](xs: Array[B]): Unit
-
def
copyToArray[B >: AttributeValuePair](xs: Array[B], start: Int): Unit
-
def
copyToBuffer[B >: AttributeValuePair](dest: Buffer[B]): Unit
-
-
-
-
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(other: Any): Boolean
-
-
-
-
def
finalize(): Unit
-
-
def
flatMap[B, That](f: (AttributeValuePair) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[AttributeValuePair], B, That]): That
-
def
flatten[B](implicit asTraversable: (AttributeValuePair) ⇒ GenTraversableOnce[B]): Iterable[B]
-
def
fold[A1 >: AttributeValuePair](z: A1)(op: (A1, A1) ⇒ A1): A1
-
def
foldLeft[B](z: B)(op: (B, AttributeValuePair) ⇒ B): B
-
def
foldRight[B](z: B)(op: (AttributeValuePair, B) ⇒ B): B
-
-
-
def
genericBuilder[B]: Builder[B, Iterable[B]]
-
def
get[T](attribute: Attribute[T]): Option[T]
-
final
def
getClass(): Class[_]
-
def
getOrElse[T](attribute: Attribute[T], default: ⇒ T): T
-
-
def
grouped(size: Int): Iterator[Iterable[AttributeValuePair]]
-
def
hasDefiniteSize: Boolean
-
def
hashCode(): Int
-
-
-
-
-
def
isDefinedAt(attribute: Attribute[_]): Boolean
-
def
isEmpty: Boolean
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
isTraversableAgain: Boolean
-
-
-
-
def
map[B, That](f: (AttributeValuePair) ⇒ B)(implicit bf: CanBuildFrom[Iterable[AttributeValuePair], B, That]): That
-
-
-
-
-
def
mkString: String
-
def
mkString(sep: String): String
-
def
mkString(start: String, sep: String, end: String): String
-
-
final
def
ne(arg0: AnyRef): Boolean
-
-
def
nonEmpty: Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
-
-
-
def
product[B >: AttributeValuePair](implicit num: Numeric[B]): B
-
def
reduce[A1 >: AttributeValuePair](op: (A1, A1) ⇒ A1): A1
-
-
-
def
reduceOption[A1 >: AttributeValuePair](op: (A1, A1) ⇒ A1): Option[A1]
-
-
-
-
-
def
sameElements[B >: AttributeValuePair](that: GenIterable[B]): Boolean
-
def
scan[B >: AttributeValuePair, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Iterable[AttributeValuePair], B, That]): That
-
def
scanLeft[B, That](z: B)(op: (B, AttributeValuePair) ⇒ B)(implicit bf: CanBuildFrom[Iterable[AttributeValuePair], B, That]): That
-
def
scanRight[B, That](z: B)(op: (AttributeValuePair, B) ⇒ B)(implicit bf: CanBuildFrom[Iterable[AttributeValuePair], B, That]): That
-
-
def
size: Int
-
def
slice(from: Int, until: Int): Iterable[AttributeValuePair]
-
def
sliding(size: Int, step: Int): Iterator[Iterable[AttributeValuePair]]
-
def
sliding(size: Int): Iterator[Iterable[AttributeValuePair]]
-
-
-
def
stringPrefix: String
-
def
sum[B >: AttributeValuePair](implicit num: Numeric[B]): B
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
-
-
-
-
-
-
-
def
toArray[B >: AttributeValuePair](implicit arg0: ClassTag[B]): Array[B]
-
-
-
-
-
-
-
def
toMap[T, U](implicit ev: <:<[AttributeValuePair, (T, U)]): Map[T, U]
-
-
-
-
def
toString(): String
-
-
-
def
transpose[B](implicit asTraversable: (AttributeValuePair) ⇒ GenTraversableOnce[B]): Iterable[Iterable[B]]
-
def
unzip[A1, A2](implicit asPair: (AttributeValuePair) ⇒ (A1, A2)): (Iterable[A1], Iterable[A2])
-
def
unzip3[A1, A2, A3](implicit asTriple: (AttributeValuePair) ⇒ (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
-
-
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
-
def
wrap(input: List[Node]): Element
-
def
zip[A1 >: AttributeValuePair, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[Iterable[AttributeValuePair], (A1, B), That]): That
-
def
zipAll[B, A1 >: AttributeValuePair, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[Iterable[AttributeValuePair], (A1, B), That]): That
-
def
zipWithIndex[A1 >: AttributeValuePair, That](implicit bf: CanBuildFrom[Iterable[AttributeValuePair], (A1, Int), That]): That
Inherited from Equals
Inherited from HasNewBuilder[AttributeValuePair, Iterable[org.scaml.AttributeValuePair] @scala.annotation.unchecked.uncheckedVariance]
Inherited from AnyRef
Inherited from Any
A tuple of an Attribute and a value, ready to be applied to a node. A single Modifier extends the seq type Modifiers because it allows all operations like Modifiers.
val warning = TextColor > red
Where
TextColor
is anAttribute
(of typeColor
) andred
a predefined color (both are part ofscaml.attributes
.Inside a
Builder
it's now possible to do:text & warning | "Warning message"
or even shorter: