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

20
LINES

< > BotCompany Repo | #1006946 // jcheckbox - partial synonym of jCheckBox

JavaX fragment (include)

static JCheckBox jcheckbox() {
  ret jCheckBox();
}

static JCheckBox jcheckbox(bool checked) {
  ret jCheckBox(checked);
}

static JCheckBox jcheckbox(S text, bool checked) {
  ret jCheckBox(text, checked);
}

static JCheckBox jcheckbox(S text) {
  ret jCheckBox(text);
}

// keep old state
static JCheckBox jcheckbox(JCheckBox cb, S text) {
  ret jcheckbox(text, isChecked(cb));
}

Author comment

Began life as a copy of #1005426

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1006946
Snippet name: jcheckbox - partial synonym of jCheckBox
Eternal ID of this version: #1006946/5
Text MD5: 4ca329a924ed04c82468a8e0431e59bc
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-05 23:29:31
Source code size: 401 bytes / 20 lines
Pitched / IR pitched: No / No
Views / Downloads: 388 / 440
Version history: 4 change(s)
Referenced in: [show references]