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

14
LINES

< > BotCompany Repo | #1016071 // setHorizontalAlignment

JavaX fragment (include)

1  
static <A extends JLabel> A setHorizontalAlignment(final int pos, final A a) {
2  
  swingCall(a, 'setHorizontalAlignment, pos);
3  
  ret a;
4  
}
5  
6  
static <A extends AbstractButton> A setHorizontalAlignment(final int pos, final A a) {
7  
  swingCall(a, 'setHorizontalAlignment, pos);
8  
  ret a;
9  
}
10  
11  
static <A extends JTextField> A setHorizontalAlignment(final int pos, final A a) {
12  
  swingCall(a, 'setHorizontalAlignment, pos);
13  
  ret a;
14  
}

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: 435 / 479
Version history: 4 change(s)
Referenced in: [show references]