Commit | Line | Data |
---|---|---|
9ccc6d01 FC |
1 | /*******************************************************************************\r |
2 | * Copyright (c) 2010 Ericsson\r | |
02023181 | 3 | *\r |
9ccc6d01 FC |
4 | * All rights reserved. This program and the accompanying materials are\r |
5 | * made available under the terms of the Eclipse Public License v1.0 which\r | |
6 | * accompanies this distribution, and is available at\r | |
7 | * http://www.eclipse.org/legal/epl-v10.html\r | |
02023181 | 8 | *\r |
9ccc6d01 FC |
9 | * Contributors:\r |
10 | * Matthew Khouzam - Extracted from TmfEventsView\r | |
11 | ******************************************************************************/\r | |
12 | \r | |
fb5cad3d | 13 | package org.eclipse.linuxtools.tmf.ui.widgets.virtualtable;\r |
02023181 MK |
14 | /**\r |
15 | * ColumnData\r | |
16 | * @author Matthew Khouzam\r | |
17 | * @version 1.0\r | |
18 | *\r | |
19 | */\r | |
9ccc6d01 | 20 | public class ColumnData {\r |
02023181 MK |
21 | /**\r |
22 | * The title of the column\r | |
23 | */\r | |
9ccc6d01 | 24 | public final String header;\r |
02023181 MK |
25 | /**\r |
26 | * the width of the column in pixels\r | |
27 | */\r | |
9ccc6d01 | 28 | public final int width;\r |
02023181 MK |
29 | /**\r |
30 | * the alignment of the column\r | |
31 | */\r | |
9ccc6d01 FC |
32 | public final int alignment;\r |
33 | \r | |
02023181 MK |
34 | /**\r |
35 | * Constructor\r | |
36 | * @param h header (title)\r | |
37 | * @param w width\r | |
38 | * @param a alignment\r | |
39 | */\r | |
9ccc6d01 FC |
40 | public ColumnData(String h, int w, int a) {\r |
41 | header = h;\r | |
42 | width = w;\r | |
43 | alignment = a;\r | |
44 | }\r | |
45 | \r | |
46 | }\r |