org.specs2.text

MappedColors

case class MappedColors(colors: Map[String, AnsiColor] = ...) extends ConsoleColors with Product with Serializable

This class takes colors from a map, using default colors if some values are missing

Self Type
MappedColors
Linear Supertypes
Serializable, Serializable, Product, Equals, ConsoleColors, Colors, AnsiColors, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MappedColors
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ConsoleColors
  7. Colors
  8. AnsiColors
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MappedColors(colors: Map[String, AnsiColor] = ...)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. lazy val all: Seq[AnsiColor]

    Definition Classes
    AnsiColors
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. lazy val black: AnsiColor

    Definition Classes
    AnsiColors
  9. lazy val blue: AnsiColor

    Definition Classes
    AnsiColors
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def color(s: String, color: AnsiColor, doIt: Boolean = true): String

    returns

    a colored string (if args.color == true) color markers are inserted at the beginning and end of each line so that newlines are preserved

    Definition Classes
    AnsiColors
  12. val colors: Map[String, AnsiColor]

  13. lazy val cyan: AnsiColor

    Definition Classes
    AnsiColors
  14. lazy val defaultColors: ConsoleColors

  15. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def error(s: String, doIt: Boolean = true): String

    Definition Classes
    ConsoleColorsColors
  17. lazy val errorColor: AnsiColor

    Definition Classes
    MappedColorsConsoleColorsColors
  18. def failure(s: String, doIt: Boolean = true): String

    Definition Classes
    ConsoleColorsColors
  19. lazy val failureColor: AnsiColor

    Definition Classes
    MappedColorsConsoleColorsColors
  20. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  22. lazy val green: AnsiColor

    Definition Classes
    AnsiColors
  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. lazy val magenta: AnsiColor

    Definition Classes
    AnsiColors
  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  28. def pending(s: String, doIt: Boolean = true): String

    Definition Classes
    ConsoleColorsColors
  29. lazy val pendingColor: AnsiColor

    Definition Classes
    MappedColorsConsoleColorsColors
  30. lazy val red: AnsiColor

    Definition Classes
    AnsiColors
  31. def removeColors(s: String): String

    Definition Classes
    ConsoleColorsColors
  32. def removeColors(s: String, doIt: Boolean = true): String

    returns

    a string with no color codes

    Definition Classes
    AnsiColors
  33. lazy val reset: AnsiColor

    Definition Classes
    AnsiColors
  34. def skipped(s: String, doIt: Boolean = true): String

    Definition Classes
    ConsoleColorsColors
  35. lazy val skippedColor: AnsiColor

    Definition Classes
    MappedColorsConsoleColorsColors
  36. def stats(s: String, doIt: Boolean = true): String

    Definition Classes
    ConsoleColorsColors
  37. lazy val statsColor: AnsiColor

    Definition Classes
    MappedColorsConsoleColorsColors
  38. def success(s: String, doIt: Boolean = true): String

    Definition Classes
    ConsoleColorsColors
  39. lazy val successColor: AnsiColor

    Definition Classes
    MappedColorsConsoleColorsColors
  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  41. def text(s: String, doIt: Boolean = true): String

    Definition Classes
    ConsoleColorsColors
  42. lazy val textColor: AnsiColor

    Definition Classes
    MappedColorsConsoleColorsColors
  43. def toString(): String

    Definition Classes
    ConsoleColorsAnsiColors → AnyRef → Any
  44. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. lazy val white: AnsiColor

    Definition Classes
    AnsiColors
  48. lazy val yellow: AnsiColor

    Definition Classes
    AnsiColors

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ConsoleColors

Inherited from Colors

Inherited from AnsiColors

Inherited from AnyRef

Inherited from Any

Ungrouped