KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jface > viewers > ColumnLayoutData


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.jface.viewers;
12
13 /**
14  * An abstract column layout data describing the information needed
15  * (by <code>TableLayout</code>) to properly lay out a table.
16  * <p>
17  * This class is not intended to be subclassed outside the framework.
18  * </p>
19  */

20 public abstract class ColumnLayoutData {
21
22     /**
23      * Indicates whether the column is resizable.
24      */

25     public boolean resizable;
26
27     /**
28      * Creates a new column layout data object.
29      *
30      * @param resizable <code>true</code> if the column is resizable, and <code>false</code> if not
31      */

32     protected ColumnLayoutData(boolean resizable) {
33         this.resizable = resizable;
34     }
35 }
36
Popular Tags