Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1021406 // dm_textFieldAndSubmit_q - execute in queue

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (10388L/72K).

// optPar S buttonText
static JComponent mapMethodLike dm_textFieldAndSubmit_q(S field, fS submitMethodName, O... _) {
  final DynModule m = dm_current_mandatory();
  ret dm_textFieldAndSubmit(field, r_dm_q(r { call(m, submitMethodName) }), _);
}

static JComponent dm_textFieldAndSubmit_q(S field, Runnable r, O... _) {
  final DynModule m = dm_current_mandatory();
  ret dm_textFieldAndSubmit(field, r_dm_q(r), _);
}

Author comment

Began life as a copy of #1021020

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1021406
Snippet name: dm_textFieldAndSubmit_q - execute in queue
Eternal ID of this version: #1021406/6
Text MD5: ba0e9d333d68a737e6729cc34ef16d0b
Transpilation MD5: bc661544498a5600e10b3fcac104c03d
Author: stefan
Category: javax / stefan's os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-28 12:24:55
Source code size: 427 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 299 / 410
Version history: 5 change(s)
Referenced in: [show references]