1
2
3
4 package org.sirius.server.win32.classes.controls;
5
6 import java.util.Arrays;
7 import java.util.List;
8
9 import javax.jws.WebService;
10
11 import org.sirius.server.win32.classes.Common;
12 import org.sirius.server.win32.constants.IHeaderConsts;
13
14 import com.sun.jna.Pointer;
15 import com.sun.jna.Structure;
16 import com.sun.jna.platform.win32.WinDef.HBITMAP;
17 import com.sun.jna.platform.win32.WinDef.LPARAM;
18
19
20
21
22
23 @WebService
24 public class Header extends Common implements IHeaderConsts {
25
26 public static class HD_ITEM extends Structure {
27 int mask;
28 int cxy;
29 char[] pszText;
30 HBITMAP hbm;
31 int cchTextMax;
32 int fmt;
33 LPARAM lParam;
34
35 int iImage;
36 int iOrder;
37 int type;
38 Pointer pvFilter;
39
40
41
42
43
44
45 @Override
46 protected List getFieldOrder() {
47 return Arrays.asList(new String[] { "mask", "cxy", "pszText",
48 "hbm", "cchTextMax", "fmt", "lParam",
49
50 "iImage", "iOrder", "type", "pvFilter" });
51 }
52 }
53
54
55
56
57 public Header() {
58
59 }
60
61 public int GetItem(final long hwndCtl, final int index) {
62
63 return 0;
64 }
65
66 public int GetItemCount(final long hwndCtl) {
67
68 return 0;
69 }
70
71 public int GetItemRect(final long hwndCtl, final int index) {
72
73 return 0;
74 }
75
76
77
78
79
80
81
82 }