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).

1  
// optPar S buttonText
2  
static JComponent mapMethodLike dm_textFieldAndSubmit_q(S field, fS submitMethodName, O... _) {
3  
  final DynModule m = dm_current_mandatory();
4  
  ret dm_textFieldAndSubmit(field, r_dm_q(r { call(m, submitMethodName) }), _);
5  
}
6  
7  
static JComponent dm_textFieldAndSubmit_q(S field, Runnable r, O... _) {
8  
  final DynModule m = dm_current_mandatory();
9  
  ret dm_textFieldAndSubmit(field, r_dm_q(r), _);
10  
}

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: 301 / 413
Version history: 5 change(s)
Referenced in: [show references]