public class ColumnWeightData extends ColumnLayoutData
This class may be instantiated; it is not intended to be subclassed.
Modifier and Type | Field and Description |
---|---|
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.
|
resizable
Constructor and Description |
---|
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.
|
public static final int MINIMUM_WIDTH
public int minimumWidth
public int weight
public ColumnWeightData(int weight)
weight
- the weight of the columnpublic ColumnWeightData(int weight, int minimumWidth)
weight
- the weight of the columnminimumWidth
- the minimum width of the column in pixelspublic 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 fixedpublic 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
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.