org.specs.util.Property

class Property

case class Property[T](val init : T)

 extends Product


This class represent properties which can be updated and retrieved using customized getter and setter functions


Companion: Property

Source: Property.scala(7)

Direct Known Subclasses

Prop,

 Constructors

def this(init : T)

 Fields

productArity override def productArity Int
productPrefix override def productPrefix String

 Methods

!= final def !=(arg0 : Object) Boolean AnyRef
!= final def !=(arg0 : Any) Boolean Any
== final def ==(arg0 : Any) Boolean Any
== final def ==(arg0 : Object) Boolean AnyRef
apply def apply(newValue : T) Property[T]
apply def apply
[details]
return
- s a value using the getter function
T
asInstanceOf final def asInstanceOf[T0] T0 Any
clone protected def clone Object AnyRef
eq final def eq(arg0 : Object) Boolean AnyRef
equals override def equals(arg0 : Any) Boolean
finalize protected def finalize Unit AnyRef
getClass final def getClass Class[Object] AnyRef
hashCode override def hashCode Int
isInstanceOf final def isInstanceOf[T0] Boolean Any
ne final def ne(arg0 : Object) Boolean AnyRef
notify final def notify Unit AnyRef
notifyAll final def notifyAll Unit AnyRef
onGet def onGet(newGetter : (T) => T)
sets a new getter function
Property[T]
onSet def onSet(newSetter : (T) => T)
sets a new setter function
Property[T]
onToString def onToString(newToStringer : (T) => String)
sets a new display function
Property[T]
productElement override def productElement(arg0 : Int) Any
synchronized final def synchronized[T0](arg0 : T0) T0 AnyRef
toString override def toString
[details]
return
- s the string value using the stringer function
String
update def update(newValue : T)
updates the value using the setter function
Property[T]
wait final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
wait final def wait(arg0 : Long) Unit AnyRef
wait final def wait Unit AnyRef
Copyright (c) 2007-2008. All Rights Reserved.