|
|||||||||
| 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.TemplateRowProperties
public class TemplateRowProperties
Container class of row properties.
| Field Summary | ||
|---|---|---|
static int |
PERCENTAGE_HEIGHT
a style indicating that the row heights are specified as percentages of screen height. |
|
static int |
PIXEL_HEIGHT
a style indicating that the row heights are specified in pixels. |
|
| Constructor Summary | ||
|---|---|---|
TemplateRowProperties(int height)
Creates a row property with the specified height and the TemplateRowProperties.PIXEL_HEIGHT style. |
||
TemplateRowProperties(int height,
int style)
Creates a row property with the specified height and style. |
||
| Method Summary | ||
|---|---|---|
int |
getHeight()
Retrieves the height of this row. |
|
int |
getHeightStyle()
Retrieves the height style of this row - one of TemplateRowProperties.PIXEL_HEIGHT
or TemplateRowProperties.PERCENTAGE_HEIGHT. |
|
void |
setHeight(int height)
|
|
void |
setHeightStyle(int height,
int style)
|
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int PIXEL_HEIGHT
public static final int PERCENTAGE_HEIGHT
| Constructor Detail |
|---|
public TemplateRowProperties(int height)
TemplateRowProperties.PIXEL_HEIGHT style.
height - Preferred height of the row.
public TemplateRowProperties(int height,
int style)
height - Height of the row.style - One of TemplateRowProperties.PIXEL_HEIGHT
or TemplateRowProperties.PERCENTAGE_HEIGHT.| Method Detail |
|---|
public int getHeight()
public int getHeightStyle()
TemplateRowProperties.PIXEL_HEIGHT
or TemplateRowProperties.PERCENTAGE_HEIGHT.
public void setHeight(int height)
height - the desired row height
public void setHeightStyle(int height,
int style)
height - the desired row heightstyle - One of TemplateRowProperties.PIXEL_HEIGHT
or TemplateRowProperties.PERCENTAGE_HEIGHT.
|
|||||||||
| 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.