NextApp Echo3
v3.0.b4

nextapp.echo.app
Class Row

java.lang.Object
  extended by nextapp.echo.app.Component
      extended by nextapp.echo.app.Row
All Implemented Interfaces:
java.io.Serializable, RenderIdSupport

public class Row
extends Component

A layout container which renders its content in a single horizontal row of cells. May have zero or more child components. Does not support Pane components as children.

Child LayoutData: Children of this component may provide layout information using the nextapp.echo.app.layout.RowLayoutData layout data object.

See Also:
RowLayoutData, Serialized Form

Field Summary
static java.lang.String PROPERTY_ALIGNMENT
           
static java.lang.String PROPERTY_BORDER
           
static java.lang.String PROPERTY_CELL_SPACING
           
static java.lang.String PROPERTY_INSETS
           
 
Fields inherited from class nextapp.echo.app.Component
CHILD_VISIBLE_CHANGED_PROPERTY, CHILDREN_CHANGED_PROPERTY, ENABLED_CHANGED_PROPERTY, FOCUS_TRAVERSAL_INDEX_CHANGED_PROPERTY, FOCUS_TRAVERSAL_PARTICIPANT_CHANGED_PROPERTY, LAYOUT_DIRECTION_CHANGED_PROPERTY, LOCALE_CHANGED_PROPERTY, PROPERTY_BACKGROUND, PROPERTY_FONT, PROPERTY_FOREGROUND, PROPERTY_LAYOUT_DATA, STYLE_CHANGED_PROPERTY, STYLE_NAME_CHANGED_PROPERTY, VISIBLE_CHANGED_PROPERTY
 
Constructor Summary
Row()
          Creates a new Row.
 
Method Summary
 Alignment getAlignment()
          Returns the alignment of the row's content.
 Border getBorder()
          Returns the Border that encloses the entire Row.
 Extent getCellSpacing()
          Returns the spacing between individual cells of the Row.
 Insets getInsets()
          Returns the inset between the border and cells of the Row.
 void setAlignment(Alignment newValue)
          Sets the alignment of the row's content.
 void setBorder(Border newValue)
          Sets the Border that encloses the entire Row.
 void setCellSpacing(Extent newValue)
          Sets the spacing between individual cells of the Row.
 void setInsets(Insets newValue)
          Sets the inset between the border and cells of the Row.
 
Methods inherited from class nextapp.echo.app.Component
add, add, addPropertyChangeListener, addPropertyChangeListener, dispose, firePropertyChange, get, getApplicationInstance, getBackground, getComponent, getComponent, getComponentCount, getComponents, getEventListenerList, getFocusTraversalIndex, getFont, getForeground, getId, getIndex, getLayoutData, getLayoutDirection, getLocale, getLocalStyle, getParent, getRenderId, getRenderIndexedProperty, getRenderIndexedProperty, getRenderLocale, getRenderProperty, getRenderProperty, getStyle, getStyleName, getVisibleComponent, getVisibleComponentCount, getVisibleComponents, hasEventListenerList, indexOf, init, isAncestorOf, isEnabled, isFocusTraversalParticipant, isRegistered, isRenderEnabled, isRenderVisible, isValidChild, isValidParent, isVisible, processInput, remove, remove, removeAll, removePropertyChangeListener, removePropertyChangeListener, set, setBackground, setComponents, setEnabled, setFocusTraversalIndex, setFocusTraversalParticipant, setFont, setForeground, setId, setIndex, setLayoutData, setLayoutDirection, setLocale, setRenderId, setStyle, setStyleName, setVisible, validate, verifyInput, visibleIndexOf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_ALIGNMENT

public static final java.lang.String PROPERTY_ALIGNMENT
See Also:
Constant Field Values

PROPERTY_BORDER

public static final java.lang.String PROPERTY_BORDER
See Also:
Constant Field Values

PROPERTY_CELL_SPACING

public static final java.lang.String PROPERTY_CELL_SPACING
See Also:
Constant Field Values

PROPERTY_INSETS

public static final java.lang.String PROPERTY_INSETS
See Also:
Constant Field Values
Constructor Detail

Row

public Row()
Creates a new Row.

Method Detail

getAlignment

public Alignment getAlignment()
Returns the alignment of the row's content. Only horizontal alignments are supported.

Returns:
the alignment

getBorder

public Border getBorder()
Returns the Border that encloses the entire Row.

Returns:
the border

getCellSpacing

public Extent getCellSpacing()
Returns the spacing between individual cells of the Row. This property only supports Extents with fixed (i.e., not percent) units.

Returns:
the cell spacing

getInsets

public Insets getInsets()
Returns the inset between the border and cells of the Row.

Returns:
the inset

setAlignment

public void setAlignment(Alignment newValue)
Sets the alignment of the row's content. Only horizontal alignments are supported.

Parameters:
newValue - the new alignment

setBorder

public void setBorder(Border newValue)
Sets the Border that encloses the entire Row.

Parameters:
newValue - the new border

setCellSpacing

public void setCellSpacing(Extent newValue)
Sets the spacing between individual cells of the Row. This property only supports Extents with fixed (i.e., not percent) units.

Parameters:
newValue - the new spacing

setInsets

public void setInsets(Insets newValue)
Sets the inset between the border and cells of the Row.

Parameters:
newValue - the new inset

NextApp Echo3
v3.0.b4