toggle menu
doodle
0.10.3
common
switch theme
search in API
themes
/
io.nacular.doodle.theme.basic
/
GenericTextEditOperation
Generic
Text
Edit
Operation
open
class
GenericTextEditOperation
<
T
,
V
:
View
,
Editable
>
(
focusManager
:
FocusManager
?
,
mapper
:
Encoder
<
T
,
String
>
,
view
:
V
,
value
:
T
,
current
:
View
)
:
EditOperation
<
T
>
(
source
)
Inheritors
SelectBoxTextEditOperation
TextEditOperation
SpinButtonTextEditOperation
Members
Constructors
Generic
Text
Edit
Operation
Link copied to clipboard
constructor
(
focusManager
:
FocusManager
?
,
mapper
:
Encoder
<
T
,
String
>
,
view
:
V
,
value
:
T
,
current
:
View
)
Properties
cancel
On
Focus
Lost
Link copied to clipboard
protected
open
val
cancelOnFocusLost
:
Boolean
=
true
select
All
Initially
Link copied to clipboard
protected
open
val
selectAllInitially
:
Boolean
=
true
text
Field
Link copied to clipboard
protected
val
textField
:
TextField
Functions
cancel
Link copied to clipboard
open
override
fun
cancel
(
)
complete
Link copied to clipboard
open
override
fun
complete
(
)
:
Result
<
T
>
invoke
Link copied to clipboard
open
operator override
fun
invoke
(
)
:
View