OptionLine

org.nlogo.core.model.OptionLine
case class OptionLine[T](noneLine: String, someLineReader: WidgetLine[T]) extends WidgetLine[Option[T]]

Attributes

Source
WidgetReader.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait WidgetLine[Option[T]]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def format(x: Option[T]): String

Attributes

Source
WidgetReader.scala
def parse(line: String): Option[T]

Attributes

Source
WidgetReader.scala
def valid(v: String): Boolean

Attributes

Source
WidgetReader.scala

Inherited methods

def default: Option[Option[T]]

Attributes

Inherited from:
WidgetLine
Source
WidgetReader.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product