|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnextapp.echo.AbstractComponent
nextapp.echo.Row
public class Row
A layout container component which arranges its children in a single row.
Field Summary | |
---|---|
static java.lang.String |
CELL_SPACING_CHANGED_PROPERTY
|
static java.lang.String |
CELL_WIDTH_CHANGED_PROPERTY
|
static java.lang.String |
HEIGHT_EXTENT_CHANGED_PROPERTY
|
static java.lang.String |
HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY
|
static java.lang.String |
STYLE_CELL_SPACING
A style constant for the Cell Spacing property. |
static java.lang.String |
STYLE_CELL_WIDTH
A style constant for the Cell Width property. |
static java.lang.String |
STYLE_HEIGHT_EXTENT
A style constant for the Height Extent property. |
static java.lang.String |
STYLE_HORIZONTAL_ALIGNMENT
A style constant for the Horizontal Alignment property. |
static java.lang.String |
STYLE_VERTICAL_ALIGNMENT
A style constant for the Vertical Alignment property. |
static java.lang.String |
STYLE_WIDTH_EXTENT
A style constant for the Width Extent property. |
static java.lang.String |
VERTICAL_ALIGNMENT_CHANGED_PROPERTY
|
static java.lang.String |
WIDTH_EXTENT_CHANGED_PROPERTY
|
Constructor Summary | |
---|---|
Row()
Creates a new Row . |
Method Summary | |
---|---|
void |
applyStyle(Style style)
Sets stylistic properties of this component based on a Style
object. |
Extent |
getCellSpacing()
Returns the spacing between cells. |
Extent |
getCellWidth()
Returns the width of a single cell of the container. |
Extent |
getHeightExtent()
Returns the overall height of the container. |
int |
getHorizontalAlignment()
Returns the horizontal alignment of the contents of cells of this container. |
int |
getVerticalAlignment()
Returns the vertical alignment of the contents of cells of this container. |
Extent |
getWidthExtent()
Returns the overall width of the container. |
void |
setCellSpacing(Extent newValue)
Sets the spacing between individual cells of the container. |
void |
setCellWidth(Extent newValue)
Sets the width of a single cell of the container. |
void |
setHeightExtent(Extent newValue)
Sets the overall height of the container. |
void |
setHorizontalAlignment(int newValue)
Sets the horizontal alignment of the contents of cells of this container. |
void |
setVerticalAlignment(int newValue)
Sets the vertical alignment of the contents of cells of this container. |
void |
setWidthExtent(Extent newValue)
Sets the overall width of the container. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String STYLE_CELL_SPACING
public static final java.lang.String STYLE_CELL_WIDTH
public static final java.lang.String STYLE_HORIZONTAL_ALIGNMENT
public static final java.lang.String STYLE_VERTICAL_ALIGNMENT
public static final java.lang.String STYLE_HEIGHT_EXTENT
public static final java.lang.String STYLE_WIDTH_EXTENT
public static final java.lang.String CELL_SPACING_CHANGED_PROPERTY
public static final java.lang.String CELL_WIDTH_CHANGED_PROPERTY
public static final java.lang.String HEIGHT_EXTENT_CHANGED_PROPERTY
public static final java.lang.String HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY
public static final java.lang.String VERTICAL_ALIGNMENT_CHANGED_PROPERTY
public static final java.lang.String WIDTH_EXTENT_CHANGED_PROPERTY
Constructor Detail |
---|
public Row()
Row
.
Method Detail |
---|
public void applyStyle(Style style)
Component
Style
object. The version of this method in Component
will set
foreground and background colors and the font from the style if they are
present. Components should override this method if they allow more
properties to be set from a style object, and should call
super.applyStyle() if necessary.
applyStyle
in interface Component
applyStyle
in class AbstractComponent
style
- The style object from which to retrieve properties for this
Component
.Component.applyStyle(Style)
public Extent getCellSpacing()
public Extent getCellWidth()
public Extent getHeightExtent()
public int getHorizontalAlignment()
public int getVerticalAlignment()
public Extent getWidthExtent()
public void setCellSpacing(Extent newValue)
newValue
- The new cell spacing.public void setCellWidth(Extent newValue)
newValue
- The new width of a single cell of the container.public void setHeightExtent(Extent newValue)
newValue
- The new overall height.public void setHorizontalAlignment(int newValue)
newValue
- The horizontal alignment of the contents of cells of this
container, one of the following values:
public void setVerticalAlignment(int newValue)
newValue
- The vertical alignment of the contents of cells of this
container, one of the following values:
public void setWidthExtent(Extent newValue)
newValue
- The new overall width.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |