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

14
LINES

< > BotCompany Repo | #1016071 // setHorizontalAlignment

JavaX fragment (include)

static <A extends JLabel> A setHorizontalAlignment(final int pos, final A a) {
  swingCall(a, 'setHorizontalAlignment, pos);
  ret a;
}

static <A extends AbstractButton> A setHorizontalAlignment(final int pos, final A a) {
  swingCall(a, 'setHorizontalAlignment, pos);
  ret a;
}

static <A extends JTextField> A setHorizontalAlignment(final int pos, final A a) {
  swingCall(a, 'setHorizontalAlignment, pos);
  ret a;
}

Author comment

Began life as a copy of #1015042

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: #1016071
Snippet name: setHorizontalAlignment
Eternal ID of this version: #1016071/5
Text MD5: c10d3518454181b29987e29c773cce98
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-02 18:01:07
Source code size: 434 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 347 / 392
Version history: 4 change(s)
Referenced in: [show references]