| java.lang.Object org.eclipse.jface.viewers.ColumnLayoutData org.eclipse.jface.viewers.ColumnWeightData
ColumnWeightData | public class ColumnWeightData extends ColumnLayoutData (Code) | | 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 | |
final public static int | MINIMUM_WIDTH Default width of a column (in pixels). | public int | minimumWidth The column's minimum width in pixels. | public int | weight The column's weight. |
Constructor Summary | |
public | ColumnWeightData(int weight) Creates a resizable column width with the given weight and a default
minimum width. | public | ColumnWeightData(int weight, int minimumWidth) Creates a resizable column width with the given weight and minimum width. | public | ColumnWeightData(int weight, int minimumWidth, boolean resizable) Creates a column width with the given weight and minimum width. | public | ColumnWeightData(int weight, boolean resizable) Creates a column width with the given weight and a default
minimum width. |
MINIMUM_WIDTH | final public static int MINIMUM_WIDTH(Code) | | Default width of a column (in pixels).
|
minimumWidth | public int minimumWidth(Code) | | The column's minimum width in pixels.
|
weight | public int weight(Code) | | The column's weight.
|
ColumnWeightData | public ColumnWeightData(int weight)(Code) | | Creates a resizable column width with the given weight and a default
minimum width.
Parameters: weight - the weight of the column |
ColumnWeightData | public ColumnWeightData(int weight, int minimumWidth)(Code) | | Creates a resizable column width with the given weight and minimum width.
Parameters: weight - the weight of the column Parameters: minimumWidth - the minimum width of the column in pixels |
ColumnWeightData | public ColumnWeightData(int weight, int minimumWidth, boolean resizable)(Code) | | Creates a column width with the given weight and minimum width.
Parameters: weight - the weight of the column Parameters: minimumWidth - the minimum width of the column in pixels Parameters: resizable - true if the column is resizable,and false if size of the column is fixed |
ColumnWeightData | public ColumnWeightData(int weight, boolean resizable)(Code) | | Creates a column width with the given weight and a default
minimum width.
Parameters: weight - the weight of the column Parameters: resizable - true if the column is resizable,and false if size of the column is fixed |
Fields inherited from org.eclipse.jface.viewers.ColumnLayoutData | public boolean resizable(Code)(Java Doc)
|
|
|