Instance Constructors
-
new
Effect
(label: String, value: Property[T], decorator: Decorator)
Value Members
-
def
!=
(arg0: AnyRef): Boolean
-
def
!=
(arg0: Any): Boolean
-
def
##
(): Int
-
def
==
(arg0: AnyRef): Boolean
-
def
==
(arg0: Any): Boolean
-
def
anError
: Error
-
def
apply
(): T
-
def
apply
(v: ⇒ T): Effect[T]
-
def
asInstanceOf
[T0]
: T0
-
def
canEqual
(arg0: Any): Boolean
-
def
clone
(): AnyRef
-
def
decorateLabel
(ns: Any): Any
-
def
decorateLabelWith
(f: (Any) ⇒ Any): Effect[T]
-
def
decorateValue
(ns: Any): Any
-
def
decorateValueWith
(f: (Any) ⇒ Any): Effect[T]
-
def
decorateWith
(f: (Any) ⇒ Any): Effect[T]
-
-
-
-
def
eq
(arg0: AnyRef): Boolean
-
def
equals
(a: Any): Boolean
-
def
execute
: Result
-
-
def
finalize
(): Unit
-
def
get
: T
-
def
getClass
(): java.lang.Class[_]
-
def
hashCode
(): Int
-
def
header
: Effect[T]
-
def
isInstanceOf
[T0]
: Boolean
-
val
label
: String
-
def
labelStyles
: String
-
def
ne
(arg0: AnyRef): Boolean
-
def
notify
(): Unit
-
def
notifyAll
(): Unit
-
-
def
productArity
: Int
-
def
productElement
(arg0: Int): Any
-
def
productIterator
: Iterator[Any]
-
def
productPrefix
: String
-
-
def
styleLabelWith
(s: (String, String)): Effect[T]
-
def
styleValueWith
(s: (String, String)): Effect[T]
-
def
styleWith
(s: (String, String)): Effect[T]
-
-
def
synchronized
[T0]
(arg0: ⇒ T0): T0
-
def
toString
(): String
-
-
-
def
valueOrResult
: Either[Result, T]
-
def
valueStyles
: String
-
def
wait
(): Unit
-
def
wait
(arg0: Long, arg1: Int): Unit
-
def
wait
(arg0: Long): Unit
-
Deprecated Value Members
-
def
productElements
: Iterator[Any]
Inherited from Serializable
Inherited from Serializable
Inherited from Product
Inherited from Equals
Inherited from AnyRef
Inherited from Any
An Effect is a property which is used to display names corresponding to side-effects.
If the side effect throws an exception, the Effect will display it alongside to the label. Otherwise only the label is displayed.
The apply method can be used to execute the Effect effect and possibly get a value out of it (but usually not displayed):
Effect(label, 1).apply() must_== 1The value is stored in a Property object so it will not be evaluated until explicitly queried.