object MonadConfigButton
- Companion:
- class
Value members
Concrete methods
Factory to create a MonadConfigButton with a text-based input.
Factory to create a MonadConfigButton with a text-based input.
- Value parameters:
- configLength
- the length of the text input 
- eventFactory
- the factory that create the associated event from the string inserted by the user in the input 
- title
- the text to show in the button 
 
- Returns:
- the MonadConfigButton 
def numeric(title: String, length: Int, min: Int, max: Int, factory: String => Event): MonadConfigButton
Factory to create a MonadConfigButton with a numeric-based input.
Factory to create a MonadConfigButton with a numeric-based input.
- Value parameters:
- factory
- the factory that create the associated event from the string representation of the number inserted by the user in the input 
- length
- the length of the text input 
- max
- the maximum number that can be inserted by the user 
- min
- the minimum number that can be inserted by the user 
- title
- the text to show in the button 
 
- Returns:
- the MonadConfigButton