NumberInput

cue4s.Prompt.NumberInput
See theNumberInput companion object
case class NumberInput[N] extends Prompt[N]

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Prompt[N]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Constructors

def this

Concrete methods

override def framework(terminal: Terminal, output: Output, theme: Theme): PromptFramework[N]

Attributes

Definition Classes
def max(value: N): NumberInput[N]
def min(value: N): NumberInput[N]
def validate(f: N => Option[PromptError]): NumberInput[N]

Inherited methods

def map[Derived](f: N => Derived): Prompt[Derived]

Attributes

Inherited from:
Prompt
def mapValidated[Derived](f: N => Either[PromptError, Derived]): Prompt[Derived]

Attributes

Inherited from:
Prompt
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product