|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.rim.device.api.ui.component.table.TemplateColumnProperties
public class TemplateColumnProperties
Container class of column properties.
| Field Summary | ||
|---|---|---|
static int |
PERCENTAGE_WIDTH
A style indicating that the column widths are specified as percentages of screen width. |
|
static int |
PIXEL_WIDTH
A style indicating that the column widths are specified in pixels. |
|
| Constructor Summary | ||
|---|---|---|
TemplateColumnProperties(int width)
Creates a column property with the specified width and the TemplateColumnProperties.PIXEL_WIDTH style. |
||
TemplateColumnProperties(int width,
int style)
Creates a column property with the specified width and style. |
||
| Method Summary | ||
|---|---|---|
int |
getWidth()
Retrieves the width of this column. |
|
int |
getWidthStyle()
Retrieves the width style of this column - one of TemplateColumnProperties.PIXEL_WIDTH
or TemplateColumnProperties.PERCENTAGE_WIDTH. |
|
void |
setWidth(int width)
Set the width of the column. |
|
void |
setWidthStyle(int width,
int style)
Set the width of the column and the style of the column. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int PIXEL_WIDTH
public static final int PERCENTAGE_WIDTH
| Constructor Detail |
|---|
public TemplateColumnProperties(int width)
TemplateColumnProperties.PIXEL_WIDTH style.
width - Preferred width of the column.
public TemplateColumnProperties(int width,
int style)
width - width of the column.style - One of TemplateColumnProperties.PIXEL_WIDTH or TemplateColumnProperties.PERCENTAGE_WIDTH.| Method Detail |
|---|
public int getWidth()
public int getWidthStyle()
TemplateColumnProperties.PIXEL_WIDTH
or TemplateColumnProperties.PERCENTAGE_WIDTH.
public void setWidth(int width)
width - the width of the column
public void setWidthStyle(int width,
int style)
width - the width of the columnstyle - One of TemplateColumnProperties.PIXEL_WIDTH
or TemplateColumnProperties.PERCENTAGE_WIDTH
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.