|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jface.viewers.ColumnLayoutData
org.eclipse.jface.viewers.ColumnWeightData
public class ColumnWeightData
Describes the width of a table column in terms of a weight, a minimum width, and whether the column is resizable.
This class may be instantiated; it is not intended to be subclassed.
| Field Summary | |
|---|---|
static int |
MINIMUM_WIDTH
Default width of a column (in pixels). |
int |
minimumWidth
The column's minimum width in pixels. |
int |
weight
The column's weight. |
| Fields inherited from class org.eclipse.jface.viewers.ColumnLayoutData |
|---|
resizable |
| Constructor Summary | |
|---|---|
ColumnWeightData(int weight)
Creates a resizable column width with the given weight and a default minimum width. |
|
ColumnWeightData(int weight,
boolean resizable)
Creates a column width with the given weight and a default minimum width. |
|
ColumnWeightData(int weight,
int minimumWidth)
Creates a resizable column width with the given weight and minimum width. |
|
ColumnWeightData(int weight,
int minimumWidth,
boolean resizable)
Creates a column width with the given weight and minimum width. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int MINIMUM_WIDTH
public int minimumWidth
public int weight
| Constructor Detail |
|---|
public ColumnWeightData(int weight)
weight - the weight of the column
public ColumnWeightData(int weight,
int minimumWidth)
weight - the weight of the columnminimumWidth - the minimum width of the column in pixels
public ColumnWeightData(int weight,
int minimumWidth,
boolean resizable)
weight - the weight of the columnminimumWidth - the minimum width of the column in pixelsresizable - true if the column is resizable,
and false if size of the column is fixed
public ColumnWeightData(int weight,
boolean resizable)
weight - the weight of the columnresizable - true if the column is resizable,
and false if size of the column is fixed
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.