1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
package org.eclipse.swt.internal.cocoa;
public class NSTextTab extends NSObject {
public NSTextTab() {
super();
}
public NSTextTab(int id) {
super(id);
}
public int alignment() {
return OS.objc_msgSend(this.id, OS.sel_alignment);
}
public NSTextTab initWithTextAlignment(int alignment, float loc, NSDictionary options) {
int result = OS.objc_msgSend(this.id, OS.sel_initWithTextAlignment_1location_1options_1, alignment, loc, options != null ? options.id : 0);
return result != 0 ? this : null;
}
public NSTextTab initWithType(int type, float loc) {
int result = OS.objc_msgSend(this.id, OS.sel_initWithType_1location_1, type, loc);
return result != 0 ? this : null;
}
public float location() {
return (float)OS.objc_msgSend_fpret(this.id, OS.sel_location);
}
public NSDictionary options() {
int result = OS.objc_msgSend(this.id, OS.sel_options);
return result != 0 ? new NSDictionary(result) : null;
}
public int tabStopType() {
return OS.objc_msgSend(this.id, OS.sel_tabStopType);
}
}
|