object transform
Functionality for transformations
- Alphabetic
- By Inheritance
- transform
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
-
def
apply(value: T, fireResult: Boolean = true): Option[T]
Applies transformations to the supplied value.
Applies transformations to the supplied value. The default operation of this method works exactly like calling
fireexcept you also get the benefit of receiving the transformation result.- value
the value to transform
- fireResult
whether the resulting value should be fired on the channel. Defaults to true.
- returns
the result of the transformations
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
attach(f: (TransformableValue[T]) ⇒ TransformResult[T], priority: Double = Listener.Priority.Normal): TransformingListener[T]
Attaches a simple functional transformation.
Attaches a simple functional transformation. Wraps
observeas a convenience method.- f
function that gets converted to a TransformingListener
- priority
the priority. Defaults to Normal.
- returns
the created TransformingListener
-
def
clear(): Unit
Clears all added transforming listeners from this TransfomableChannel.
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
detach(listener: TransformingListener[T]): Unit
Detaches a TransformingListener from this TransformableChannel.
Detaches a TransformingListener from this TransformableChannel.
- listener
the listener to detach
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
observe(listener: TransformingListener[T]): TransformingListener[T]
Adds a TransformingListener to this channel that will be invoked before any listeners are called.
Adds a TransformingListener to this channel that will be invoked before any listeners are called.
- listener
the listener to add
- returns
the listener supplied
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )